Commit Graph

22 Commits

Author SHA1 Message Date
66eaa054c5 Refactored Botanim to use zntg (rendering abstraction). 2020-05-23 10:30:49 +02:00
76ac685cbb Added panning with keyboard.
Changed D for digging into H for harvesting.
2020-05-14 07:47:29 +02:00
ee7f99166c Command (Windows) key is now supported as modifier key for dragging. 2020-05-11 15:48:18 +02:00
1008b7b34b Can't plant flower when the control key is still down. 2020-05-11 15:32:41 +02:00
5ebd582498 Added keyboard support for zooming.
Added information but to show intro.
2020-05-11 12:05:54 +02:00
9641719579 Added intro dialog.
Refactored event handling to be able to "handle" events so no other controls will handle the same event again.
2020-05-11 11:44:50 +02:00
a72f416650 Disable hover effects when mouse leaves window. 2020-05-11 08:03:33 +02:00
6a7843f314 Added serialization of game state. 2020-05-11 03:09:01 +02:00
a07d3c1c82 Changed panning of map (Ctrl+LMB or MMB instead of LMB). 2020-05-11 01:15:48 +02:00
3407a93586 Added flower types. 2020-05-11 00:00:35 +02:00
1c208152e8 Implemented digging of flowers.
Renamed poppy to anemone.
2020-05-10 23:00:19 +02:00
243e204f48 Added game mechanic to buy/plant flowers. 2020-05-10 20:44:20 +02:00
b14f79a61a Lots of UI work.
Added more icons and placed buttons on the bars.
Implemented pause/run/fast.
2020-05-10 17:16:18 +02:00
44aef25d34 Zoom around tile that is hovered.
Inversed zoom on projection (previously how much smaller the content would be, now it is the magnification).
2020-05-10 12:40:44 +02:00
5c0824bafb Extended ControlBase. Added/changed Point/PointF/Rectangle (now backed by SDL struct). Tweaked poppy traits. 2020-05-10 12:22:07 +02:00
69c8ae72f3 Updated textures (cropped & slightly resized).
Textures used to be 512x512px, cropped them to 128x160px. The width of the texture was first cropped to 130px and then resized to 128px (height was not resized).
2020-05-10 10:56:20 +02:00
cbb6e6c144 Added button bars.
No tile is hovered when mouse is over button bars.
2020-05-10 00:19:44 +02:00
72da0ef462 Added hover effect for terrain. 2020-05-09 22:50:11 +02:00
2413c7d3d4 Added flowers (+ basic simulation).
Added resource loader (load list of textures).
2020-05-09 19:34:43 +02:00
b32017f18a Added clipping to terrain renderer. 2020-05-09 16:48:39 +02:00
8dd47c5ec2 Added storing of window size. 2020-05-09 14:02:00 +02:00
27afe594fe Added renderer.
Added props.
Added map movement (dragging & hovering).
2020-05-09 13:55:37 +02:00