Gamestudio Links
Zorro Links
Newest Posts
MT5 bridge not working on MT5 v. 5 build 4160
by EternallyCurious. 04/25/24 20:49
Data from CSV not parsed correctly
by EternallyCurious. 04/25/24 10:20
Trading Journey
by howardR. 04/24/24 20:04
M1 Oversampling
by Petra. 04/24/24 10:34
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Scripts not found
by juergen_wue. 04/20/24 18:51
zorro 64bit command line support
by 7th_zorro. 04/20/24 10:06
StartWeek not working as it should
by jcl. 04/20/24 08:38
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (EternallyCurious, RealSerious3D), 779 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Mega_Rod, EternallyCurious, howardR, 11honza11, ccorrea
19048 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
Movement template #449784
03/31/15 13:27
03/31/15 13:27
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline OP
Senior Expert
3run  Offline OP
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
I've been working on this movement template recently, and wanted to hear some feedbacks.

It currently supports:
Quote:
-crawling (C or CTRL to toggle)
-jumping (SPACE)
-ladder climbing
-different movement on slopes (slow down when moving up)
-handle movement on moving platforms (they are moving on path)
-different footstep sounds of surfaces (wood, metal, dirt, concrete)
-some oldschool camera bob effect
-state machine for each movement state (sub state machine for walking/climbing)

Here are some screens (for those who too lazy to give it a try):
Quote:


And here you can download the first version (no open source, sorry, it's for my own project):
Download link

Maybe you will find some bugs, or you may have some suggestions, I'll be glad to hear your opinion!

Best regards


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: Movement template [Re: 3run] #449788
03/31/15 14:11
03/31/15 14:11
Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
Kartoffel Offline
Expert
Kartoffel  Offline
Expert

Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
really nice but I'd leave the camera's roll at 0.. feels weird if the screen is rotating all the time.

Edit: another thing I noticed: when jumping on the moving platform you stop. in your example this doesn't make a huge difference but once you use faster platforms you will notice it very clearly.

uhm, may I ask 2 questions..
are you using a physix character controller, and do you have any advice on movement across stairs?

Last edited by Kartoffel; 03/31/15 14:17.

POTATO-MAN saves the day! - Random
Re: Movement template [Re: Kartoffel] #449789
03/31/15 14:15
03/31/15 14:15
Joined: Mar 2012
Posts: 927
cyberspace
W
Wjbender Offline
User
Wjbender  Offline
User
W

Joined: Mar 2012
Posts: 927
cyberspace
I like it , my first dislike was the camera rotation/tilt,pan not being smooth ,second dislike is the buttons for up / down need to swap depending on the tilt angle when on the ladders.

sorry I meant the direction and not the buttons

Last edited by Wjbender; 03/31/15 14:33.

Compulsive compiler
Re: Movement template [Re: Wjbender] #449790
03/31/15 14:40
03/31/15 14:40
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline OP
Senior Expert
3run  Offline OP
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
Originally Posted By: Kartoffel
really nice but I'd leave the camera's roll at 0.. feels weird if the screen is rotating all the time.
That's just a matter of taste I guess, but to be honest, after you said that I don't like it any more, so I'll probably remove it grin

Originally Posted By: Kartoffel
Edit: another thing I noticed: when jumping on the moving platform you stop. in your example this doesn't make a huge difference but once you use faster platforms you will notice it very clearly.
No, you actually don't stop at all, that's just landing 'slow down' mechanism.
When player lands (after jumping, or after flying downwards specific amount of time) he does three tings:
Quote:
- plays landing sound
- creates landing effect on camera
- makes player move slower (depending on the time you flew in the air)
The amount of 'slow down' factor probably needs to be tweaked, but try to jump down from the high, you'll notice this effect too. Plus particularly about those platforms, allowing player to jump on it from a high place is a type of things, that I would like to avoid when making a real game with this template.

Originally Posted By: Kartoffel
uhm, may I ask 2 questions..
are you using a physix character controller, and do you have any advice on movement across stairs?
No, I don't use physX CCT (I hate native one.. it's not suitable for advanced, good looking movement code in my opinion).
For movement on stairs, I would recommend to keep a little distance between player and the surface bellow, plus to increase MIN.Z, so the lower part of the bbox doesn't hit each step, but moves over it.



