Player Controls

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Andrew Davie

I've started work on the player controls. The temporary "cursor" is just the animating arrow/cross I had ealier. You can step it around the 6x6 grid position. If you step it on top of a car, then that car starts wobbling like crazy. This is just a stopgap/debugging thing for me to see which car is being detected; wobble was the easiest to do.

Next I need to detect if a car can move; it will be one or both of (up, down) OR one or both of (left, right).  I want to put the cursor (manually) on one end or the other of the car, and then a button press will move the car in that direction (the end's). As the car moves, I want the cursor to also move.

So, we'll use the "X" when the cursor is on the end of a car but it can't move.
We'll use an arrow pointing in the move direction if it CAN move (enticing you to press the button).
If the cursor is over a blank, or middle of a long car, then it will probably just be a mouse pointer or  crosshair or someting like that.

ANyway, baby steps.

Also in the video you'll see a few tweaks to the title screen
* the lights in the cityscape
* the black cat, randomly sitting around the parking lot
* the XXX logo on the truck; I thought the hires decal was a nice touch
* the flickering sign lights are sequenced a bit nicer



Andrew Davie

#1
I have completed the player control system. IMHO it works really well.
Just use the joystick to select a car (front or back) and button to move.
It's pretty intuitive, I think.


Here's a binary to test.