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

#1 2009-12-07 02:09:08

Locomule
Scratcher
Registered: 2009-08-24
Posts: 500+

Asteroids type smooth motion and screen scroll project

http://scratch.mit.edu/projects/Locomule/792220
Something is wrong with my pc and I can only upload tiny projects. So I did this one as it is another type of scroller that I will use eventually. I tried using left/right arrows to steer the ship but the movement always initially hesitated.

Controls-
the ship points toward your mouse pointer
up arrow gives it gas

No laser firing or collisions or such yet. I figured this would be the hard part but I figured it out in one night. Probably some redundant, crazy math in there though but hey, it is working!! The circle would be the asteroid. Notice that it not only scrolls correctly but also has its own inertia and direction. Woot! Please check this out and post comments?!?!!

Last edited by Locomule (2009-12-07 02:10:07)


aka Pain from DragonSpires, Delrith Online, BotBattle, Urban Dead etc etc lol

Offline

 

Board footer