tabakrolletjie.git
8 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.

8 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

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

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

8 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

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

8 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

8 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.

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

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

8 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

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

8 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

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

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

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

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

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

8 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

8 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

8 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

8 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.

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

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

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

8 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.

8 years agoRemove debug.
Simon Cross [Fri, 9 Sep 2016 19:42:03 +0000 (21:42 +0200)]
Remove debug.

8 years ago40 FPS and one fewer temporary surfaces.
Simon Cross [Fri, 9 Sep 2016 19:40:32 +0000 (21:40 +0200)]
40 FPS and one fewer temporary surfaces.

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

8 years agoDon't repeatedly reload soil.
Simon Cross [Fri, 9 Sep 2016 19:12:08 +0000 (21:12 +0200)]
Don't repeatedly reload soil.

8 years agoAdd support for transforming images when loading them (pt II).
Simon Cross [Fri, 9 Sep 2016 19:09:20 +0000 (21:09 +0200)]
Add support for transforming images when loading them (pt II).

8 years agoAdd support for transforming images when loading them.
Simon Cross [Fri, 9 Sep 2016 19:09:01 +0000 (21:09 +0200)]
Add support for transforming images when loading them.

8 years agoSecond test station
Neil [Fri, 9 Sep 2016 19:05:22 +0000 (21:05 +0200)]
Second test station

8 years agoAdd load level scene
Neil [Fri, 9 Sep 2016 19:05:03 +0000 (21:05 +0200)]
Add load level scene

8 years agoFlake8
Neil [Fri, 9 Sep 2016 19:04:03 +0000 (21:04 +0200)]
Flake8

8 years agoRestrict damage by light radius
Neil [Fri, 9 Sep 2016 18:46:05 +0000 (20:46 +0200)]
Restrict damage by light radius

8 years agoadded rock texture to wall
adrianna [Fri, 9 Sep 2016 18:54:39 +0000 (20:54 +0200)]
added rock texture to wall

8 years agoMerge branch 'master' of ctpug.org.za:tabakrolletjie
Simon Cross [Fri, 9 Sep 2016 18:39:16 +0000 (20:39 +0200)]
Merge branch 'master' of ctpug.org.za:tabakrolletjie

8 years agoUse rects to improve rendering times.
Simon Cross [Fri, 9 Sep 2016 18:39:10 +0000 (20:39 +0200)]
Use rects to improve rendering times.

8 years agoAdd utility for detailed performance profiling.
Simon Cross [Fri, 9 Sep 2016 18:36:45 +0000 (20:36 +0200)]
Add utility for detailed performance profiling.

8 years agoadded soil background for day and night; recoloured seed
adrianna [Fri, 9 Sep 2016 17:53:10 +0000 (19:53 +0200)]
added soil background for day and night; recoloured seed

8 years agoeyelid
adrianna [Fri, 9 Sep 2016 16:57:12 +0000 (18:57 +0200)]
eyelid

8 years agopseudo-random turnip rotation
adrianna [Fri, 9 Sep 2016 15:17:27 +0000 (17:17 +0200)]
pseudo-random turnip rotation

8 years agoNom
Neil [Fri, 9 Sep 2016 10:25:17 +0000 (12:25 +0200)]
Nom

8 years agoRender turnips in same order for day and night
Neil [Fri, 9 Sep 2016 10:12:59 +0000 (12:12 +0200)]
Render turnips in same order for day and night

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

8 years agoFix lights -- Eeeee. :)
Simon Cross [Thu, 8 Sep 2016 22:32:09 +0000 (00:32 +0200)]
Fix lights -- Eeeee. :)

8 years agonaming consistency
adrianna [Thu, 8 Sep 2016 22:27:14 +0000 (00:27 +0200)]
naming consistency

8 years agobetter eyeballs
adrianna [Thu, 8 Sep 2016 22:25:29 +0000 (00:25 +0200)]
better eyeballs

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

8 years agoFix check for segment query result.
Simon Cross [Thu, 8 Sep 2016 22:23:55 +0000 (00:23 +0200)]
Fix check for segment query result.

8 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

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

8 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

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

8 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

8 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

8 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

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

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

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

8 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

8 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

8 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

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

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

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

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

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

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

8 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

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

8 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.

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

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

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

8 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.

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

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

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

8 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.

8 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

8 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.

8 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

8 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.

8 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

8 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

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

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

8 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

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

8 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

8 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.

8 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

8 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.

8 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

8 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.

8 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

8 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.

8 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