Posted By
Message
Hideki
Registered 06/08/2003
Points 21
30th October, 2003 at 17:11:37 -
i need help with my custom platform movement, the problem i have is, the character does not land perfectly on the platform, here is the file
http://earth.prohosting.com/~aedous/cgi-bin/little%20fighter.cca
n/a
Hideki
Registered 06/08/2003
Points 21
30th October, 2003 at 17:15:25 -
oh yeh and the charcter is ripped and the the title and the backdrop, im gonna change when i get this CPM figured out, and i know i could use the extension i just wanna figure this out properly(basicallly i love coding)
n/a
AndyUK Mascot ManiacRegistered 01/08/2002
Points 14586
30th October, 2003 at 17:43:29 -
i cant open it is it a mmf cca?
.
Hideki
Registered 06/08/2003
Points 21
30th October, 2003 at 18:00:51 -
yeh it is, sorry.lemme see if i can convert it to TGF.
n/a
Hideki
Registered 06/08/2003
Points 21
30th October, 2003 at 18:24:42 -
here we are, its not really coded that much on this one but it has the same problem and principle(graphics ripped0 change later.
http://earth.prohosting.com/~aedous/cgi-bin/testing%20custom%20movement.gam
n/a
Pete Nattress Cheesy Bits img src/uploads/sccheesegifRegistered 23/09/2002
Points 4811
31st October, 2003 at 07:21:29 -
you can remedy this with a fastloop. if you have the events:
+ Bottom detector is overlapping backdrop
- Start loop 1 for 100 loops
+ Loop trigger #1
- Set pos y of character to pos y of character - 1
+ Loop Trigger #1
+ Bottom detector is NOT overlapping backdrop
- Stop Loop 1
then it should work. you can get the fastloop extension for TGF from www.cellosoft.com .
www.thenatflap.co.uk
Adam (Wolverhampton Studios)
Registered 14/10/2003
Points 497
31st October, 2003 at 08:48:34 -
fastloop is cool
Wolverhampton Studios
Daniel[Crazy_Productions] Possibly Insane
Registered 29/12/2002
Points 2505
3rd November, 2003 at 11:29:15 -
thee is a faster way and thats emulating a while loop and move the player up 1 pixel each loop when its overlaping a backdrop
Beware of life ...so far noone have survived it.......
renneF
Registered 02/08/2003
Points 672
3rd November, 2003 at 13:06:39 -
hehe i do that, but the other fastloop way is better
Pete Nattress Cheesy Bits img src/uploads/sccheesegifRegistered 23/09/2002
Points 4811
3rd November, 2003 at 16:27:06 -
yeah, daniel, but if you do it that way then you can sometimes see the character sliding back up, which doesn't look too spiffy.
www.thenatflap.co.uk
Assault Andy Administrator
I make other people create vaporwareRegistered 29/07/2002
Points 5686
3rd November, 2003 at 17:30:22 -
Ya, fastloop is great. You can make a really good platform slope engine using fastloop.
Creator of Faerie Solitaire:
http://www.create-games.com/download.asp?id=7792
Also creator of ZDay20 and Dungeon Dash.
http://www.Jigxor.com
http://twitter.com/JigxorAndy
ripthor
Registered 02/07/2003
Points 184
4th November, 2003 at 12:04:07 -
Like everybody said, use fastloops to make sure the character doesn't sink in the floor. But you should also avoid at all cost using the timer, since it's very unreliable depending of the user's PC speed. Instead, use counters. (always add 1 to jump timer, for instance)
n/a