Jeremy Thurgood [Mon, 12 May 2014 12:12:04 +0000 (14:12 +0200)]
More location deck things.
Jeremy Thurgood [Mon, 12 May 2014 11:52:47 +0000 (13:52 +0200)]
Load location deck from file.
Neil [Mon, 12 May 2014 09:05:44 +0000 (11:05 +0200)]
de-heath the tests
Neil [Mon, 12 May 2014 09:01:17 +0000 (11:01 +0200)]
better action export
Neil [Mon, 12 May 2014 08:58:18 +0000 (10:58 +0200)]
Heath Robinson, I presume
Neil [Sun, 11 May 2014 21:39:58 +0000 (23:39 +0200)]
Add a day 1 screenshot
adrianna [Sun, 11 May 2014 22:20:04 +0000 (00:20 +0200)]
tweaked bits
Simon Cross [Sun, 11 May 2014 22:01:35 +0000 (00:01 +0200)]
Use EIGHT_BIT for game bits.
Simon Cross [Sun, 11 May 2014 21:59:19 +0000 (23:59 +0200)]
Implement game bits.
adrianna [Sun, 11 May 2014 22:01:05 +0000 (00:01 +0200)]
two tile backgrounds, which may well look hideous on the actual board
Stefano Rivera [Sun, 11 May 2014 21:58:19 +0000 (23:58 +0200)]
Scale up images
Simon Cross [Sun, 11 May 2014 21:47:01 +0000 (23:47 +0200)]
Start on GameBits widget.
Stefano Rivera [Sun, 11 May 2014 21:46:33 +0000 (23:46 +0200)]
Start of GameBits
Simon Cross [Sun, 11 May 2014 21:41:05 +0000 (23:41 +0200)]
Fix docstrings in credit scene.
Simon Cross [Sun, 11 May 2014 21:40:16 +0000 (23:40 +0200)]
Clean up credits test string.
adrianna [Sun, 11 May 2014 21:39:32 +0000 (23:39 +0200)]
converted all images to same limited colour palette and scaled them back down to 1:1
Simon Cross [Sun, 11 May 2014 21:36:08 +0000 (23:36 +0200)]
Factor out EIGHT_BIT_SCALE.
Neil [Sun, 11 May 2014 21:34:32 +0000 (23:34 +0200)]
Oh yeah, we're using a AttrDict thing, aren't we?
Stefano Rivera [Sun, 11 May 2014 21:34:25 +0000 (23:34 +0200)]
working PlayerBitsWidget
Neil [Sun, 11 May 2014 21:30:07 +0000 (23:30 +0200)]
Unshift the world
Neil [Sun, 11 May 2014 21:23:49 +0000 (23:23 +0200)]
Draw robot on the world
Neil [Sun, 11 May 2014 21:11:06 +0000 (23:11 +0200)]
Add property to get at board_locations
Simon Cross [Sun, 11 May 2014 21:29:40 +0000 (23:29 +0200)]
Refactor text boxes.
Simon Cross [Sun, 11 May 2014 21:29:17 +0000 (23:29 +0200)]
PEP8.
Stefano Rivera [Sun, 11 May 2014 21:21:02 +0000 (23:21 +0200)]
blit actually wants a pos, no need to calculate the rect
Stefano Rivera [Sun, 11 May 2014 21:01:54 +0000 (23:01 +0200)]
Even blocker text
Stefano Rivera [Sun, 11 May 2014 21:00:08 +0000 (23:00 +0200)]
Remove boilerplate overrides
Stefano Rivera [Sun, 11 May 2014 20:48:05 +0000 (22:48 +0200)]
Return True when we called a callback
Stefano Rivera [Sun, 11 May 2014 20:45:31 +0000 (22:45 +0200)]
SelectorWidget
Stefano Rivera [Sun, 11 May 2014 20:44:25 +0000 (22:44 +0200)]
Callbacks for widget events
Simon Cross [Sun, 11 May 2014 20:40:36 +0000 (22:40 +0200)]
Apply self.pos to TextBoxWidget rendering.
Simon Cross [Sun, 11 May 2014 20:33:46 +0000 (22:33 +0200)]
PEP8 fixes.
Neil [Sun, 11 May 2014 20:31:50 +0000 (22:31 +0200)]
Render bit pattern markers on tile widgets
Neil [Sun, 11 May 2014 20:16:43 +0000 (22:16 +0200)]
Add a non-empty set of locations for testing
Neil [Sun, 11 May 2014 20:15:47 +0000 (22:15 +0200)]
Add export methdo to DoNothing action for testing purposes
Stefano Rivera [Sun, 11 May 2014 20:02:18 +0000 (22:02 +0200)]
No .orig files
David Sharpe [Sun, 11 May 2014 19:59:04 +0000 (21:59 +0200)]
Bastard merge
David Sharpe [Sun, 11 May 2014 19:54:38 +0000 (21:54 +0200)]
Got text wrapping working.
Neil [Sun, 11 May 2014 19:52:20 +0000 (21:52 +0200)]
The world is invalid (sometimes, when desirable)
Neil [Sun, 11 May 2014 19:50:54 +0000 (21:50 +0200)]
Unbreak game startup
Jeremy Thurgood [Sun, 11 May 2014 19:35:35 +0000 (21:35 +0200)]
Choose locations for the board.
Stefano Rivera [Sun, 11 May 2014 19:04:15 +0000 (21:04 +0200)]
Explain Widget methods
Stefano Rivera [Sun, 11 May 2014 19:00:58 +0000 (21:00 +0200)]
Scenes get a Container for widgets
Jeremy Thurgood [Sun, 11 May 2014 18:52:16 +0000 (20:52 +0200)]
More actions.
Jeremy Thurgood [Sun, 11 May 2014 18:31:04 +0000 (20:31 +0200)]
Tweak actions.
Simon Cross [Sun, 11 May 2014 17:32:15 +0000 (19:32 +0200)]
Fix tests.
adrianna [Sun, 11 May 2014 17:31:56 +0000 (19:31 +0200)]
robot things
Simon Cross [Sun, 11 May 2014 17:31:14 +0000 (19:31 +0200)]
Move player defaults into constants.
Simon Cross [Sun, 11 May 2014 17:24:53 +0000 (19:24 +0200)]
Fix gamestate setup.
Stefano Rivera [Sun, 11 May 2014 17:20:21 +0000 (19:20 +0200)]
One true import-style
adrianna [Sun, 11 May 2014 17:16:40 +0000 (19:16 +0200)]
fixed win
adrianna [Sun, 11 May 2014 17:13:52 +0000 (19:13 +0200)]
fixed victory points; added square indicators and bare robot
Jeremy Thurgood [Sun, 11 May 2014 17:13:42 +0000 (19:13 +0200)]
More state management.
Stefano Rivera [Sun, 11 May 2014 17:11:30 +0000 (19:11 +0200)]
A menu that works (but doesn't show the selection)
Simon Cross [Sun, 11 May 2014 17:10:21 +0000 (19:10 +0200)]
Call Menu.__init__ with state in __main__.
Simon Cross [Sun, 11 May 2014 17:09:37 +0000 (19:09 +0200)]
Add missing state arguments to scene __init__s.
Simon Cross [Sun, 11 May 2014 17:06:05 +0000 (19:06 +0200)]
Update scene changing.
Simon Cross [Sun, 11 May 2014 17:03:56 +0000 (19:03 +0200)]
Make scenes take the game state.
Stefano Rivera [Sun, 11 May 2014 17:06:20 +0000 (19:06 +0200)]
Keydown
Stefano Rivera [Sun, 11 May 2014 17:03:52 +0000 (19:03 +0200)]
More menu options
Neil [Sun, 11 May 2014 17:03:02 +0000 (19:03 +0200)]
Pass positions to the widgets
Neil [Sun, 11 May 2014 17:02:46 +0000 (19:02 +0200)]
Add tiles to the board. Skip draw for other game scene widgets for now
Neil [Sun, 11 May 2014 16:34:36 +0000 (18:34 +0200)]
Add placeholder drawing logic
Simon Cross [Sun, 11 May 2014 17:02:02 +0000 (19:02 +0200)]
Remove debug print.
David Sharpe [Sun, 11 May 2014 16:59:26 +0000 (18:59 +0200)]
Merge branch 'master' of git+ssh://ctpug.org.za/naja
Simon Cross [Sun, 11 May 2014 16:59:10 +0000 (18:59 +0200)]
Fix initial bits.
David Sharpe [Sun, 11 May 2014 16:59:04 +0000 (18:59 +0200)]
Merge branch 'master' of git+ssh://ctpug.org.za/naja
David Sharpe [Sun, 11 May 2014 16:58:38 +0000 (18:58 +0200)]
Fucking megres
Simon Cross [Sun, 11 May 2014 16:57:35 +0000 (18:57 +0200)]
GameState.
Stefano Rivera [Sun, 11 May 2014 16:41:18 +0000 (18:41 +0200)]
Rotation mutators
Stefano Rivera [Sun, 11 May 2014 16:38:51 +0000 (18:38 +0200)]
Turn resources into a module, which can hold mutators too
Simon Cross [Sun, 11 May 2014 16:31:36 +0000 (18:31 +0200)]
Add widgets and skeleton for game scene.
David Sharpe [Sun, 11 May 2014 16:32:11 +0000 (18:32 +0200)]
merge
Stefano Rivera [Sun, 11 May 2014 16:31:49 +0000 (18:31 +0200)]
Helper for colour conversion
David Sharpe [Sun, 11 May 2014 16:30:02 +0000 (18:30 +0200)]
Added basic credits scene.
adrianna [Sun, 11 May 2014 16:29:21 +0000 (18:29 +0200)]
remaining bits
Stefano Rivera [Sun, 11 May 2014 16:23:27 +0000 (18:23 +0200)]
Blocky text (4 pixels per pixel)
Jeremy Thurgood [Sun, 11 May 2014 16:23:20 +0000 (18:23 +0200)]
Game state management.
Neil [Sun, 11 May 2014 16:21:40 +0000 (18:21 +0200)]
Placeholder tile
Stefano Rivera [Sun, 11 May 2014 16:17:28 +0000 (18:17 +0200)]
Blank the screen on each frame
Simon Cross [Sun, 11 May 2014 16:04:07 +0000 (18:04 +0200)]
Add quitting.
Stefano Rivera [Sun, 11 May 2014 16:03:18 +0000 (18:03 +0200)]
Scenes have a widget list (in draw order)
adrianna [Sun, 11 May 2014 16:01:02 +0000 (18:01 +0200)]
some bits
Stefano Rivera [Sun, 11 May 2014 15:59:51 +0000 (17:59 +0200)]
Limit frame rate
Simon Cross [Sun, 11 May 2014 15:57:37 +0000 (17:57 +0200)]
Merge branch 'master' of git+ssh://ctpug.org.za/naja
Simon Cross [Sun, 11 May 2014 15:56:50 +0000 (17:56 +0200)]
Refactor widget rendering a bit.
Jeremy Thurgood [Sun, 11 May 2014 15:52:57 +0000 (17:52 +0200)]
Decouple action from required bits.
Stefano Rivera [Sun, 11 May 2014 15:50:03 +0000 (17:50 +0200)]
A TextWidget
Simon Cross [Sun, 11 May 2014 15:43:13 +0000 (17:43 +0200)]
Add game scene.
Simon Cross [Sun, 11 May 2014 15:32:18 +0000 (17:32 +0200)]
Merge branch 'master' of git+ssh://ctpug.org.za/naja
Simon Cross [Sun, 11 May 2014 15:31:56 +0000 (17:31 +0200)]
QuitGameEvent.
Jeremy Thurgood [Sun, 11 May 2014 15:31:07 +0000 (17:31 +0200)]
Start of location actions.
Simon Cross [Sun, 11 May 2014 15:23:27 +0000 (17:23 +0200)]
Add rendering to scenes and fix handle_event.
Simon Cross [Sun, 11 May 2014 15:12:42 +0000 (17:12 +0200)]
Scene changing.
Simon Cross [Sun, 11 May 2014 15:06:23 +0000 (17:06 +0200)]
Initial user events for Naja.
Simon Cross [Sun, 11 May 2014 14:53:31 +0000 (16:53 +0200)]
Merge branch 'master' of git+ssh://ctpug.org.za/naja
Simon Cross [Sun, 11 May 2014 14:53:23 +0000 (16:53 +0200)]
At skeletal menu scene.
Stefano Rivera [Sun, 11 May 2014 14:48:37 +0000 (16:48 +0200)]
Support -m
Simon Cross [Sun, 11 May 2014 14:45:31 +0000 (16:45 +0200)]
Start of scene class.
Stefano Rivera [Sun, 11 May 2014 14:39:33 +0000 (16:39 +0200)]
Initialize sound