Mallet Masher! Version 0.0.0.1, and a cool way to jump!

Talk about making games.

Was the coding trick helpful for you?

Yes!
0
No votes
No!
0
No votes
What does "coding" mean?
0
No votes
 
Total votes : 0

Mallet Masher! Version 0.0.0.1, and a cool way to jump!

Postby NUTINC » Thu Aug 02, 2007 9:24 pm

HI! I'm working on my next game for the pc, Mallet Masher! Please try the demo out. Be warned though. This is VERRY SIMPLE! I don't have any of the real parts of the game (It will be an RPG when it's done). But I did find an interesting way to make the game be somewhat 3-d (be warned this is confusing , only people that are fully aware of GE's semi-inner workings should try this. And I suck at describing it)
Make a player actor,

make a second actor that is the player actor's "feet" (it is invisible, the player follows it, but isn't a parent/child thing.),

make a platform,

Make the feet able to jump, but don't have it be flying,use canJump or whatever variable name u like, Make the jump button do yvelocity=whatever , make a timer that only works once and have it change the yvelocity to what you want next when you want the velocity to change, repeat as you like, make sure the last timer in the jump destroys all the ones before it and itself and changes canJump back to able to jump

create a collison event between the feet and the platform so that the character can only move onto the platform when he is in the air (canJump = 0 or something),

Code: Select all
If(canJump == 0)
{
     physical response here
}


WALLA DONE! The only known problem with this is that if you press enough buttons while colliding with the platform you can go through it. (if you can fix this, YAY!)

Oh and on the demo, arrow keys to move, space to jump.
Attachments
Mallet Masher V 0.0.0.1.zip
(755.91 KiB) Downloaded 86 times
To those of you out there, I am not dead. I am a ghost! There is a difference!
Currently Working on: Parts, A self-assembling adventure
User avatar
NUTINC
 
Posts: 98
Joined: Fri Feb 09, 2007 1:06 am
Location: Lost in the deep dark recesses of my mind, wondering why the exit sign leads to brick wall
Score: 6 Give a positive score

Return to Game Development

Who is online

Users browsing this forum: No registered users and 1 guest

cron