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
bd8a841e6f
Don't updateSizeAndPosition on setPos as it might change texture and that isn't threadsafe
2021-05-25 20:21:26 +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
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
8540573455
SDLPP: RenderObject - use Vec2D
2021-03-15 14:43:56 +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
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
1f7a80d7d2
SDLPP: Save texture before rendering
...
In some cases texture might be changed after render() has been called
but before renderer presented the render, causing errors.
2021-01-30 21:30:51 +01:00
20c30712b9
SDLPP: make copySelf actually copy everything
2020-12-18 16:02:02 +01:00
633502b189
Split sdlpp into smaller files
2020-11-21 20:57:40 +01:00