tabakrolletjie.git
7 years agoAdd battery config to levels.
Simon Cross [Sat, 10 Sep 2016 14:29:26 +0000 (16:29 +0200)]
Add battery config to levels.

7 years agoEnd of the day button is done.
Simon Cross [Sat, 10 Sep 2016 14:27:09 +0000 (16:27 +0200)]
End of the day button is done.

7 years agoClear light toolbar when the tool is cancelled.
Simon Cross [Sat, 10 Sep 2016 14:21:39 +0000 (16:21 +0200)]
Clear light toolbar when the tool is cancelled.

7 years agoMerge branch 'master' of ctpug.org.za:tabakrolletjie
Simon Cross [Sat, 10 Sep 2016 14:19:40 +0000 (16:19 +0200)]
Merge branch 'master' of ctpug.org.za:tabakrolletjie

7 years agoAdd colour selection based on available colours.
Simon Cross [Sat, 10 Sep 2016 14:19:34 +0000 (16:19 +0200)]
Add colour selection based on available colours.

7 years agoAllow supplying and image to image button.
Simon Cross [Sat, 10 Sep 2016 14:18:16 +0000 (16:18 +0200)]
Allow supplying and image to image button.

7 years agoAdd method for finding light fitting image by light type.
Simon Cross [Sat, 10 Sep 2016 14:17:52 +0000 (16:17 +0200)]
Add method for finding light fitting image by light type.

7 years agoAdd light colour wedges transforms.
Simon Cross [Sat, 10 Sep 2016 14:17:22 +0000 (16:17 +0200)]
Add light colour wedges transforms.

7 years agoUpdate TODO
Neil [Sat, 10 Sep 2016 14:08:37 +0000 (16:08 +0200)]
Update TODO

7 years agoFix syntax
Neil [Sat, 10 Sep 2016 14:07:51 +0000 (16:07 +0200)]
Fix syntax

7 years agoAdd 'game over' check and display
Neil [Sat, 10 Sep 2016 14:04:22 +0000 (16:04 +0200)]
Add 'game over' check and display

7 years agomade pause/play buttons for night time
adrianna [Sat, 10 Sep 2016 13:57:21 +0000 (15:57 +0200)]
made pause/play buttons for night time

7 years agoadded exit button
adrianna [Sat, 10 Sep 2016 13:48:48 +0000 (15:48 +0200)]
added exit button

7 years agoTransition screen done
Neil [Sat, 10 Sep 2016 13:42:22 +0000 (15:42 +0200)]
Transition screen done

7 years agohooked up night button and moved cursor reset next to other tools
adrianna [Sat, 10 Sep 2016 13:37:10 +0000 (15:37 +0200)]
hooked up night button and moved cursor reset next to other tools

7 years agonew default cursor image plus night time activation image
adrianna [Sat, 10 Sep 2016 13:32:29 +0000 (15:32 +0200)]
new default cursor image plus night time activation image

7 years agoAdd end of night text overlay
Neil [Sat, 10 Sep 2016 13:39:23 +0000 (15:39 +0200)]
Add end of night text overlay

7 years agoDrop-shadow helper
Neil [Sat, 10 Sep 2016 13:38:11 +0000 (15:38 +0200)]
Drop-shadow helper

7 years agoSet available colour combinations in levels.
Simon Cross [Sat, 10 Sep 2016 13:24:26 +0000 (15:24 +0200)]
Set available colour combinations in levels.

7 years agoFactor light fitting rendering out into a function.
Simon Cross [Sat, 10 Sep 2016 13:23:26 +0000 (15:23 +0200)]
Factor light fitting rendering out into a function.

7 years agoPEP8 fixes.
Simon Cross [Sat, 10 Sep 2016 13:09:01 +0000 (15:09 +0200)]
PEP8 fixes.

7 years agoMerge branch 'master' of ctpug.org.za:tabakrolletjie
Simon Cross [Sat, 10 Sep 2016 12:55:33 +0000 (14:55 +0200)]
Merge branch 'master' of ctpug.org.za:tabakrolletjie

7 years agoPopulate toolbar from available lights.
Simon Cross [Sat, 10 Sep 2016 12:55:25 +0000 (14:55 +0200)]
Populate toolbar from available lights.

7 years agoAdd available lights list to levels.
Simon Cross [Sat, 10 Sep 2016 12:55:02 +0000 (14:55 +0200)]
Add available lights list to levels.

7 years agoCheck correct distance
Neil [Sat, 10 Sep 2016 12:38:29 +0000 (14:38 +0200)]
Check correct distance

