The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.16 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thomas, 2008-06-18, "Character version 2.0"
Thomas Offline
Frictional Games

Posts: 2,634
Threads: 184
Joined: Apr 2006
Reputation: 68
#1
Thomas, 2008-06-18, "Character version 2.0"

I have spent the last 2 weeks working on a new character controller for HPL2 and finally the bulk of the code is complete.

The reason for making a new character controller is that the one in the old engine (which is used in Penumbra) is very bad at interacting with other physical bodies. I used a quite different approach for the new character controller and have made it a lot better at handling interactions.

At the end of this post is a video of the character controller in action. Some high lights are:
  • The character can interact both ways with physical object, ie both get and be pushed. The best example of this is the seesaw where the character can both push it down and, if enough weight is applied on the other side, get pushed up. This is something that no other games do, except for games that uses non-exact physical objects as "characters" (for example: Marble Madness clones, car games, etc).
  • The controller can walk up slopes with out sliding down and will "stick" to them when walk down.
  • The character can climb stairs and the speed at which a stair is climbed is settable (notice how the character is on ground during climbing in upper left corner).
  • When standing on objects the player will slide along even if they rotate. Also notice the support for inertial frames, when the character jumps straight up while riding the box, the character stays put according to the position of the box (except for a tiny bit caused by wind resistance).
  • The character can get attached to physical bodies which makes a good base for grabbing onto ledges, swinging in ropes, etc.

Now for the video:
http://www.youtube.com/watch?v=S26HphuXioU
06-18-2008, 05:04 PM
Find


Messages In This Thread
Thomas, 2008-06-18, "Character version 2.0" - by Thomas - 06-18-2008, 05:04 PM



Users browsing this thread: 1 Guest(s)