This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2012-09-08 00:28:54

Thescratch3
Scratcher
Registered: 2011-06-14
Posts: 1000+

Bounce Engine

I need help making a bounce engine. I don't want to over-complicate it with so many complex scripts. I just want a nice, clean, and smooth bounce after the character falls down.

Any ideas?


View my projects. Or face The scratch curse! (Get it?)
http://i56.tinypic.com/2cdk8hy.png

Offline

 

#2 2012-09-08 01:05:04

amcerbu
Scratcher
Registered: 2009-07-21
Posts: 500+

Re: Bounce Engine

It depends... what kind of surface is the player falling on?  Is the environment composed of horizontal and vertical walls, or something a bit more complicated?  What method are you currently using to control the player?  Does he use x- and y-velocity to simulate gravity, or direction and a "steps" variable?

Offline

 

#3 2012-09-08 15:38:09

ZombieHappines
Scratcher
Registered: 2012-01-19
Posts: 100+

Re: Bounce Engine

Thescratch3 wrote:

I need help making a bounce engine. I don't want to over-complicate it with so many complex scripts. I just want a nice, clean, and smooth bounce after the character falls down.

Any ideas?

i have a simple bouncing script in this http://scratch.mit.edu/projects/ZombieHappines/2727885


http://i47.tinypic.com/10wr3bq.jpg
http://i50.tinypic.com/2w7onpy.png

Offline

 

Board footer