7 years agoAdd todo items
Neil [Sat, 10 Sep 2016 12:28:08 +0000 (14:28 +0200)]
Add todo items

7 years agoIncrease Boyd's starting health over time
Neil [Sat, 10 Sep 2016 12:26:31 +0000 (14:26 +0200)]
Increase Boyd's starting health over time

7 years agoIncrement day at the end of the night
Neil [Sat, 10 Sep 2016 12:25:48 +0000 (14:25 +0200)]
Increment day at the end of the night

7 years agoAdd days to gamestate and day screen display
Neil [Sat, 10 Sep 2016 12:24:09 +0000 (14:24 +0200)]
Add days to gamestate and day screen display

7 years agoRemove unused import.
Simon Cross [Sat, 10 Sep 2016 12:21:27 +0000 (14:21 +0200)]
Remove unused import.

7 years agoMerge branch 'master' of ctpug.org.za:tabakrolletjie
Simon Cross [Sat, 10 Sep 2016 12:20:38 +0000 (14:20 +0200)]
Merge branch 'master' of ctpug.org.za:tabakrolletjie

7 years agoAdd available lights to tutorial.
Simon Cross [Sat, 10 Sep 2016 12:20:32 +0000 (14:20 +0200)]
Add available lights to tutorial.

7 years agoapproximate circles by polygons in pymunk
adrianna [Sat, 10 Sep 2016 12:19:50 +0000 (14:19 +0200)]
approximate circles by polygons in pymunk

7 years agoRemove initial lights from tutorial.
Simon Cross [Sat, 10 Sep 2016 12:18:00 +0000 (14:18 +0200)]
Remove initial lights from tutorial.

7 years agoMerge branch 'master' of ctpug.org.za:tabakrolletjie
Simon Cross [Sat, 10 Sep 2016 12:12:31 +0000 (14:12 +0200)]
Merge branch 'master' of ctpug.org.za:tabakrolletjie

7 years agoList levels by title.
Simon Cross [Sat, 10 Sep 2016 12:12:20 +0000 (14:12 +0200)]
List levels by title.

7 years agoHide 'end the night' keypress option behind DEBUG
Neil [Sat, 10 Sep 2016 12:04:01 +0000 (14:04 +0200)]
Hide 'end the night' keypress option behind DEBUG

7 years agoAdd todo items
Neil [Sat, 10 Sep 2016 12:02:42 +0000 (14:02 +0200)]
Add todo items

7 years agoActually end the night on timeout. Also end the night if Boyd dies out
Neil [Sat, 10 Sep 2016 12:00:04 +0000 (14:00 +0200)]
Actually end the night on timeout. Also end the night if Boyd dies out

7 years agoReturn 0 for the direction if it is currently None.
Simon Cross [Sat, 10 Sep 2016 11:55:29 +0000 (13:55 +0200)]
Return 0 for the direction if it is currently None.

7 years agoMerge branch 'master' of ctpug.org.za:tabakrolletjie
Simon Cross [Sat, 10 Sep 2016 11:53:06 +0000 (13:53 +0200)]
Merge branch 'master' of ctpug.org.za:tabakrolletjie

7 years agoRename tutorial level.
Simon Cross [Sat, 10 Sep 2016 11:52:54 +0000 (13:52 +0200)]
Rename tutorial level.

7 years agoRetitle tutorial level.
Simon Cross [Sat, 10 Sep 2016 11:52:37 +0000 (13:52 +0200)]
Retitle tutorial level.

7 years agoTweak Boyd's max size
Neil [Sat, 10 Sep 2016 11:47:38 +0000 (13:47 +0200)]
Tweak Boyd's max size

7 years agoAdd night length
Neil [Sat, 10 Sep 2016 11:47:29 +0000 (13:47 +0200)]
Add night length

7 years agoMerge branch 'master' of ctpug.org.za:tabakrolletjie
Simon Cross [Sat, 10 Sep 2016 11:44:35 +0000 (13:44 +0200)]
Merge branch 'master' of ctpug.org.za:tabakrolletjie

7 years agoSet tutorial obstacles.
Simon Cross [Sat, 10 Sep 2016 11:44:24 +0000 (13:44 +0200)]
Set tutorial obstacles.

7 years agoshrub achieved
adrianna [Sat, 10 Sep 2016 11:41:02 +0000 (13:41 +0200)]
shrub achieved

7 years agorotating spotlight fixture
adrianna [Sat, 10 Sep 2016 11:25:06 +0000 (13:25 +0200)]
rotating spotlight fixture

