This site requires JavaScript, please enable it in your browser!
Greenfoot back

Report as inappropriate.

CountZero
CountZero presents ...

2024/2/29

Asteroid

This is my first project after my son told me he was learning to program with Greenfoot at school. So, as a finger exercise, I started letting a small spaceship fly across the screen. But that was too jerky for me and since I didn't discover the SmoothMover class, I wrote my own mover. After an afternoon the game was finished and I want to share it with you.

turn left -> Cursor left
turn right -> Cursor right
accelerate -> Cursor up / Cursor down
fire -> spacebar
0 -> emergency break (little cheat)

846 views / 18 in the last 7 days

Tags: game physics with-source arcade vector retro

open in greenfoot
Your browser does not support the canvas tag.
A new version of this scenario was uploaded on 2024-02-29 08:50:55 UTC
A new version of this scenario was uploaded on 2024-02-29 08:52:07 UTC
CountZeroCountZero

2024/2/29

The game runs too slowly in a browser. Download the game on your PC and have fun.

Want to leave a comment? You must first log in.

Who likes this?

No votes yet.