Moving Platforms in TGEA 1.8.1
by Nicolai Dutka · in Torque Game Engine Advanced · 04/27/2009 (12:32 pm) · 27 replies
I was doing some searches on how to do the whole 'moving platform' thing, and all I could find was old posts dating back around 2005 that stated it was all being implemented in TGE 1.4...
In college, I worked with TGE 1.5.2 and moving platforms still was not working...
I am wondering if we have a working solution in TGEA 1.8.1?
My understanding of a 'moving platform':
1. Any static shape can be a 'mover' and its 'path' is determine in the editor by setting path nodes.
2. The shape will move along its path and the speed can be adjusted as well as wait times/stops at each node.
3. The player can jump/walk onto the 'mover' at ANY point and "ride" the mover, and jump off at any point.
If this is already working, can someone direct me to a walkthrough/guide or just tell me how? I can't find anything about it in my Documentation...
In college, I worked with TGE 1.5.2 and moving platforms still was not working...
I am wondering if we have a working solution in TGEA 1.8.1?
My understanding of a 'moving platform':
1. Any static shape can be a 'mover' and its 'path' is determine in the editor by setting path nodes.
2. The shape will move along its path and the speed can be adjusted as well as wait times/stops at each node.
3. The player can jump/walk onto the 'mover' at ANY point and "ride" the mover, and jump off at any point.
If this is already working, can someone direct me to a walkthrough/guide or just tell me how? I can't find anything about it in my Documentation...
#22
Anyway, here is a video of the 2 issues:
nicolaidutka.archongames.com/storage/Misc/TW-MoverBugs.avi
Problem 1: Player does not 'attach' to the mover, he must keep running with it... Note how the mover moves out from under the player dropping him to the ground.
Problem 2: The player has collision while pushing into a mover, but as soon as the mover 'pushes into him', it goes right through him.
05/01/2009 (10:05 am)
There are 2 Bugs that need to be addressed. I will post them here, and once fixed, I will post an official resource with all due credits to all participants.Anyway, here is a video of the 2 issues:
nicolaidutka.archongames.com/storage/Misc/TW-MoverBugs.avi
Problem 1: Player does not 'attach' to the mover, he must keep running with it... Note how the mover moves out from under the player dropping him to the ground.
Problem 2: The player has collision while pushing into a mover, but as soon as the mover 'pushes into him', it goes right through him.
#23
problem 1 is the little one - childing do not work.
Potential problem is the player interface.
That can be fixed easily and i'll take care soon.
The big problem is that engine crashed in runtime after 5-15 minutes,so i need to use the debug compilation.
That problem is never seen on 1.0.3 and 1.7.1 !!!
05/02/2009 (8:06 am)
Yesterday i had no time to test enough the code.problem 1 is the little one - childing do not work.
Potential problem is the player interface.
That can be fixed easily and i'll take care soon.
The big problem is that engine crashed in runtime after 5-15 minutes,so i need to use the debug compilation.
That problem is never seen on 1.0.3 and 1.7.1 !!!
#24
1. Fixed childing
2. Corrected Render Transform.
What is wrong:
1. Object still works only client side.
2. Termination still presents.
I'll send to Nicolai the new files later.
I wish there were more users,working (and testing) on it.
05/05/2009 (3:24 am)
What is fixed:1. Fixed childing
2. Corrected Render Transform.
What is wrong:
1. Object still works only client side.
2. Termination still presents.
I'll send to Nicolai the new files later.
I wish there were more users,working (and testing) on it.
#25
Tested and working!
I can ride the platforms! :D
I'll get a resource ready very soon and post a link to it here as soon as it's ready.
Thanks a TON Picasso! My hero! :P
05/05/2009 (1:11 pm)
I received the files, added, compiled...Tested and working!
I can ride the platforms! :D
I'll get a resource ready very soon and post a link to it here as soon as it's ready.
Thanks a TON Picasso! My hero! :P
#26
www.garagegames.com/community/resources/view/17149
05/05/2009 (2:05 pm)
Resource has been created:www.garagegames.com/community/resources/view/17149
#27
05/05/2009 (5:50 pm)
Yes, this is excellent. Thanks to Picasso for working this out and to Nicolai for putting the resource together.
Torque Owner Ivan Mandzhukov
Liman3D
I used an unsafe cast from array to string in preload,anyway i compiled the engine with no warnings.
That's a possible issue and could be corrected in many ways.
Also use in TS:
platformID.followPath("MyPathName");And jump over the platform,that already moves across the markers.