Commit 9bb32a89 authored by Ada Gottensträter's avatar Ada Gottensträter

Stuff

parent de6564f0
mkdir -p sdbins
cd source
rm ../sdbins/GFXDEMO.BIN
bstc -Ocgru -e -o ../sdbins/GFXDEMO Graphics_Demo.spin
mv ../sdbins/GFXDEMO.eeprom ../sdbins/GFXDEMO.BIN
cd ..
\ No newline at end of file
B''***************************************
B''***************************************
......
B''***************************************
'' Dummy mouse driver
PUB start(clk,data) : okay
return true
PUB stop
PUB present : type
'' Check if mouse present - valid ~2s after start
'' returns mouse type:
''
'' 3 = five-button scrollwheel mouse
'' 2 = three-button scrollwheel mouse
'' 1 = two-button or three-button mouse
'' 0 = no mouse connected
type := 0
PUB button(b) : state
'' Get the state of a particular button
'' returns t|f
return false
PUB buttons : states
'' Get the states of all buttons
'' returns buttons:
''
'' bit4 = right-side button
'' bit3 = left-side button
'' bit2 = center/scrollwheel button
'' bit1 = right button
'' bit0 = left button
return false
PUB abs_x : ax
'' Get absolute-x
ax := 0
PUB abs_y : ay
'' Get absolute-y
ay := 0
PUB abs_z : az
'' Get absolute-z (scrollwheel)
az := 0
PUB delta_x : dx | newx
'' Get delta-x
return 0
PUB delta_y : dy | newy
'' Get delta-y
return 0
PUB delta_z : dz | newz
'' Get delta-z (scrollwheel)
return 0
PUB delta_reset
PROPMIND
========
## Video
[![](http://img.youtube.com/vi/tCFdYEesoxg/0.jpg)](http://www.youtube.com/watch?v=tCFdYEesoxg "Video")
## Info
- Type: Game
- Genre: Puzzle
- Author(s): Werner L. Schneider
- First release: 2019
- Improved version: No
- Players: 1
- Special requirements: None
- Video formats: NTSC, PAL60
- Inputs: Gamepad
- License: OBEX
## Description
_Mastermind_, except it's a video game where the computer is the codemaker.
## Controls
|Gamepad|Keyboard|Action|
|------|---------|------|
|Up/Down|Up/Down|Select color|
|Left/Right|Left/Right|Select column|
|B|Space|Put color|
|Start|Enter|Submit guess|
|Select+B|F1|Toggle Music|
|Select+Y|R|Restart|
|Select+Start|Esc|Return to title screen|
|Start|S|Start|
## TODOs
- Restore Highscore functionality using an SD file (was stubbed out to avoid EEPROM overwrite)
## Misc
- Pressing PrintScreen on the title screen will switch between NTSC and PAL60, pressing PrintScreen during a game will allow you to cheat!
X-Racer
=======
## Video
[![](http://img.youtube.com/vi/lGCGx6KYqcw/0.jpg)](http://www.youtube.com/watch?v=lGCGx6KYqcw "Video")
## Info
- Type: Game
- Genre: Racing
- Author(s): JT Cook
- First release: 2006(?)
- Improved version: No
- Players: 1
- Special requirements: None
- Video formats: NTSC
- Inputs: Gamepad
## Description
A pseudo-3D racing game, a bit like _Outrun_. You have to reach the next checkpoint before the timer runs out to continue playing.
It even has original music!
## Controls
|Gamepad|Action|
|------|-------|
|D-pad|Steer|
|B|Accelerate|
|Y|Brake|
|Select|Toggle music|
|Start|Start/Pause|
## TODOs
- Add friction, so the car actually slows down when you let go of the accelerator.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment