3D Rad - Free 3D game maker - Forum

This forum is now archived!

This forum is locked, and is a read-only version. A new community-ran forum can be found at classdev.net

News:

The 3DRad community can be found at classdev.net.

Pages: [1]

Author Topic: 2D Fighting/Platformer... where to start? Methods?  (Read 846 times)

11Dogs

« on: December 18, 2011, 05:32:33 PM »
If you need to think along the lines of Mario... go right ahead. I want it to generally have that type of feel to it. I'm just going to list out the things I'm aiming for/need help with, and all help on getting started will be appreciated.

Here we go! (Whoops... Mario kickin' in  ;D)

- General structure... sprites? Rigid-Body with skinmesh and sprite texture?
- Camera... need it straight across from my playing field. You know... 2D like.
- Walking and Jumping... I have three 'walk positions'. How would I cycle through them only while moving, ect? (I'll be working on jump sprites)
- Say my character had a gun... and I have 3 angles for it. Would something like changing sprite based on mouse location on screen work good?


I'm sure your probably thinking I want the game made for me, of which is not true. I'm just looking for a shove in the right direction (make it gentle  :D)


Edit: I believe I have a method to do all the things listed... feels good to think of things on my own!  ;D
« Last Edit: December 19, 2011, 06:09:54 PM by 11Dogs »
« Reply #1 on: December 18, 2011, 06:13:07 PM »
Quote
How would I cycle through them only while moving, ect?

Add two EventOnInputs(for whatever button used to move)
link both to the animation
on one, do "reset on release"
on the other, check "execute opposite action on release", so:
when, in the game, you press A (example), you move animately,
but, when you release it, it stops cycling, and is back to standing position!

11Dogs

« Reply #2 on: December 18, 2011, 09:10:10 PM »
Sounds good! Thanks for the tip.


I forgot something big though... collisions! That should be easy, right?  ;D

Edit: I believe I have found a solution that should work very well for sprite collisions.
« Last Edit: December 19, 2011, 06:08:11 PM by 11Dogs »
« Reply #3 on: December 20, 2011, 04:49:38 PM »


Edit: I believe I have found a solution that should work very well for sprite collisions.

Do Share....

11Dogs

« Reply #4 on: December 20, 2011, 06:59:42 PM »
Do Share....

I plan on testing it out first. Wouldn't want to make a fool of myself.   ;D
Pages: [1]