Originally Posted By: Wjbender
I like it , my first dislike was the camera rotation/tilt,pan not being smooth ,second dislike is the buttons for up / down need to swap depending on the tilt angle when on the ladders.

sorry I meant the direction and not the buttons
I've done that swap thing in the past, but it can't simply depend on the tilt angle. You'll have some strange situations, f.e. imagine player moving up on the ladder and he looks almost completely to the sky, then as he comes closer to the upper end of the ladder, he starts lower TILT angle (moving down), and cause player is higher than the end position of the ladder, at the end when he will look at the surface where he will walk on, TILT angle will be about -20 or -30 decrease, so that will make him move down.. You can tweak those numbers (degrees for swaping the keys), but to my taste it wasn't looking good enough.. Maybe I'll give it another shot laugh


Best regards!


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: Movement template [Re: 3run] #449801
03/31/15 17:29
03/31/15 17:29
Joined: Jan 2006
Posts: 968
EpsiloN Offline
User
EpsiloN  Offline
User

Joined: Jan 2006
Posts: 968
I'm currently building a Multiplayer movement system, which I will release for the newbies with a full explanation and tutorial. (Its for my own project, but will serve as a tut also).

If you like, we can combine the two and release a template for shooters.

Its currently for Top-Down and without prediction, but I will make several versions with 3-rd (Z) Axis movement, camera tilt and crude prediction, so people will have a (hopefully simple) base to build on top of.

After that its just a matter of send_skill and on_client for all other features that a game has laugh


Extensive Multiplayer tutorial:
http://mesetts.com/index.php?page=201
Re: Movement template [Re: EpsiloN] #449802
03/31/15 17:33
03/31/15 17:33
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline OP
Senior Expert
3run  Offline OP
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
Originally Posted By: EpsiloN

If you like, we can combine the two and release a template for shooters.
That's a great offer, EpsiloN! laugh I'll PM you.

Greets!


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: Movement template [Re: 3run] #449805
03/31/15 18:17
03/31/15 18:17
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
I like it a lot! Probably the best 1st person movement code I've seen in acknex thus far. The ladder feels pretty smooth and natural now, as well as all the other modes.

Now you only have to find a game surrounding it. wink


"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends
Re: Movement template [Re: Superku] #449806
03/31/15 18:19
03/31/15 18:19
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline OP
Senior Expert
3run  Offline OP
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
Originally Posted By: Superku
I like it a lot! Probably the best 1st person movement code I've seen in acknex thus far. The ladder feels pretty smooth and natural now, as well as all the other modes.

Now you only have to find a game surrounding it. wink
Thank you very much, Superku! laugh I'm really happy to hear that you like it!

Best regards!


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: Movement template [Re: 3run] #449808
03/31/15 19:08
03/31/15 19:08
Joined: Jul 2004
Posts: 785
Serbia
Iglarion Offline
User
Iglarion  Offline
User

Joined: Jul 2004
Posts: 785
Serbia
Originally Posted By: Superku
I like it a lot! Probably the best 1st person movement code I've seen in acknex thus far.
I just wanted to say this. Smooth, fluid,... simply, simply, perfect! Great work 3run - really, nothing more to add.


IGRAVISION Page - www.igravision.com
RPG project - The Battle For Forgol 92.75%
Re: Movement template [Re: Iglarion] #449809
03/31/15 19:19
03/31/15 19:19
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline OP
Senior Expert
3run  Offline OP
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
Originally Posted By: Iglarion
Originally Posted By: Superku
I like it a lot! Probably the best 1st person movement code I've seen in acknex thus far.
I just wanted to say this. Smooth, fluid,... simply, simply, perfect! Great work 3run - really, nothing more to add.
Guys, I'm really happy to hear this! Thank you so much for your kind words!


My best regards for all of you! laugh


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Page 1 of 2 1 2

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1