Woops! This eventually became my game "Coins from Heaven" under my Paddle2See account. I still had troubles with the vehicle flipping over and I eventually had to add in code to look for a flipped vehicle and turn it right-side-up again!
That's why I made it an Egg truck! Anything shaking that hard would kill the eggs :). I haven't figured out a simple way to kill the shake without losing responsiveness to the terrain.
I took a look at your mountain bike game...I then tried adding in an increasing correction on the ground script (by adding more to the move amount every time it continued to touch brown) and it really helped the ground penetration problem a lot! You will see that trick used in this project too, maybe you will want to give it a try.
And, yes it would make a great scroller. You're welcome to take it if you want to do something with it. I haven't decided if I want to go futher with it or not yet.
This is an improved edge-rider that is made up of front and rear sensing sprites that set the vehicle angle. The height correction routines use increasing corrections to insure that the vehicle sticks pretty tightly to the edge without excessive ground penetration. There is also a crude tilt sensing routine to cause the vehicle to roll downhill.
Currently, the project uses sprite sensing but it could be very easily converted to color sensing.
Another interesting thing I tried was to move some of the computational burden to the Stage area to improve the vehicle response so that is where you will find the key handling and the tilt computation routines.
Comments
You need to be logged in to post comments
Add a Comment
There draggable!!!!!
(view all replies)Comment Reply
I made a remix (link to project)
(view all replies)Comment Reply
...and what a remix! Wow!
(view all replies)Comment Reply
My truck flipped upside down! lol!
(view all replies)Comment Reply
wow, um, i'm sorry to say this, but i think i sabotaged the truck, how much does a new one cost?
(view all replies)Comment Reply
This is cool, worked perfectly until I got too close to the edge, and it started driving upside down.
(view all replies)Comment Reply
Woops! This eventually became my game "Coins from Heaven" under my Paddle2See account. I still had troubles with the vehicle flipping over and I eventually had to add in code to look for a flipped vehicle and turn it right-side-up again!
(view all replies)Comment Reply
awesome job; i just thought that you were like a paddle2see impersonator!
(view all replies)Comment Reply
sorry it was a joke, but this is awsome, although the truck is super shaky
(view all replies)Comment Reply
That's why I made it an Egg truck! Anything shaking that hard would kill the eggs :). I haven't figured out a simple way to kill the shake without losing responsiveness to the terrain.
(view all replies)Comment Reply
i like eggs
(view all replies)Comment Reply
It works very well. I will download it and study the scripts. Thanks for telling me about it.
(view all replies)Comment Reply
I took a look at your mountain bike game...I then tried adding in an increasing correction on the ground script (by adding more to the move amount every time it continued to touch brown) and it really helped the ground penetration problem a lot! You will see that trick used in this project too, maybe you will want to give it a try.
(view all replies)Comment Reply
Wow, you could make it a scroller, and you are not really Paddle2See ? Are You ?
(view all replies)Comment Reply
Yes, I am. This is account is where I put uncompleted projects, demonstrations, that sort of thing. It's my workshop area.
(view all replies)Comment Reply
And, yes it would make a great scroller. You're welcome to take it if you want to do something with it. I haven't decided if I want to go futher with it or not yet.
(view all replies)Comment Reply