Commit Graph

32 Commits

Author SHA1 Message Date
6a7843f314 Added serialization of game state. 2020-05-11 03:09:01 +02:00
0cb57c5940 Changed config dir (more unique). 2020-05-11 02:52:42 +02:00
e26de92f1d Maded flower buttons smaller (less tall). 2020-05-11 02:50:39 +02:00
3a8ad733a4 Enabled VSync & added setting. 2020-05-11 01:20:23 +02:00
a07d3c1c82 Changed panning of map (Ctrl+LMB or MMB instead of LMB). 2020-05-11 01:15:48 +02:00
14454cfd5e Switched coneflower & tulip. 2020-05-11 00:46:26 +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
cd5ca3f04f Added tool to color image.
Separated some image related methods.
Added feedback for simulation speed (colored buttons).
2020-05-10 17:40:56 +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
1cf13b0ec9 Added color parsing (hex to sdl.Color). 2020-05-10 10:57:13 +02:00
8e2b80395d Added support for (horizontally) aligment on text rendering. 2020-05-10 10:57:00 +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
1e407e21c0 Added tool to crop & resize images. 2020-05-10 09:21:48 +02:00
d6502c9080 Added disabled flowers (for button bar). 2020-05-10 01:40:54 +02:00
cbb6e6c144 Added button bars.
No tile is hovered when mouse is over button bars.
2020-05-10 00:19:44 +02:00
b9515823d3 Added tool to change alpha layer of image. 2020-05-09 22:50:29 +02:00
72da0ef462 Added hover effect for terrain. 2020-05-09 22:50:11 +02:00
c02fb342a7 Updated comments on noise maps. 2020-05-09 19:37:21 +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
0a73529306 Separated the lazy text rendering method. 2020-05-09 16:48:18 +02:00
58aa819a4e Added FPS. 2020-05-09 15:32:43 +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
dcd4979a6f Removed example. 2020-05-09 07:58:50 +02:00
37589d5396 Added simple terrain. 2020-05-09 07:48:02 +02:00
a56ceae2e3 Added a base (mainly initialization). 2020-05-08 18:38:26 +02:00
9d2b259ba1 Empty project. 2020-05-08 13:08:41 +02:00