tabakrolletjie.git
7 years agotweaked eyeball; made eyeballs less frequent; fixed mould transparency and corrected...
adrianna [Thu, 8 Sep 2016 22:12:24 +0000 (00:12 +0200)]
tweaked eyeball; made eyeballs less frequent; fixed mould transparency and corrected blend mode

7 years agoFlake8
Neil [Thu, 8 Sep 2016 21:45:52 +0000 (23:45 +0200)]
Flake8

7 years agoAdd counter text to day scene
Neil [Thu, 8 Sep 2016 21:44:14 +0000 (23:44 +0200)]
Add counter text to day scene

7 years agoAdd pause button.
Simon Cross [Thu, 8 Sep 2016 21:22:23 +0000 (23:22 +0200)]
Add pause button.

7 years agoMerge branch 'master' of ctpug:tabakrolletjie
Neil [Thu, 8 Sep 2016 20:59:44 +0000 (22:59 +0200)]
Merge branch 'master' of ctpug:tabakrolletjie

7 years agoAdd turnips to the space and check for collisions when planting them
Neil [Thu, 8 Sep 2016 20:59:36 +0000 (22:59 +0200)]
Add turnips to the space and check for collisions when planting them

7 years agoMerge branch 'master' of ctpug.org.za:tabakrolletjie
Simon Cross [Thu, 8 Sep 2016 20:55:12 +0000 (22:55 +0200)]
Merge branch 'master' of ctpug.org.za:tabakrolletjie

7 years agoSlightly better ray poly updating.
Simon Cross [Thu, 8 Sep 2016 20:54:57 +0000 (22:54 +0200)]
Slightly better ray poly updating.

7 years agoAdd basic turnip life-cycle
Neil [Thu, 8 Sep 2016 20:38:03 +0000 (22:38 +0200)]
Add basic turnip life-cycle

7 years agoAdd reset tool button
Neil [Thu, 8 Sep 2016 19:05:01 +0000 (21:05 +0200)]
Add reset tool button

7 years agoHack in support for tool cursors
Neil [Thu, 8 Sep 2016 18:24:43 +0000 (20:24 +0200)]
Hack in support for tool cursors

7 years agoAdd key to trigger day/night transitions for now
Neil [Thu, 8 Sep 2016 17:50:10 +0000 (19:50 +0200)]
Add key to trigger day/night transitions for now

7 years agoAdd name to buttons to simplify logic
Neil [Thu, 8 Sep 2016 12:07:29 +0000 (14:07 +0200)]
Add name to buttons to simplify logic

7 years agoFlake8
Neil [Thu, 8 Sep 2016 12:03:26 +0000 (14:03 +0200)]
Flake8

7 years agoAdd image button
Neil [Thu, 8 Sep 2016 12:02:22 +0000 (14:02 +0200)]
Add image button

7 years agowidgets start arriving
Neil [Thu, 8 Sep 2016 10:40:24 +0000 (12:40 +0200)]
widgets start arriving

7 years agoDraw menu items
Neil [Thu, 8 Sep 2016 10:11:00 +0000 (12:11 +0200)]
Draw menu items

7 years agoAdd bold font
Neil [Thu, 8 Sep 2016 10:10:26 +0000 (12:10 +0200)]
Add bold font

7 years agoRemove some hacking.
Simon Cross [Wed, 7 Sep 2016 21:48:57 +0000 (23:48 +0200)]
Remove some hacking.

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

7 years agoSet angular velocity.
Simon Cross [Wed, 7 Sep 2016 21:30:22 +0000 (23:30 +0200)]
Set angular velocity.

7 years agoHacky demonstration of changing angle limits.
Simon Cross [Wed, 7 Sep 2016 21:30:04 +0000 (23:30 +0200)]
Hacky demonstration of changing angle limits.

7 years agoChanging polys (badly).
Simon Cross [Wed, 7 Sep 2016 21:29:41 +0000 (23:29 +0200)]
Changing polys (badly).

7 years agoAdd ticks for lights.
Simon Cross [Wed, 7 Sep 2016 21:29:11 +0000 (23:29 +0200)]
Add ticks for lights.

7 years agomould has eyeballs
adrianna [Wed, 7 Sep 2016 21:26:24 +0000 (23:26 +0200)]
mould has eyeballs

7 years agoFetch pygame polys from ray manager.
Simon Cross [Wed, 7 Sep 2016 20:11:27 +0000 (22:11 +0200)]
Fetch pygame polys from ray manager.

