The Daily Click ::. Forums ::. Klik Coding Help ::. Help with movement engine
 

Post Reply  Post Oekaki 
 

Posted By Message

CUBE



Registered
  04/12/2004
Points
  283
21st September, 2006 at 07:13:19 -

Well most of my engine is working, but as you can see if you download it, when you hold down on the light-grey square, it moves down with you. But for some reason a 1 pixel gap appears between you and the platform as it is moving, and I have no idea why.

Any help would appreciated.

BTW it's a TGF file but it's okay if you save as MMF, I can open them as well. Just no MMF2 or TGF2 files.

http://h1.ripway.com/CUBEONLINE/enghelp.zip

Image Edited by the Author.

 
n/a

AndyUK

Mascot Maniac

Registered
  01/08/2002
Points
  14586

Game of the Week WinnerSecond GOTW AwardHas Donated, Thank You!VIP Member
21st September, 2006 at 19:13:19 -

Ok i'll take a look.
Although i would want to rewrite it, i wont.

Infact maybe i'll do both so you can compare which one is better, i'm bored you see.



(what i did)

i deactivated all the groups to find out which one was the problem, it was 'gravity'

Then i added (whilst active object 1 is not overlapping active object 4) to the first event in that group and hey presto! it works!

and i don't know why. lol.

i can't be bothered to make my own version.

Image Edited by the Author.

 
.

CUBE



Registered
  04/12/2004
Points
  283
22nd September, 2006 at 01:59:33 -

Thank you It works awesome like.

 
n/a

AndyUK

Mascot Maniac

Registered
  01/08/2002
Points
  14586

Game of the Week WinnerSecond GOTW AwardHas Donated, Thank You!VIP Member
22nd September, 2006 at 19:48:58 -

We can discuss payment some other time.

 
.
   

Post Reply



 



Advertisement

Worth A Click