Commit Graph

294 Commits

Author SHA1 Message Date
e283b36229 Mario: set scene's background objects 2021-08-07 21:59:06 +02:00
0608202483 SDLPP: add option to specify background objects in scene and move Z index of objects just above those background objects 2021-08-07 21:58:53 +02:00
f35aa095f3 Mario: remove useless debug outputs 2021-08-07 21:43:27 +02:00
f04dc1e23b Mario: mushroom interaction with Mario 2021-08-07 21:42:51 +02:00
7b2adac922 Mario: add mushroom block 2021-08-07 21:41:15 +02:00
a7aa86c8e3 Mario: simple blocks formatting 2021-08-07 21:39:54 +02:00
4742f3dd02 Mario: add travelToPos function to blocks 2021-08-07 21:39:15 +02:00
7cb3f95e44 Mario: loop through all moving objects in doInput 2021-08-07 21:38:00 +02:00
6238022ed2 Mario: fix modifier deletion 2021-08-07 12:13:23 +02:00
7b1ef25f37 SDLPP: slight code cleanup 2021-08-07 12:13:03 +02:00
d4393ef179 Mario: better handling of screen resize, when showing FPS consider input handling as well 2021-08-06 18:50:31 +02:00
4728056b76 SDLPP: add != for vector, add << for vector 2021-08-06 18:50:31 +02:00
b87318f44d SDLPP: add function that returns absolute position 2021-08-06 18:50:31 +02:00
7d9763443a Mario: update cmake to include brew libraries 2021-08-05 21:21:25 +02:00
d267402ec5 Make cmake work on windows 2021-08-05 19:16:12 +02:00
8e566ddb03 Mario: add sdlpp as a subdirectory instead of ExternalProject 2021-08-05 18:00:47 +02:00
509e5e36c2 Sdlpp: move to cmake 2021-08-05 17:55:55 +02:00
fe157494ec Ignore build dir everywhere 2021-08-05 17:55:16 +02:00
040b3b63c2 Move to CMake 2021-08-05 00:33:55 +02:00
bfe658618e Mario: prepartations for multiple moving objects 2021-08-05 00:32:54 +02:00
37f7bab63e sdlpp_renderobject: getMovement is const 2021-08-04 23:29:18 +02:00
e67cf508a2 Add coin animation 2021-07-24 20:50:24 +02:00
130a01feda Forgot to add coineditorblock 2021-07-24 20:48:37 +02:00
d638108223 Remove redundant functions from blocks.cpp, fix editor problem with pagination 2021-07-24 19:59:25 +02:00
3be728843a Refactor to use objects for terrain/mod creation, added coin modifier 2021-07-23 00:08:05 +02:00
79d9f266b4 SDLPP: add function to change texture while keeping SRC rect 2021-07-23 00:05:40 +02:00
0e71dfa7d5 SDLPP: make text change only happen in render() 2021-07-23 00:05:13 +02:00
76f5c43197 Mod texture image 2021-06-24 20:54:18 +02:00
2617156833 Mod texture 2021-06-24 20:53:58 +02:00
b423ac7b8c Mario: add option to make a block collision-less 2021-06-21 19:40:29 +02:00
a54d079fd2 Mario: add MapObject and use that instead of tuples 2021-06-07 23:48:28 +02:00
76f55fd98c Mario Editor: fix highlighting 2021-06-04 14:49:24 +02:00
301c4f3142 Mario Editor: initialize empty map with correct column size 2021-06-04 14:39:23 +02:00
0475f4967b Mario Editor: smaller block size 2021-06-01 10:18:33 +02:00
243c1d9d04 Mario: add a dictionary of flags for each block 2021-05-31 18:54:59 +02:00
af3954cb61 Mario: merge mapLoader functions into one 2021-05-31 18:54:43 +02:00
0b3689b0ae SDLPP: add option to remove collisions 2021-05-31 18:54:17 +02:00
78c9b9feb0 Mario: fix function name 2021-05-31 17:28:26 +02:00
57a573783d Mario Editor: change function name 2021-05-31 16:10:19 +02:00
2b405c5d31 Mario Editor: change edit boxes' indexing to 1-based
As the left map arrow is on position 0 * BLOCK_SIZE and the first edit
box is on position 1 * BLOCK_SIZE, indexing them from 1 causes slightly
more readable code
2021-05-31 16:08:14 +02:00
26cbdd0f8e Mario: add block's land type when creating block 2021-05-31 16:07:55 +02:00
808f392119 Mario: silence some warnings 2021-05-31 14:30:28 +02:00
5d20757d43 Mario Editor: formatting 2021-05-31 14:04:28 +02:00
cd0a301e52 Mario Editor: add land type switching 2021-05-31 14:03:11 +02:00
af94cc0e03 SDLPP: add option to get SRC rect of texture 2021-05-31 14:01:11 +02:00
3bef592cb1 Mario Editor: formatting 2021-05-29 19:24:47 +02:00
58974f8a7e Mario Editor: add tool highlighting + WSAD controls 2021-05-29 19:17:45 +02:00
3cb36fe180 Mario Editor: add tool populating function 2021-05-29 13:21:01 +02:00
5b8c0f88bb Mario Editor: turn grid/arrow creation into a function 2021-05-29 11:38:45 +02:00
a55a9142af Mario: slight editor UI update 2021-05-28 20:00:15 +02:00