7 years agoFactor out ray manager.
Simon Cross [Wed, 7 Sep 2016 20:02:02 +0000 (22:02 +0200)]
Factor out ray manager.

7 years agoOccasional sounds
Neil [Wed, 7 Sep 2016 19:41:14 +0000 (21:41 +0200)]
Occasional sounds

7 years agoSketch in sound support
Neil [Wed, 7 Sep 2016 19:41:04 +0000 (21:41 +0200)]
Sketch in sound support

7 years agoAllow turning on just a single debug point.
Simon Cross [Wed, 7 Sep 2016 19:20:22 +0000 (21:20 +0200)]
Allow turning on just a single debug point.

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

7 years agoMove ray manipulation into a separate module.
Simon Cross [Wed, 7 Sep 2016 19:12:07 +0000 (21:12 +0200)]
Move ray manipulation into a separate module.

7 years agomade mould more mouldy; probably need to fix collision detection now
adrianna [Wed, 7 Sep 2016 18:59:26 +0000 (20:59 +0200)]
made mould more mouldy; probably need to fix collision detection now

7 years agoClean up temporary surface usage and remove used of .arc.
Simon Cross [Wed, 7 Sep 2016 18:53:27 +0000 (20:53 +0200)]
Clean up temporary surface usage and remove used of .arc.

7 years agoAvoid surface.copy for the cases where we blow away the contents
Neil [Wed, 7 Sep 2016 14:29:55 +0000 (16:29 +0200)]
Avoid surface.copy for the cases where we blow away the contents

7 years agoRefactor mould drawing code. Use shape_query for lighting information
Neil [Wed, 7 Sep 2016 13:32:41 +0000 (15:32 +0200)]
Refactor mould drawing code. Use shape_query for lighting information

7 years agoAdd shape-based light query
Neil [Wed, 7 Sep 2016 13:30:30 +0000 (15:30 +0200)]
Add shape-based light query

7 years agoFlake8
Neil [Wed, 7 Sep 2016 11:02:16 +0000 (13:02 +0200)]
Flake8

7 years agoAdd 'draw_fps' setting and support
Neil [Wed, 7 Sep 2016 11:02:07 +0000 (13:02 +0200)]
Add 'draw_fps' setting and support

7 years agoNote additional source information
Neil [Wed, 7 Sep 2016 11:00:25 +0000 (13:00 +0200)]
Note additional source information

7 years agoAdd font loader and DejaVu sans font
Neil [Wed, 7 Sep 2016 11:00:13 +0000 (13:00 +0200)]
Add font loader and DejaVu sans font

7 years agoChange limits to avoid pygame.draw.arc's degenerate behaviour.
Neil [Wed, 7 Sep 2016 09:11:37 +0000 (11:11 +0200)]
Change limits to avoid pygame.draw.arc's degenerate behaviour.

Pygame's draw arc is buggy, and confuses degrees and radians in the case
when start_angle > stop_angle. Pygame adds 360 radians to stop_angle,
instead of 360 degrees. This results in incorrect output, and absolutely
terrible performance.

7 years agoHide loader path print behind debug
Neil [Wed, 7 Sep 2016 09:08:09 +0000 (11:08 +0200)]
Hide loader path print behind debug

7 years agoHacky light rendering limited by distance and angle.
Simon Cross [Tue, 6 Sep 2016 22:43:46 +0000 (00:43 +0200)]
Hacky light rendering limited by distance and angle.

7 years agoSimple light damage using lit_by
Neil [Tue, 6 Sep 2016 21:58:06 +0000 (23:58 +0200)]
Simple light damage using lit_by

7 years agoAdd function that returns whether a position is lit.
Simon Cross [Tue, 6 Sep 2016 20:54:58 +0000 (22:54 +0200)]
Add function that returns whether a position is lit.

7 years agoMerge branch 'master' of ctpug.org.za:tabakrolletjie
Simon Cross [Tue, 6 Sep 2016 20:33:50 +0000 (22:33 +0200)]
Merge branch 'master' of ctpug.org.za:tabakrolletjie

7 years agoLights can now be turned on and off at night.
Simon Cross [Tue, 6 Sep 2016 20:33:35 +0000 (22:33 +0200)]
Lights can now be turned on and off at night.

7 years agoTweak mould rendering logic to have sane realtionship between image position and...
Neil [Tue, 6 Sep 2016 20:26:57 +0000 (22:26 +0200)]
Tweak mould rendering logic to have sane realtionship between image position and actual position

7 years agoNight shift managers.
Simon Cross [Tue, 6 Sep 2016 20:29:54 +0000 (22:29 +0200)]
Night shift managers.