7 years agoMerge branch 'master' of ctpug.org.za:tabakrolletjie
Simon Cross [Sat, 10 Sep 2016 11:37:43 +0000 (13:37 +0200)]
Merge branch 'master' of ctpug.org.za:tabakrolletjie

7 years agoUse some elif.
Simon Cross [Sat, 10 Sep 2016 11:37:29 +0000 (13:37 +0200)]
Use some elif.

7 years agoTweak Boyd
Neil [Sat, 10 Sep 2016 11:34:15 +0000 (13:34 +0200)]
Tweak Boyd

7 years agoAdd Boyd's spawn position to stations
Neil [Sat, 10 Sep 2016 11:27:00 +0000 (13:27 +0200)]
Add Boyd's spawn position to stations

7 years agoRemove unused local variable.
Simon Cross [Sat, 10 Sep 2016 11:31:45 +0000 (13:31 +0200)]
Remove unused local variable.

7 years agoFix pep8.
Simon Cross [Sat, 10 Sep 2016 11:29:04 +0000 (13:29 +0200)]
Fix pep8.

7 years agoRescale intensity.
Simon Cross [Sat, 10 Sep 2016 11:04:17 +0000 (13:04 +0200)]
Rescale intensity.

7 years agoUpdate placement to changed API
Neil [Sat, 10 Sep 2016 10:56:27 +0000 (12:56 +0200)]
Update placement to changed API

7 years agoUpdate angle in gamestate as well for passing to night
Neil [Sat, 10 Sep 2016 10:54:36 +0000 (12:54 +0200)]
Update angle in gamestate as well for passing to night

7 years agoMerge branch 'master' of ctpug.org.za:tabakrolletjie
Simon Cross [Sat, 10 Sep 2016 10:54:59 +0000 (12:54 +0200)]
Merge branch 'master' of ctpug.org.za:tabakrolletjie

7 years agoAdd total power and damage.
Simon Cross [Sat, 10 Sep 2016 10:54:53 +0000 (12:54 +0200)]
Add total power and damage.

7 years agomerged display of multicoloured light into base class
adrianna [Sat, 10 Sep 2016 10:47:05 +0000 (12:47 +0200)]
merged display of multicoloured light into base class

7 years agomulticoloured light display
adrianna [Sat, 10 Sep 2016 10:39:21 +0000 (12:39 +0200)]
multicoloured light display

7 years agoRight-click and drag light rotation
Neil [Sat, 10 Sep 2016 10:37:57 +0000 (12:37 +0200)]
Right-click and drag light rotation

7 years agoUpdate todos.
Simon Cross [Sat, 10 Sep 2016 10:36:41 +0000 (12:36 +0200)]
Update todos.

7 years agoMake all lamps multicoloured.
Simon Cross [Sat, 10 Sep 2016 10:34:54 +0000 (12:34 +0200)]
Make all lamps multicoloured.

7 years agoAdd direction property to ray manager.
Simon Cross [Sat, 10 Sep 2016 10:28:12 +0000 (12:28 +0200)]
Add direction property to ray manager.

7 years agoSpecify direction and spread rather than angle limits.
Simon Cross [Sat, 10 Sep 2016 10:17:50 +0000 (12:17 +0200)]
Specify direction and spread rather than angle limits.

7 years agoAdd todos from breakfast.
Simon Cross [Sat, 10 Sep 2016 10:05:40 +0000 (12:05 +0200)]
Add todos from breakfast.

7 years agoMulti-level light toolbar
Neil [Sat, 10 Sep 2016 09:54:47 +0000 (11:54 +0200)]
Multi-level light toolbar

7 years agoMove colour definitions into constants
Neil [Sat, 10 Sep 2016 09:54:15 +0000 (11:54 +0200)]
Move colour definitions into constants

7 years agoAlso pulsate intensity.
Simon Cross [Fri, 9 Sep 2016 22:43:32 +0000 (00:43 +0200)]
Also pulsate intensity.

7 years agoAdd pulsating lamp.
Simon Cross [Fri, 9 Sep 2016 22:34:14 +0000 (00:34 +0200)]
Add pulsating lamp.

7 years agoAdd multi-colour lamp.
Simon Cross [Fri, 9 Sep 2016 22:17:43 +0000 (00:17 +0200)]
Add multi-colour lamp.

7 years agoPEP8 fix.
Simon Cross [Fri, 9 Sep 2016 21:53:26 +0000 (23:53 +0200)]
PEP8 fix.

7 years agoRemove old direction and spread parameters.
Simon Cross [Fri, 9 Sep 2016 21:52:36 +0000 (23:52 +0200)]
Remove old direction and spread parameters.

