Author Topic: Half Life 2: On-Calc  (Read 76531 times)

0 Members and 2 Guests are viewing this topic.

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: Half Life 2
« Reply #105 on: March 26, 2010, 06:19:38 pm »
Ya, I've noticed that too. I just always thought it was the emulator trying to mimic the screen bounds.
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Half Life 2
« Reply #106 on: March 26, 2010, 07:16:52 pm »
strange x.x

Oh well, at least we still can see how the game looks like so far ^^


Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Half Life 2
« Reply #107 on: March 26, 2010, 07:28:52 pm »
Yeah and its looking very nice!  I'm really eager to see the movement code you have come up with ^^
« Last Edit: October 12, 2010, 03:47:44 am by Builderboy »

SirCmpwn

  • Guest
Re: Half Life 2
« Reply #108 on: March 26, 2010, 07:34:43 pm »
Thanks!  I'm not giving away code just yet, but I will show off the actual movement as soon as I get more objects implemented (that way it will be more impressive ;))

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Half Life 2
« Reply #109 on: March 26, 2010, 07:37:25 pm »
Mmmm yeah i didnt mean code, i just wanted some eye candy :P Cant wait!

SirCmpwn

  • Guest
Re: Half Life 2
« Reply #110 on: March 26, 2010, 07:41:02 pm »
As soon as I get the gravity gun implemented I promise I'll post a screenie.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Half Life 2: On-Calc
« Reply #111 on: April 01, 2010, 07:14:32 pm »
* DJ Omnimaga wonders if you had any luck with this, hoping for more updates soon?

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: Half Life 2: On-Calc
« Reply #112 on: April 02, 2010, 11:34:38 am »
This is a neat project!  * ZTrumpet hopes for more updates too... ;D

Offline Raylin

  • Godslayer
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1392
  • Rating: +83/-25
  • I am a certifiable squirrel ninja.
    • View Profile
    • Ray M. Perry
Re: Half Life 2: On-Calc
« Reply #113 on: April 02, 2010, 01:31:09 pm »
*Raylin thinks about making Garry's Mod
Bug me about my book.

Sarah: TI-83 Plus Silver Edition [OS 1.19]
Cassie: TI-86 [OS 1.XX]
Elizabeth: TI-81 [OS 1.XX]
Jehuty: TI-83 Plus Silver Edition [OS 1.19]
Tesla: CASIO Prizm







SirCmpwn

  • Guest
Re: Half Life 2: On-Calc
« Reply #114 on: April 02, 2010, 04:45:29 pm »
I'm thinking about having support for mods ;D
Also, I have been working hard on it, it took me about 30 minutes of hard thought to figure out how to do collision testing with compressed maps.
You can expect more updates and screenies in the next few days.
Also, within the next week, you can expect the game engine to be released for use in your own games, featuring:
*Compressed Map Support
*Full Physics, including Buoyancy
*A Graphics Engine
*More stuff that I can't think of atm.

EDIT.
  ^ Who's been modifying my posts!  Raylin?!?! ;)
« Last Edit: April 03, 2010, 11:19:19 am by SirCmpwn »

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Half Life 2: On-Calc
« Reply #115 on: April 02, 2010, 06:21:14 pm »
Wow, boayancy?  Thats going to be epic ^^ Its like an entire physics library :D

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Half Life 2: On-Calc
« Reply #116 on: April 02, 2010, 06:23:10 pm »
nice, I like these features, especially compression. I can't wait for screenshots!

SirCmpwn

  • Guest
Re: Half Life 2: On-Calc
« Reply #117 on: April 02, 2010, 07:06:44 pm »
Compression uses BuilderBoy's method, which compresses tilemaps down to half their size, only with some added features.  For example, in order to keep with compressed tilemaps and to still support a large number of tiles, I have a tile set system.  For example, you shouldn't need more than 16 tiles per screen, but you may want more than that in general, so I have it set up so that each map can use a different set of 16 tiles, if you so wished.  His method is also quite complex, I added several helper methods that take care of common tasks that involve complex math.
The engine also uses 64 times the precision (also stolen from BuilderBoy, sorry), so that movement can be signifigantly smoother.  It uses inertia based movement, where you can request to move an object.  What this means is that the physics engine works its magic in the background, updating objects smoothly with all the calculations, and you can request a change.  This lets the physics engine remain streamlined in the background and gives the programmer the ability to change a little bit, while letting the engine apply the change how it sees fit.  That way, you (as a programmer) don't have to worry about the differences in friction and such between different situations.
The graphics and the physics are closely tied together.  The engine uses a list of objects that it is keeping track of, and the graphics engine reads from this list and uses it to draw objects as well.
Another amazing thing about the game engine is its efficiency.  The game engine actually runs way too fast, and it is forced to pace itself.  The good thing is, however, that it does so dynamically to avoid getting too slow.  What this means is that if it starts to get stressed, and has a lot of object being updated at the same time, it reduces the amount it inhibits itself to allow the updates to be seamless, regardless of the number of on-screen objects.  It also speeds itself up on older hardware, such as the 83+ vs the 84+.

Also, I promise you this project exists, I just don't want to post half-baked screenshots just yet.  As you can tell from the above, there is some pretty complex stuff going on, I want to get it all nailed down before I show off before.  To be completely honest, I didn't really want to show the last screenshot for this very reason, I just saw a lot thirst for more from the community.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Half Life 2: On-Calc
« Reply #118 on: April 02, 2010, 07:31:36 pm »
wow nice, I really am curious about trying it at one point. :O

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: Half Life 2: On-Calc
« Reply #119 on: April 02, 2010, 07:46:13 pm »
Wow, this sounds awesome!  Good luck on it! ;D