I'm able to use the hittest function for collision detection like in the exemple thet you gave me. 1. I have used a hitTest function which make the bike return of 3 px in the opposite way it touched the ground, but in make the bike keep jumping, because the bike y position is set to +5. So when it touch the ground it make a little jump and re fell in the ground. Is there any way to stop the y position of the bike when it touch the ground? I think it should be better than making it move horizontally up. 2.When the ground grows up(=it become curved) the bike just stop. How could I make it go over the "hill"?
2007/5/18, Helmut Granda <[EMAIL PROTECTED]>:
I figured as much but he did commented that he wanted to do a similar game but not as complicated. So learning on how to do collision detection should be a good start :) On 5/18/07, Joshua Sera <[EMAIL PROTECTED]> wrote: > > That game's actually not as simple as you might think, > unless you already have the math background (verlet > integration/swept circle hit tests/camera or viewport > systems) to replicate what this game does. If you > don't already know the math/algorithms for what I'm > talking about, you'll want to google them. > > The author might be using Flash's hitTest() method for > collision detection, but I kind of doubt it. > > > --- Pedro Kostelec <[EMAIL PROTECTED]> wrote: > > > hi flash coders > > First of all scuse me for my English > > I'm quite new in flash and I want to create a game > > like this one in this > > website: > > http://www.teagames.com/games/tgmotocross3/play.php > > of course not so complicated, bcouse it would be my > > 1st flash file > > I was trying to do a motorbike riding on some ground > > with the hitTest() > > function, but It just doesn't work becouse the > > ground is a curved line and > > the bike just get stright it when the ground grown > > up. > > If someone knows a good tutorial for such things, > > please help me. > > _______________________________________________ > > [email protected] > > To change your subscription options or search the > > archive: > > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > Brought to you by Fig Leaf Software > > Premier Authorized Adobe Consulting and Training > > http://www.figleaf.com > > http://training.figleaf.com > > > > > > > ____________________________________________________________________________________Building > a website is a piece of cake. Yahoo! Small Business gives you all the tools > to get online. > http://smallbusiness.yahoo.com/webhosting > _______________________________________________ > [email protected] > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > _______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
_______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com