7 years agoAdd obstacle manager and move nearest calculation to light manager.
Simon Cross [Tue, 6 Sep 2016 20:28:09 +0000 (22:28 +0200)]
Add obstacle manager and move nearest calculation to light manager.

7 years agoAdd light manager.
Simon Cross [Tue, 6 Sep 2016 20:17:37 +0000 (22:17 +0200)]
Add light manager.

7 years agoUse images to draw Boyd
Neil [Tue, 6 Sep 2016 20:05:34 +0000 (22:05 +0200)]
Use images to draw Boyd

7 years agoImage loading
Neil [Tue, 6 Sep 2016 20:04:36 +0000 (22:04 +0200)]
Image loading

7 years agoMove images into data
Neil [Tue, 6 Sep 2016 20:03:46 +0000 (22:03 +0200)]
Move images into data

7 years agoClickable lights.
Simon Cross [Tue, 6 Sep 2016 20:01:18 +0000 (22:01 +0200)]
Clickable lights.

7 years agoAdd broken click handling.
Simon Cross [Tue, 6 Sep 2016 19:44:40 +0000 (21:44 +0200)]
Add broken click handling.

7 years agoAdd circular fitting to lights.
Simon Cross [Tue, 6 Sep 2016 19:44:18 +0000 (21:44 +0200)]
Add circular fitting to lights.

7 years agoAdd fitings category.
Simon Cross [Tue, 6 Sep 2016 19:43:42 +0000 (21:43 +0200)]
Add fitings category.

7 years agoRender Boyd under the lights and such
Neil [Tue, 6 Sep 2016 19:24:34 +0000 (21:24 +0200)]
Render Boyd under the lights and such

7 years agoRemove extra LIGHT_FILTER from mould.
Simon Cross [Tue, 6 Sep 2016 19:10:18 +0000 (21:10 +0200)]
Remove extra LIGHT_FILTER from mould.

7 years agoAutomatically load a station for now.
Simon Cross [Tue, 6 Sep 2016 18:53:36 +0000 (20:53 +0200)]
Automatically load a station for now.

7 years agoUse debug_timer on lights.
Simon Cross [Tue, 6 Sep 2016 18:49:06 +0000 (20:49 +0200)]
Use debug_timer on lights.

7 years agoUse debug_timer at night.
Simon Cross [Tue, 6 Sep 2016 18:46:32 +0000 (20:46 +0200)]
Use debug_timer at night.

7 years agoAdd timing utility.
Simon Cross [Tue, 6 Sep 2016 18:45:04 +0000 (20:45 +0200)]
Add timing utility.

7 years agoAllow setting DEBUG via an environment variable.
Simon Cross [Tue, 6 Sep 2016 18:44:39 +0000 (20:44 +0200)]
Allow setting DEBUG via an environment variable.

7 years agoAdd a day scene.
Simon Cross [Tue, 6 Sep 2016 18:31:04 +0000 (20:31 +0200)]
Add a day scene.

7 years agoAdd toggle method to lights.
Simon Cross [Tue, 6 Sep 2016 18:24:27 +0000 (20:24 +0200)]
Add toggle method to lights.

7 years agoEnter Boyd, from not exactly stage left.
Neil [Tue, 6 Sep 2016 15:44:25 +0000 (17:44 +0200)]
Enter Boyd, from not exactly stage left.

7 years agoAdvance time
Neil [Tue, 6 Sep 2016 15:44:05 +0000 (17:44 +0200)]
Advance time

7 years agoScreenshots for today's diary entry
Neil [Mon, 5 Sep 2016 20:12:29 +0000 (22:12 +0200)]
Screenshots for today's diary entry

7 years agoAdd very hack'ish rotating light via pymunk thing
Neil [Mon, 5 Sep 2016 20:12:10 +0000 (22:12 +0200)]
Add very hack'ish rotating light via pymunk thing

7 years agoAdd day 1 screenshot.
Simon Cross [Sun, 4 Sep 2016 22:12:49 +0000 (00:12 +0200)]
Add day 1 screenshot.

7 years agoSeparate rendering of lights and light fixtures.
Simon Cross [Sun, 4 Sep 2016 22:07:17 +0000 (00:07 +0200)]
Separate rendering of lights and light fixtures.

7 years agoKeep number of vertices low during ray tracing.
Simon Cross [Sun, 4 Sep 2016 21:19:24 +0000 (23:19 +0200)]
Keep number of vertices low during ray tracing.

