94d24e37fa
Playing around with buttons
continuous-integration/drone/push Build is failing
2022-06-22 21:42:57 +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
7b1ef25f37
SDLPP: slight code cleanup
2021-08-07 12:13:03 +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
d267402ec5
Make cmake work on windows
2021-08-05 19:16:12 +02:00
509e5e36c2
Sdlpp: move to cmake
2021-08-05 17:55:55 +02:00
37f7bab63e
sdlpp_renderobject: getMovement is const
2021-08-04 23:29:18 +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
0b3689b0ae
SDLPP: add option to remove collisions
2021-05-31 18:54:17 +02:00
808f392119
Mario: silence some warnings
2021-05-31 14:30:28 +02:00
af94cc0e03
SDLPP: add option to get SRC rect of texture
2021-05-31 14:01:11 +02:00
db338fd544
SDLPP colidesWith: only add id once
...
Before this change collision id was added for every collision it was a
part of, but we only want that id once (the collider collided, that's all
that matters)
2021-05-27 18:08:48 +02:00
19c29b261c
Windows compatibility fixes
2021-05-26 14:17:07 +02:00
0c4f2482c7
SDLPP: Allow changing coliders' position
...
Requires `updateSizeAndPosition` to be run on the parent container
2021-05-25 22:05:00 +02:00
79d5f348c4
SDLPP: allow using shared pointers when adding collisions
2021-05-25 22:04:38 +02:00
bd8a841e6f
Don't updateSizeAndPosition on setPos as it might change texture and that isn't threadsafe
2021-05-25 20:21:26 +02:00
df61983f55
SDLPP: add .a library target
2021-05-25 16:34:21 +02:00
7390f684f5
SDLPP: rectcolider now has min height/width property
2021-05-25 12:18:03 +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
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
ff741dd882
SDLPP: add texture flipping/rotation
2021-04-29 13:06:37 +02:00
e5d0610f6d
SDLPP: add option to specify render object alignment
2021-04-27 15:58:01 +02:00
dd6f37264c
SDLPP: add collider IDs
2021-04-26 21:57:31 +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
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
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
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
a8ff8e49c7
SDLPP: Don't automatically updateSizeAndPosition with every text change
...
This can lead to problems becuase only main thread can update textures,
let programmers figure out when is the appropriate time to update a
texture.
2021-01-30 22:59:22 +01:00