Game Development Community

dev|Pro Game Development Curriculum

Player movement rewrite...

by Kevin Mitchell · 07/23/2011 (3:23 pm) · 10 comments

images2.layoutsparks.com/1/216028/shooting-star-light-fire.jpg
Shooting to the stars...

So I've been exploring the player object. It's very thorough that's for sure. I'm trying to see if i can piece together a reasonable Active battle and Melee features. It all leaves me to wonder if I could make my own movement scheme. I would defiantly learn the player class. Plus the parts I would make could port from build to build since its my own elements and components. ... My next challenges are always harder... But in life i guess nothing should be easy. WOOT WOOT! To the stars people!



#1
07/24/2011 (6:18 pm)
Keep us posted Kevin very interested to see your process from concept to finish.
#2
07/25/2011 (3:13 am)
Interesting... This is an area I'd very much like to see covered by one of the extensive tutorials mentioned on the GG Update blog the other day! Extending the stock player animation system is an important part of any game idea that goes beyond the basic FPS...
#3
07/25/2011 (4:15 am)
I got it working for some features. I have my 360 movement working. Also I changed the swimming algorithm to keep the player on the water level and dive when jump is pressed in water. When letting go of dive the player will slowly raise to the surface.

My next thing to add is jump/double jump. I'm making it so movements are confined to its own switch state machine to give more control over what happens in each movement section.

When I'm done it's going to have:

enum MV_TYPES {
	MV_FALLING=0, // Default stat if not making contact with anything then the player falls until hitting the surface
	MV_SWIMMING, //Swim / Dive
	MV_GROUND, 
	MV_JUMPING, // Jump / double jump
	MV_ENVSPECIAL, // Special action that affects the environment
	MV_ATTACK, // In battle Attacks / Combos
	MV_CAST, // Inbattle Specials / Spell
	MV_GUARD, // 
	MV_CLIMB, // 
	MV_HANG, // Hanging from ledges or side of buildings
	MV_SPRINT, // Charged movement based on energy. 
	MV_HOVERBOARD, // Custom Movement using a internal vehicle 
	MV_MAX
}MV_TYPES;

I've already learned a lot. Can't wait to finish it. I wont disclose all of this in a tutorial because some things will be in my RPG Pack. Got a few more features to add. But its looking awesome.

Can't wait to do the battle system. Its going to be active battle similar to Kingdom Hearts mixed with Star Ocean with the ability to switch to other AI controlled characters on the fly.
#4
07/25/2011 (4:20 am)
The most I'' probably cover is the adjustments made to change the movement system. And the implementation of MV_Fall through MV_EvnSpecial and MV_CLIMB, GUARD, and Simple Attack.

#5
07/27/2011 (10:28 am)
Very interesting, keep us posted on this.
#6
07/27/2011 (6:21 pm)
Now that the grass thing is fixed, and soon a vacation from work I should be able to fix a lot.
#7
07/28/2011 (7:15 pm)
1�<a href=" http://www.euro-decoration.com/">abstract oil painting</a> is one of the best and easiest ways to enter into the world of
<a href="http://www.euro-decoration.com/p-Animal-Oil-Painting-108603/">animal oil painting</a> for a budding artist. The novice artist does not have to paint anything complicated in abstract art. As a matter of fact, abstract art is a subjective art style. In an abstract<a href=" http://www.euro-decoration.com/p-Flower-Oil-Painting-108606/">flower oil painting</a> , even if a viewer does not exactly understand the message conveyed by the artist, he could still form his own ideas and feelings regarding the artwork. That is the real beauty of
<a href=" http://www.euro-decoration.com/p-Building-Oil-Painting-109543/">Building Oil Painting</a>.

2�Choosing amongst a <a href="http://www.nb-mount.com/">LCD tv wall mounts </a> and a Television stand is fully dependent on your own demands. Tv stands are very good for those folks who may possibly not have a wall that is sturdy plenty of to assist the pounds of their Tv set, or of course for these who don't like the look of wall mounted TVs. Even so, <a href=" http://www.nb-mount.com/p-LED-wall-mount-105895/Ultra-slim-wall-mount-105898/">ultra slim wall mount</a> are a great way to increase room in smaller rooms and also make certain that your treasured <a href="http://www.hisupplier.com/a-lcd-tv-wall-mounts/">LCD TV wall mounts</a> is out of the way of young children and pets.





#8
07/29/2011 (5:09 pm)
how can i delete spam?
#9
07/30/2011 (11:05 am)
Think a GG employee will have to do it man. Along with hopefully baning that account, first time I've ever seen real spam on GG.
#10
11/05/2011 (9:30 pm)
I totally get what Wendy was saying.after looking at line after line after line of code and my tv falls off the wall.i finally give up and come to the private resources.i saw a code resource in here a few years ago that had the wow style mouse and keyboard controls.been looking for it for days now.also i think the old arcane fx and the new arcane fx have the code built in to there templates.but what you have done looks awesome. i tried till i turned blue in the face.hehe. good luck and hope you and your game go far and stay the course.