The Daily Click ::. Forums ::. Klik Coding Help ::. Basic programming advice needed please!
 

Post Reply  Post Oekaki 
 

Posted By Message

Digital Dream software



Registered
  24/04/2003
Points
  278
19th February, 2005 at 09:46:19 -

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?

Thanks guys, helps appreciated!

D.D

 
*DiGiTaL DrEaMs*

Digital Dream software



Registered
  24/04/2003
Points
  278
19th February, 2005 at 10:26:58 -

thanks phizzy, downloaded it, ill take a look!

 
*DiGiTaL DrEaMs*

Flava



Registered
  30/07/2002
Points
  684

Has Donated, Thank You!Code MonkeyVIP MemberThe Cake is a LieThe Spinster
19th February, 2005 at 10:47:57 -

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

Image Edited by the Author.

 
This is a signature. Have this one on me.

Digital Dream software



Registered
  24/04/2003
Points
  278
19th February, 2005 at 11:14:57 -

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

 
*DiGiTaL DrEaMs*

Johan Hargne (Wartagon)

Lover Of Circys

Registered
  15/06/2003
Points
  1289

Game of the Week WinnerCROBASOFTVIP MemberPS3 OwnerWii OwnerMushroom
19th February, 2005 at 11:24:45 -



 
Music Composer.
http://johan.hargne.se

Crobasoft
www.crobasoft.com

DaVince

This fool just HAD to have a custom rating

Registered
  04/09/2004
Points
  7998

Game of the Week WinnerClickzine StaffHas Donated, Thank You!Cardboard BoxDos Rules!
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.

 
Old member (~2004-2007).

Digital Dream software



Registered
  24/04/2003
Points
  278
19th February, 2005 at 12:17:39 -

thanks guys, ive downloads a whole loada tutorials and im gonna start practising my programming!

 
*DiGiTaL DrEaMs*

DeadmanDines

Best Article Writer

Registered
  27/04/2006
Points
  4758
19th February, 2005 at 12:21:32 -

Post some examples of your graphics. It may be that a coder will see them and like them - then you won't need to learn, you can just team up with him.

 
191 / 9999 * 7 + 191 * 7

DistantJ [FZ Games]



Registered
  02/08/2004
Points
  855
21st February, 2005 at 18:33:18 -

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.

 
http://www.fzgames.com
   

Post Reply



 



Advertisement

Worth A Click