7 years agoMerge branch 'master' of ctpug.org.za:tabakrolletjie
Simon Cross [Fri, 9 Sep 2016 21:48:34 +0000 (23:48 +0200)]
Merge branch 'master' of ctpug.org.za:tabakrolletjie

7 years agoAdd back light radius checks.
Simon Cross [Fri, 9 Sep 2016 21:48:20 +0000 (23:48 +0200)]
Add back light radius checks.

7 years agoTweak test station
Neil [Fri, 9 Sep 2016 21:47:44 +0000 (23:47 +0200)]
Tweak test station

7 years agoLimit how close lights can be placed to each other
Neil [Fri, 9 Sep 2016 21:46:58 +0000 (23:46 +0200)]
Limit how close lights can be placed to each other

7 years agoblue is not cyan
adrianna [Fri, 9 Sep 2016 21:40:37 +0000 (23:40 +0200)]
blue is not cyan

7 years agoMerge branch 'master' of ctpug.org.za:tabakrolletjie
Simon Cross [Fri, 9 Sep 2016 21:40:21 +0000 (23:40 +0200)]
Merge branch 'master' of ctpug.org.za:tabakrolletjie

7 years agoMove radius and angle limits into ray manager.
Simon Cross [Fri, 9 Sep 2016 21:39:02 +0000 (23:39 +0200)]
Move radius and angle limits into ray manager.

7 years agomade turnips bigger
adrianna [Fri, 9 Sep 2016 21:20:40 +0000 (23:20 +0200)]
made turnips bigger

7 years agomade light body bigger
adrianna [Fri, 9 Sep 2016 21:14:41 +0000 (23:14 +0200)]
made light body bigger

7 years agoLights can be added to the world
Neil [Fri, 9 Sep 2016 21:12:28 +0000 (23:12 +0200)]
Lights can be added to the world

7 years agomade light fixtures smaller
adrianna [Fri, 9 Sep 2016 21:10:22 +0000 (23:10 +0200)]
made light fixtures smaller

7 years agoalpha transform; made seed cursor transparent
adrianna [Fri, 9 Sep 2016 20:55:07 +0000 (22:55 +0200)]
alpha transform; made seed cursor transparent

7 years agoWrap long line.
Simon Cross [Fri, 9 Sep 2016 20:39:17 +0000 (22:39 +0200)]
Wrap long line.

7 years agocopying cursors automatically
adrianna [Fri, 9 Sep 2016 20:34:57 +0000 (22:34 +0200)]
copying cursors automatically

7 years agomade the lamp a lamp
adrianna [Fri, 9 Sep 2016 20:32:34 +0000 (22:32 +0200)]
made the lamp a lamp

7 years agoUse multiply transform
Neil [Fri, 9 Sep 2016 20:28:03 +0000 (22:28 +0200)]
Use multiply transform

7 years agoStart working toward light placement
Neil [Fri, 9 Sep 2016 20:08:07 +0000 (22:08 +0200)]
Start working toward light placement

7 years agoAdd transform support to cursor and image buttons
Neil [Fri, 9 Sep 2016 20:07:47 +0000 (22:07 +0200)]
Add transform support to cursor and image buttons

7 years agoadded a multiply transform to use on light fittings
adrianna [Fri, 9 Sep 2016 20:22:53 +0000 (22:22 +0200)]
added a multiply transform to use on light fittings

7 years agoMerge branch 'master' of ctpug.org.za:tabakrolletjie
Simon Cross [Fri, 9 Sep 2016 20:21:11 +0000 (22:21 +0200)]
Merge branch 'master' of ctpug.org.za:tabakrolletjie

7 years agoProper __hash__ and __eq__ for transforms.
Simon Cross [Fri, 9 Sep 2016 20:21:05 +0000 (22:21 +0200)]
Proper __hash__ and __eq__ for transforms.

7 years agovariable name oops
adrianna [Fri, 9 Sep 2016 20:15:17 +0000 (22:15 +0200)]
variable name oops

7 years agostarted adding fittings to lights
adrianna [Fri, 9 Sep 2016 20:13:29 +0000 (22:13 +0200)]
started adding fittings to lights

7 years ago55 FPS, remove a blit.
Simon Cross [Fri, 9 Sep 2016 19:57:29 +0000 (21:57 +0200)]
55 FPS, remove a blit.

7 years agoFix rendering artifact by replacing a call to the function which should not be named...
Simon Cross [Fri, 9 Sep 2016 19:52:04 +0000 (21:52 +0200)]
Fix rendering artifact by replacing a call to the function which should not be named to draw.polygon.