Adrien Marquès
cb1a862b6f
make xSpriteGroup displace() actually update sprites with relative displace
2020-02-04 20:22:17 +01:00
Adrien Marquès
0b7e7a2948
set default xSprite clip / projection
2020-02-04 20:21:35 +01:00
Adrien Marquès
d1e6a1e9dc
add more xSprite SDL_Rect shorthands
2020-02-04 19:03:03 +01:00
Adrien Marquès
cc276e1c2a
make xSpriteGroup render all if not animated, and only the current frame in the other case
2020-02-04 18:58:09 +01:00
Adrien Marquès
49deb9e868
add xSprite constructors and SDL_Rect primitive shorthands
2020-02-04 18:56:49 +01:00
Adrien Marquès
7a6022e694
create orchestrable xSpriteGroup (no more xSprite alone)
2020-02-02 16:18:20 +01:00
Adrien Marquès
ab2f170def
replace xElement by xDrawable
...
also fix mutexes
2020-02-02 16:17:52 +01:00
Adrien Marquès
44de8cb3ea
Merge SpriteAnimation into xSprite and interface improvements
...
- remove dead code
- a sprite with no clip uses the default surface dimensions to draw
- a sprite with a single clip uses it
- a sprite with multiple clips (i.e. frames) has the first as a default but when orchestrated iterates over clips in order
2019-11-08 21:38:16 +01:00
Adrien Marquès
964d982b31
Fix xController macro
2019-11-06 22:50:02 +01:00
Adrien Marquès
57025d9ef3
Make xSpriteAnimation orchestrable and register every animation into the app when started
2019-11-06 22:50:02 +01:00
Adrien Marquès
2cbf3bc91b
Simplify push/pull by reference, no more string identifier
2019-11-06 22:47:11 +01:00
Adrien Marquès
0997541fc7
Simplify FPS management
2019-11-06 22:43:46 +01:00
Adrien Marquès
bbf5c25e8e
Create project barebone
...
- Create makefile that compiles everything and xSDL as a shared library (.so)
- Create xSDL base library (not stable)
- Add vscode settings (include path)
- Default main.h
2019-11-05 21:52:41 +01:00