SeanOMik
7408206107
Change quit to destroying
2021-11-20 00:06:50 -05:00
SeanOMik
32f83fa67b
Change the particle example to move the particle emitter to the mouse
2021-03-29 22:10:54 -05:00
SeanOMik
bde19814a5
Switch particle lifetimes to use std::chrono instead of sf::Clock
...
Also create emitter properties, fix some code and some other things.
2021-03-29 19:52:27 -05:00
SeanOMik
c949d44d98
Move some code into source files, create alternative constructors
...
The constructors were for the particle properties
2021-03-22 19:54:32 -05:00
SeanOMik
d5eeeb4553
Create an early particle system
2021-03-22 18:56:29 -05:00
SeanOMik
f97f882845
Update MovementComponent to use EventCallbacks for input.
2021-03-21 19:55:29 -05:00
SeanOMik
62ade4de04
Create simpleengine::Random class, remove simpleengine::random namespace
2021-03-12 21:27:45 -06:00
SeanOMik
8848047f73
Create an EventCallback system
2021-03-12 21:01:38 -06:00
SeanOMik
b9255b1bfb
Compiler warnings, and don't dynamic_cast twice in Entity::GetComponent
2021-03-12 17:33:10 -06:00
SeanOMik
4e15efa665
Change created by date for collision handler header.
2021-03-12 16:45:00 -06:00
SeanOMik
5984c75047
Create terrible collision system and mostly finish snake example
2021-03-01 22:08:10 -06:00
SeanOMik
6c28dba5dc
Update snake example, remove some compiler warning
2020-11-04 12:57:44 -06:00
SeanOMik
17b81c83cc
Use shared_ptr for components instead of unique_ptr
2020-07-12 23:16:59 -05:00
SeanOMik
5427f85c0a
Update animation example
2020-07-12 22:42:10 -05:00
SeanOMik
63b2d506ba
Start work on the HitboxComponent.
2020-07-07 00:52:03 -05:00
SeanOMik
06c17658e6
Fix some things with the animation class.
...
The user wouldn't be able to set a custom scale to their sprite if they used the SSMA component due to it resetting the scale when the sprite was flipped.
2020-07-06 15:05:21 -05:00
SeanOMik
f237cf9eff
Dont add MovementComponent to animation example
2020-07-06 14:11:42 -05:00
SeanOMik
542974caa7
Rename `side_scroller_movement_animation` files to `ssma_component`
2020-07-06 01:02:26 -05:00
SeanOMik
0969a9fb12
Prefix `MovementAnimationComponent` class with SideScroller
...
The class is really only set up for side scrollers for now
2020-07-06 00:56:48 -05:00
SeanOMik
3b63025a3f
Separate `&` from parameter names in methods.
2020-07-06 00:45:24 -05:00
SeanOMik
7787e44fbb
Add a MovementAnimationComponent
2020-07-06 00:44:18 -05:00
SeanOMik
dd919bf89e
Create AnimationComponent, and an example to show it
2020-07-05 01:28:31 -05:00
SeanOMik
5bedd85584
Make Entity::Update call UpdateComponents by default instead of an event
2020-07-04 16:42:11 -05:00
SeanOMik
f639894a0d
Remove some uncommented code in snake example and change window name
2020-07-04 15:21:44 -05:00
SeanOMik
98fdde324f
Make EntityEvent update entities components - Add simple snake movement
2020-07-04 13:55:40 -05:00
SeanOMik
b24f4feb4a
Rework some stuff for memory
2020-07-03 15:26:44 -05:00
SeanOMik
7ced4f85cf
Remove default render target of nullptr.
2020-07-03 13:34:22 -05:00
SeanOMik
ca64ab7a21
Rename `first_example` to `snake`. Also create entity & component system
2020-07-03 13:31:17 -05:00
SeanOMik
7a1c31375d
Move headers into `simpleengine` directory.
2020-07-02 22:53:28 -05:00
SeanOMik
4d87f53cf2
Upload first super simple engine version
2020-07-02 22:48:58 -05:00