easy gravity
you can use this formula for a game
example
sprite 1("ground")
this fellow is usually a long rectangle or set of obstacles.
[blocks]<go to x 0 )y
-220 [/blocks]
sprite 2("sprite")
this fellow's look's can differ
moving smoothly
you can use this formula game characters
example
sprite 1("sprite")
this fellow will move smoothly when the right and left arrows are clicked
easy orbit
you can use this in a single planet with no moons solar system simulation
example
sprite 1("sun")
this fellow usually a yellow sphere
[block]<go to x 0 )y
0 [/block]
sprite 2("planet")
this can be a circle of any color
harder orbit
you can use this formula in a solar system simulation
sprite 1("sun")
this fellow usually a yellow sphere
[blocks]<go to x 0 )y
0 [/blocks]
sprite 2("planet")
this can be a circle of any color
waves
you can use this formula in a game,animation, or wave simulation
example
sprite 1("sprite")
this fellow can be any shape
pendulums
you can use this for a game or a pendulum simulation
example
sprite 1("pendulum")
this fellow is usually a stick with a ball on the bottom
hope this helped!
Last edited by TVflea (2011-03-04 19:32:42)
Offline
Nice scripts Have you ever considered writing tutorials on the Scratch Wiki?
Offline
Good scripts, but the gravity ones can (and should) all go under the same forever- too many forever's slow down your game.
Offline
TVflea wrote:
Sunrise-Moon wrote:
Good scripts, but the gravity ones can (and should) all go under the same forever- too many forever's slow down your game.
i don't understand
The gravity scripts should all go under the same forever block - too many forevers slow down your game.
Offline
floppy_gunk wrote:
TVflea wrote:
Sunrise-Moon wrote:
Good scripts, but the gravity ones can (and should) all go under the same forever- too many forever's slow down your game.
i don't understand
The gravity scripts should all go under the same forever block - too many forevers slow down your game.
True. That's why when advanced Scratchers make complicated games, they uses broadcasts, not forevers... or at least limiting the forever.
Offline
kayybe wrote:
True. That's why when advanced Scratchers make complicated games, they uses broadcasts, not forevers... or at least limiting the forever.
that's true,but it's not advanced gravity.
easy gravity
you can use this formula for a game
sprite 1("ground")
this fellow is usually a long rectangle or set of obstacles.
Offline
Offline
TVflea wrote:
kayybe wrote:
True. That's why when advanced Scratchers make complicated games, they uses broadcasts, not forevers... or at least limiting the forever.
that's true,but it's not advanced gravity.
easy gravity
you can use this formula for a game
sprite 1("ground")
this fellow is usually a long rectangle or set of obstacles.
Hahahaha, you got that right.
Offline
TheGameMaster1231 wrote:
TVflea wrote:
kayybe wrote:
True. That's why when advanced Scratchers make complicated games, they uses broadcasts, not forevers... or at least limiting the forever.
that's true,but it's not advanced gravity.
easy gravity
you can use this formula for a game
sprite 1("ground")
this fellow is usually a long rectangle or set of obstacles.Hahahaha, you got that right.
yep.
Offline
tvflame wrote:
wow!that's helpful!
it took him along time to make that.i'm his sister
Offline
kayybee wrote:
but asking "i don't understand" is just implying that you want an answer, and all statements that have an answer to it are questions, so that changes to a question of "can you explain that because i don't understand"
i have no idea what your talking about.i never asked a question.this topic is to inform new scratchers how to use physics on scratch.
Offline
TVflea wrote:
kayybee wrote:
but asking "i don't understand" is just implying that you want an answer, and all statements that have an answer to it are questions, so that changes to a question of "can you explain that because i don't understand"
i have no idea what your talking about.i never asked a question.this topic is to inform new scratchers how to use physics on scratch.
maybe itd help if you lok up and now i can tak liek this
Offline