OKAY OKAY so ive been making games for ages but never posted any. This is because i never finish them! i never finish them because my programming isnt too good. Its a shame because i like to show off my graphics, ive asked before but program given didnt work!
can somebody PLEASE tell me how:
a) to make a standard platform engine in TGF
b) to make a standard Spring Engine for a platform game in TGF
i asked a while ago but the example given to me made the character jump once off the spring and then the spring didnt work again after one go?
I'll start you off on some very basic platforming if you like..
Make a character and 2 detectors - left and right.
Always - Set position of detectors to character
Right detector isn't overlapping backdrop
+ Repeat while right key is pressed - Set X position of character to (X Position) + 1
Left detector isn't overlapping backdrop
+ Repeat while Left key is pressed - Set X position of character to (X Position) - 1
Then obviously you need to sort out jumping and falling with head and floor detectors. Search AndyUK on "Search DC" and he has some platform engines/tutorials that helped me a lot
thanks flava, phizzy that mario engine was realy good but kinda baffled me! isnt there anything thats kinda nota mario engine, just platform movements? thanks, DD
DaVince This fool just HAD to have a custom rating
Registered 04/09/2004
Points 7998
19th February, 2005 at 12:01:23 -
Hmmm... when I looked at a custom platform movement in the beginning I wouldn't understand it very well, that's why I used standard platform movement. Just practice a lot and try some challenges. When you're good enough you'll eventually understand how to create a custom platform movement, and after that, harder.
Also, whip out your Games Factory disc and check out the example game called "Zeb", it has a fantastic homemade platform movement which uses no extensions. The part making him land on the ground properly with a helluva lot of sensors is a little confusing though, but if using the fastloop object that part isn't needed.
There are tutorials for making platform engines on the CD too, although, similiar to with Zeb, making the character land on the ground properly without landing 'in' the ground can be a pain without the fastloop object.