Commit Graph

198 Commits

Author SHA1 Message Date
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
b0b84101a2 Mario: don't let Mario go left 2021-04-26 21:59:21 +02:00
dd6f37264c SDLPP: add collider IDs 2021-04-26 21:57:31 +02:00
19e66bf34a Mario: initial commit 2021-04-25 22:42:55 +02:00
7206dbf7c3 SDLPP: Scene - add visitCollisions function 2021-04-25 16:07:46 +02:00
5b96de0d9d SDLPP: Scene - add function to bring objet to the front or back of Z 2021-04-25 15:54:16 +02:00
1f5e3a999c SDLPP: add header files to sdlpp.hpp 2021-04-25 14:09:14 +02:00
87970bfc4b SDLPP: Visitor pattern 2021-04-25 13:57:33 +02:00
ee82430f82 SDLPP: animation/movement chagnes 2021-04-24 23:26:27 +02:00
6cfe2046d4 SDLPP: Formatting 2021-03-15 14:50:40 +01:00
4cd351c7a3 SDLPP: Texture - use SDL_Color 2021-03-15 14:48:48 +01:00
8540573455 SDLPP: RenderObject - use Vec2D 2021-03-15 14:43:56 +01:00
6ecdb6d90d SDLPP: Renderer/Scene - use Vec2D instead of std::pair 2021-03-15 14:37:53 +01:00
aaae85a932 SDLPP: LineRenderer - use new features 2021-03-15 14:30:01 +01:00
8b3eee0673 SDLPP: Split fontconfiguration into 2 files 2021-03-15 14:18:41 +01:00
406186d8bb TETRIS: Fix restart 2021-03-14 17:02:41 +01:00
594316dcea Tetris: formatting 2021-03-13 18:37:23 +01:00
2f20661b5b SDLPP: formatting, make compileable on Linux 2021-03-13 18:36:29 +01:00
d2cf54556e New collision detection 2021-03-13 15:05:16 +01:00
258ce51cfe Trying to switch to more object-oriented 2021-03-12 22:33:46 +01:00
fbe122a5b9 Added FEATURE flag, fixed rare segfault 2021-03-09 09:27:15 +01:00
bb502b37f4 Animation 2021-03-07 14:06:55 +01:00
c7ec12584c Add texture alpha blending 2021-03-07 13:18:58 +01:00
fbc1fdd6f7 Added source rectangle option for texture setting 2021-03-07 13:06:08 +01:00
fa10620901 TODOs 2021-03-07 12:20:00 +01:00
2661d6ca76 SDLPP: CircleRenderer can be rendered 2021-01-31 21:48:48 +01:00
8481560175 Decided this TODO isn't required 2021-01-31 18:17:41 +01:00
3de364ce26 TETRIS: make enough room for 'Quit Game' text 2021-01-31 16:02:08 +01:00
f92a94ef01 SDLPP: Don't save textures before render
Since textures should only be manipulated in the main thread (as well
as rendering), let programmers deal with ensuring the texture is
available during rendercopy
2021-01-31 15:56:47 +01:00
392bc4f203 TETRIS: Add windows_release target to Makefile 2021-01-30 23:14:12 +01:00
ba1e2a2dc5 TETRIS: Fix score not updating 2021-01-30 23:12:30 +01:00