agnacore / Spaceship

1 stars 1 forks source link

Get ship control basics set up #4

Open agnacore opened 11 months ago

agnacore commented 11 months ago

Implement controls for player ship

WASD moves ship around. The ship moves about the play area in accordance with the direction held on the keyboard.

Ship moves at a reasonable speed.

agnacore commented 10 months ago

step 1: set up the ship superclass 1.1: create spawning method 1.2: moving functionality 1.3: might not need to kill yet but make that method anyway

step 2: find out how it plugs into what he's made in terms of rudimentary graphics (moving box time babyyy) 2.1: spawn it 2.2: move it 2.3 (optional): kill it

c-m-green commented 9 months ago

step 1: set up the ship superclass 1.1: create spawning method 1.2: moving functionality 1.3: might not need to kill yet but make that method anyway

I would recommend you invert this; i.e., make the feature the topmost item supported by the technical implementation. So, for instance:

1: Add ship spawning 1.1: Create Ship superclass 1.2: Add graphics property

2: Add ship movement 2.1: Add movement method based on key input 2.2: Update view as position changes

or something like that.

That way, it's clear what the feature is, and you've essentially got a list of steps on how to complete. @agnacore