Need scripting help? Just ask and I will do my best to make a script for you.
Thanks -Greentabby55
Offline
Ah, the fun begins.
Can you make a scrolling script for a platformer that implements an adjustable camera (WASD keys move the camera, arrow keys move player), a zoom function (able to zoom the camera to and away from the player while keeping everything aligned), and a player that has velocity, and and make it all 1s1s1c (one sprite, one script, one costume)? You wanted a script, and this should all be one script. Good luck
In case you didn't know, that was a joke.
Offline
@keileymeister
Well, first if it's only going to be one sprite, you'll have to have it at an infinite loop. Basically, it will be the same thing over and over again.
Let's say the screen is 600 pixles wide, and 500 pixels high. If I want it to go across screen, I should make it about twice as wide, which won't fit the screen. I'll use proportions for that. I'll make the sprite 600x250 pixels. Now, I just set it to be twice as big when the game starts.
<when green flag clicked>
<set size to( 200 )%>
Now I just make it scroll across the screen.
(added on to the first part)
<forever>
<repeat until><( <x position> <=> -300 )>
<go to x 300 )y
0
<wait( 0.01 )secsc>
<go to x 300 )y
0
<end>
<end>
Boom, you got's yourself a script.
Offline