7 years agoAdd performance debugging for lights.
Simon Cross [Sun, 4 Sep 2016 20:56:08 +0000 (22:56 +0200)]
Add performance debugging for lights.

7 years agoMerge branch 'master' of ctpug.org.za:tabakrolletjie
Simon Cross [Sun, 4 Sep 2016 20:42:31 +0000 (22:42 +0200)]
Merge branch 'master' of ctpug.org.za:tabakrolletjie

7 years agoFix flake8 warnings.
Simon Cross [Sun, 4 Sep 2016 20:41:44 +0000 (22:41 +0200)]
Fix flake8 warnings.

7 years agoFirst working version of light rays.
Simon Cross [Sun, 4 Sep 2016 20:40:39 +0000 (22:40 +0200)]
First working version of light rays.

7 years agoTweak the colour of night.
Simon Cross [Sun, 4 Sep 2016 20:39:45 +0000 (22:39 +0200)]
Tweak the colour of night.

7 years agoAdd filter to obstacle shapes.
Simon Cross [Sun, 4 Sep 2016 20:39:29 +0000 (22:39 +0200)]
Add filter to obstacle shapes.

7 years agoAdd pymunk category constants.
Simon Cross [Sun, 4 Sep 2016 20:39:02 +0000 (22:39 +0200)]
Add pymunk category constants.

7 years agoAdd third obstacle.
Simon Cross [Sun, 4 Sep 2016 20:38:35 +0000 (22:38 +0200)]
Add third obstacle.

7 years agomade spotlight bigger; added more light types
adrianna [Sun, 4 Sep 2016 19:53:21 +0000 (21:53 +0200)]
made spotlight bigger; added more light types

7 years agotextures
adrianna [Sun, 4 Sep 2016 19:24:35 +0000 (21:24 +0200)]
textures

7 years agospotlight
adrianna [Sun, 4 Sep 2016 18:07:05 +0000 (20:07 +0200)]
spotlight

7 years agosome pngs and makefile
adrianna [Sun, 4 Sep 2016 17:30:07 +0000 (19:30 +0200)]
some pngs and makefile

7 years agoHook up lights and refactor obstacle loading.
Simon Cross [Sun, 4 Sep 2016 17:28:23 +0000 (19:28 +0200)]
Hook up lights and refactor obstacle loading.

7 years agot pushMerge branch 'master' of ctpug.org.za:tabakrolletjie
Simon Cross [Sun, 4 Sep 2016 17:09:04 +0000 (19:09 +0200)]
t pushMerge branch 'master' of ctpug.org.za:tabakrolletjie

7 years agoDraft of adding lights to a space.
Simon Cross [Sun, 4 Sep 2016 17:08:52 +0000 (19:08 +0200)]
Draft of adding lights to a space.

7 years agoHack'ish rendering of walls
Neil [Sun, 4 Sep 2016 17:06:42 +0000 (19:06 +0200)]
Hack'ish rendering of walls

7 years agoAdd utility for loading a light.
Simon Cross [Sun, 4 Sep 2016 16:46:39 +0000 (18:46 +0200)]
Add utility for loading a light.

7 years agoInclude all source files.
Simon Cross [Sun, 4 Sep 2016 16:33:31 +0000 (18:33 +0200)]
Include all source files.

7 years agoIgnore build files.
Simon Cross [Sun, 4 Sep 2016 16:33:21 +0000 (18:33 +0200)]
Ignore build files.

7 years agoAdd setup.py file.
Simon Cross [Sun, 4 Sep 2016 16:28:53 +0000 (18:28 +0200)]
Add setup.py file.

7 years agoAdd MIT-ish license.
Simon Cross [Sun, 4 Sep 2016 16:24:07 +0000 (18:24 +0200)]
Add MIT-ish license.

7 years agoAdd very hacky level loading.
Simon Cross [Sun, 4 Sep 2016 16:17:57 +0000 (18:17 +0200)]
Add very hacky level loading.

7 years agoFix Station Alpha JSON.
Simon Cross [Sun, 4 Sep 2016 16:17:05 +0000 (18:17 +0200)]
Fix Station Alpha JSON.

7 years agoFix flake8 issues.
Simon Cross [Sun, 4 Sep 2016 15:51:29 +0000 (17:51 +0200)]
Fix flake8 issues.

7 years agoMerge branch 'master' of ctpug.org.za:tabakrolletjie
Simon Cross [Sun, 4 Sep 2016 15:46:30 +0000 (17:46 +0200)]
Merge branch 'master' of ctpug.org.za:tabakrolletjie