Commit Graph

228 Commits

Author SHA1 Message Date
bd8a841e6f Don't updateSizeAndPosition on setPos as it might change texture and that isn't threadsafe 2021-05-25 20:21:26 +02:00
670d5b7c1b Mario: added fps counter 2021-05-25 20:21:02 +02:00
cc6f3f838b Updated gitignore 2021-05-25 16:35:46 +02:00
91df7c3f63 Mario: use .a library instead of dynamic 2021-05-25 16:34:44 +02:00
df61983f55 SDLPP: add .a library target 2021-05-25 16:34:21 +02:00
f0df1cc3b2 Mario: remove destructible used for testing 2021-05-25 12:27:26 +02:00
7ed8b0f4e1 Mario: destroy blocks 1 at a time, if jumping and would hit only with small side, move Mario a bit so the jump is successful 2021-05-25 12:26:04 +02:00
7390f684f5 SDLPP: rectcolider now has min height/width property 2021-05-25 12:18:03 +02:00
b75b44201a Mario: destructible blocks 2021-05-24 00:07:40 +02:00
bea479bf72 Mario: top collision detection 2021-05-23 23:57:29 +02:00
8672830db8 Mario: jumping sprite + head bump colider 2021-05-23 23:45:45 +02:00
088fb4d15a Jumping experiment 2021-05-23 23:32:15 +02:00
930875ccf8 Mario: simple jump 2021-05-22 23:54:01 +02:00
d9a88f2de2 Mario: custom mario class 2021-05-22 23:13:26 +02:00
0358aa36c7 Mario: proper position when standing on ground 2021-05-22 22:36:53 +02:00
d04cbea02d Mario: editor - move all global vars into a single struct 2021-05-22 22:13:22 +02:00
d80ae9a4e2 Mario editor: more refactoring 2021-05-09 20:45:52 +02:00
ede8bbbe8b Mario Editor: refactoring 2021-05-09 20:21:53 +02:00
83cda5f860 Mario editor: formatting 2021-05-09 00:46:10 +02:00
b54ba5034c Mario editor: started refactoring 2021-05-09 00:43:53 +02:00
7b4c3c9697 Mario: add Roboto font to git 2021-05-07 23:17:49 +02:00
c849895c72 Mario editor: more terrain, can place Mario 2021-05-07 23:17:05 +02:00
85807ca962 Mario editor: added more terrain blocks 2021-05-07 10:36:45 +02:00
900382bfce Mario editor: fix tool selection 2021-05-07 10:36:31 +02:00
e084ed6f86 Mario editor: can paginate blocks now 2021-05-07 10:08:41 +02:00
f89d36c177 Mario Editor: Tool selection alpha 2021-05-07 09:43:57 +02:00
c383654349 Mario editor: add + button for columns 2021-05-07 08:49:46 +02:00
7b0f72e273 Mario map: initial map has 18 columns 2021-05-07 08:35:01 +02:00
ad7f737e16 Mario editor: don't delete characters when changing terrain 2021-05-02 14:43:15 +02:00
8b8f3b7f06 Mario editor: switching between blocks 2021-05-02 14:28:17 +02:00
96857a99af Mario editor: use visitors 2021-05-02 14:14:11 +02:00
34324d3054 SDLPP: get/set id in visitor 2021-05-02 14:03:43 +02:00
e84284e613 SDLPP: can set minimal width/height on rectangle renderer 2021-05-02 14:03:26 +02:00
61e45e89a5 Basic editor functionality arrived!
Terrible code, must be changed!!!
2021-05-01 21:55:43 +02:00
183bd53b66 Mario: saving map as binary file v1.0 2021-04-30 23:12:53 +02:00
d4991ea3a7 Starting Mario Editor project 2021-04-30 21:02:14 +02:00
1927b71629 Preparation for different types of terrain 2021-04-30 09:10:58 +02:00
5562ca4d82 Tetris: mouse proof-of-concept 2021-04-29 19:49:04 +02:00
4e81ac6562 SDLPP: if one object is entirely contained within another, it is a collision 2021-04-29 19:48:45 +02:00
4f20274f11 SDLPP: mouse position functions 2021-04-29 19:48:05 +02:00
90dc26251b Tetris: use new API 2021-04-29 13:25:55 +02:00
b52dee267b Mario: flip texture according to movement direction 2021-04-29 13:08:08 +02:00
ff741dd882 SDLPP: add texture flipping/rotation 2021-04-29 13:06:37 +02:00
b611e2479a Mario: detect left/right collision 2021-04-29 12:33:31 +02:00
e8e9e12b58 Ignore clangd files 2021-04-29 12:33:06 +02:00
7c38e122d0 Mario: use object alignment 2021-04-27 15:58:01 +02:00
e5d0610f6d SDLPP: add option to specify render object alignment 2021-04-27 15:58:01 +02:00
fc1d06a2b8 Added README 2021-04-26 22:21:50 +02:00
0f1e44615c Mario: include testmap in git 2021-04-26 22:16:53 +02:00
5d03da3131 Mario: remove linux-specific includes 2021-04-26 22:16:25 +02:00