Commit graph

137 commits

Author SHA1 Message Date
Kazhnuz
4cedf30bfd chore: separate the exemple project 2020-04-05 18:18:13 +02:00
Kazhnuz
84919719f8 feat(exemple): add a transition when a scene is selected 2019-09-08 16:23:42 +02:00
Kazhnuz
eccaf77687 feat(example): add a respawn timer 2019-09-08 12:34:16 +02:00
Kazhnuz
88526282ea feat: add default gamesystem uses inside mainmenu 2019-07-24 10:44:03 +02:00
Kazhnuz
91d7284775 improvement(action3D): remove hitbox drawing) 2019-07-20 17:58:15 +02:00
Kazhnuz
215aed8684 feat(action3D): add player multiple hitboxes 2019-07-20 17:57:46 +02:00
Kazhnuz
eb88c017ea feat(action3D): add collision between coin and player actors 2019-07-20 17:46:56 +02:00
Kazhnuz
54167f8a77 feat(action3D): add coin actor 2019-07-20 17:46:40 +02:00
Kazhnuz
1d74beb263 improvement(action3D): make action3D wall objects consumes mapped-boxes 2019-07-20 17:11:28 +02:00
Kazhnuz
cbebb16c46 feat(action3D): add box objects 2019-07-20 16:55:06 +02:00
Kazhnuz
107b75c3ed feat(assets): add box assets 2019-07-20 16:54:48 +02:00
Kazhnuz
b5be7e58a3 fix(plateformer): use the right path for plateformer example 2019-07-20 10:24:09 +02:00
Kazhnuz
7e91bf406d chore(examples): put together all assets. 2019-07-20 09:57:00 +02:00
Kazhnuz
afbbf50539 improvement(action3D): add boxes 2019-07-16 16:37:32 +02:00
Kazhnuz
22c8617717 feat(examples): add a big fake3D map example 2019-07-16 10:53:02 +02:00
Kazhnuz
443b8c0e1c improvement(examples): put menu examples after gameplay examples 2019-07-12 23:52:49 +02:00
Kazhnuz
98103a8d48 improvement(example): rename topdown example 2019-07-12 23:48:57 +02:00
Kazhnuz
6ee3a910f6 feat(examples): Add tests for all player number and camera mode 2019-07-12 23:42:25 +02:00
Kazhnuz
f9ba042089 feat(examples): add a way to add argument to examples scenes in mainmenu 2019-07-12 23:35:04 +02:00
Kazhnuz
a7821e8f48 improvement(examples): remove basic examples
They weren't a good demonstration of actual use of the engine, as they 
were just some quick test created at the beggining. So long, basic 
examples.
2019-07-12 23:30:32 +02:00
Kazhnuz
ee6ac56eea feat(examples): make player number and camera mode customizable 2019-07-12 23:28:06 +02:00
Kazhnuz
5bdb275b8a feat(actor3D): add a basic 3D box drawing system for 3D actors 2019-07-01 17:00:55 +02:00
Kazhnuz
cdddc79973 feat(moveplayer3D): add sprite direction 2019-07-01 14:18:04 +02:00
Kazhnuz
ddebdba2e8 fix(moveplayer3D): use ground speed instead of xsp for animations 2019-07-01 10:50:21 +02:00
Kazhnuz
1ee0b77b50 feat(examples): add sprite support in moveplayer3D 2019-06-30 22:05:02 +02:00
Kazhnuz
30a0d59a41 improvement(examples): register the fake3D example 2019-06-30 17:10:29 +02:00
Kazhnuz
0687bc4cfe feat(examples): add an initial fake3D example based on moveplayer 2019-06-30 17:10:16 +02:00
Kazhnuz
e916c28630 fix(actor2D): simplify gravity system by not handling x by default 2019-06-27 21:03:34 +02:00
Kazhnuz
cace01cf3a feat(world): add a way to check every hitbox collisions 2019-06-23 15:53:51 +02:00
Kazhnuz
89b2ffe483 feat(world): add a way to automatically load hitbox from a file 2019-06-23 15:45:34 +02:00
Kazhnuz
41cbf40890 fix(examples): call the right function in movable player example 2019-06-23 15:41:30 +02:00
Kazhnuz
a3b6bcd499 feat(world): add a frame hitbox data structure to process
It'll allow us to create a way to process everyframe of an animation and 
change hitbox according to the animation.

It should especially simplify the creation of battle system.
2019-06-23 10:19:01 +02:00
Kazhnuz
f88c7f49e4 feat(world): add multiple hitbox support on actor2D 2019-06-22 22:11:22 +02:00
Kazhnuz
c553dfafa3 feat(examples): add ducking in plateforming example
Show how we can now modify in action an hitbox without glitching it
2019-06-22 20:17:36 +02:00
Kazhnuz
b770253cb5 fix(examples): adapt to the new hitbox system 2019-06-22 19:28:28 +02:00
Kazhnuz
80072d285a fix(examples): add missing HUD in one-player example 2019-06-21 17:11:32 +02:00
Kazhnuz
81015b011b feat(examples): add a pause menu in plateformer example 2019-06-16 16:37:22 +02:00
Kazhnuz
65b0c74a06 feat(world): add a batchActor function activated by a bool in tiled
This way, you can add multiple actors with just one tiled object. It 
also bring better feature parity with Imperium Porcorum.

Fixes #10
2019-06-15 11:50:53 +02:00
Kazhnuz
4c2427bfd6 feat(world): add a drawHUD function to draw the current HUD
It is able to draw everything a player object want directly where it 
should go.

Fixes #3
2019-06-13 22:23:23 +02:00
Kazhnuz
6f59f1e732 refactor(examples): use updateStart(dt) and updateEnd(dt)
Allow to drop easily some instance of calling the parent's same function
2019-06-13 18:44:13 +02:00
Kazhnuz
055ae92eb9 feat(scene): add *Start() and *End() functions.
Make the scene children able to add functions before or after 
everything.
2019-06-13 18:33:29 +02:00
Kazhnuz
236184ce0c example/plateformer: also pause asset animation 2019-05-30 13:56:14 +02:00
Kazhnuz
67cb930ae7 example/plateformer: add a basic pause button 2019-05-30 13:49:46 +02:00
Kazhnuz
df4d264c21 gamecore/scenemanager: let the scene manager handle directly the world 2019-05-28 19:31:42 +02:00
Kazhnuz
23f17491ad gamecore/world: make the world registerable directly by itself 2019-05-28 19:28:05 +02:00
Kazhnuz
5e95099af9 examples/plateform: make coin drop sparkle gfx when taken 2019-05-06 20:45:13 +02:00
Kazhnuz
3de36cc77f examples/plateform: add sparkle asset 2019-05-06 20:44:53 +02:00
Kazhnuz
a1ce249e00 module/world: take coin when the player collide to it 2019-05-05 19:46:13 +02:00
Kazhnuz
e4b39a318e example/plateform: add coin object 2019-05-05 15:35:49 +02:00
Kazhnuz
b41680fc8d example/plateform: add coin assets 2019-05-05 15:35:34 +02:00