A simple browser-based side-scrolling ship prototype.
- Arrow Up / Arrow Down: move vertically
- Arrow Left / Arrow Right: move horizontally
- Space: fire bullets
A config.ini file is included in the project root. Edit it to tweak movement, weapons, and controls.
Example settings:
[movement]
horizontal_acceleration = 1600
vertical_acceleration = 1600
horizontal_friction = 0.88
vertical_friction = 0.92
center_assist_strength = 3
min_x = 40
max_x_offset = 140
min_y = 40
max_y_offset = 40
[weapon]
fire_rate = 0.18
bullet_speed = 950
charge_rate = 18
charge_max = 100
[controls]
up = ArrowUp
down = ArrowDown
left = ArrowLeft
right = ArrowRight
fire = Space
[hud]
health_max = 100
charge_ready_text = READY
charge_charging_text = CHARGINGOpen index.html in a browser.