Commit graph

113 commits

Author SHA1 Message Date
Kazhnuz
90458757e5 modules/world: make hitbox drawing part of actor 2019-04-22 12:13:01 +02:00
Kazhnuz
a25e178628 modules/world: make speed relative to dt 2019-04-22 12:02:52 +02:00
Kazhnuz
c4ef90dcdf example/moveplayer: switch to bump2D world 2019-04-22 11:57:56 +02:00
Kazhnuz
e0e7eaae10 examples/options: add sfx 2019-04-20 18:09:24 +02:00
Kazhnuz
5c8452b226 example/mainmenu: add confirm and cancel sfx 2019-04-20 18:03:34 +02:00
Kazhnuz
fe740edc13 examples/mainmenu: add navigation sfx 2019-04-20 17:56:30 +02:00
Kazhnuz
1e333fc179 examples/mainmenu: add audio SFX for menu sounds 2019-04-20 16:07:31 +02:00
Kazhnuz
59534f20b5 examples/options: re-align widgets 2019-04-20 15:51:29 +02:00
Kazhnuz
615875bcfd examples/options: add audio widgets 2019-04-19 23:21:32 +02:00
Kazhnuz
dd0234a624 examples/options: add music 2019-04-17 19:05:53 +02:00
Kazhnuz
62358ded31 examples/options: deactivate the key detector 2019-04-15 18:50:09 +02:00
Kazhnuz
db4370803a examples/options: rough way to change keys 2019-04-15 17:21:23 +02:00
Kazhnuz
ddaeff3101 example: list keys inside the player submenu 2019-04-15 17:13:42 +02:00
Kazhnuz
a25259e6b9 examples/options : list players as submenus 2019-04-15 17:04:44 +02:00
Kazhnuz
853a55cda4 examples/options: support language changing 2019-04-14 18:11:44 +02:00
Kazhnuz
0fd1c60b95 examples/options : translate option menu 2019-04-14 17:59:03 +02:00
Kazhnuz
a224021726 examples/inventory: translate inventory 2019-04-14 17:52:30 +02:00
Kazhnuz
1cc44dd54f mainmenu: translate main menu 2019-04-14 17:49:25 +02:00
Kazhnuz
fee42e308a exemples/options : add resolution widget 2019-04-13 14:34:35 +02:00
Kazhnuz
a370cefcd7 modules/menusystem: invalidate widget's canvas when using its action 2019-04-13 14:25:54 +02:00
Kazhnuz
defe5fea9a examples/options: add basic switches widgets 2019-04-13 10:27:08 +02:00
Kazhnuz
0686b70b6a examples/options: add basic structure 2019-04-13 10:14:15 +02:00
Kazhnuz
8a50e77796 examples/options: separate widgets from main file 2019-04-13 10:10:35 +02:00
Kazhnuz
2b45098bcf examples/options: make the Exit widget go back to mainmenu 2019-04-13 10:00:34 +02:00
Kazhnuz
a1f59a60d6 examples/options: Add a double text widget 2019-04-13 09:59:23 +02:00
Kazhnuz
fb1871e0d9 examples: register the option menu 2019-04-13 09:55:15 +02:00
Kazhnuz
6c2be10628 examples/options: use mainmenu as a base 2019-04-13 09:47:53 +02:00
Kazhnuz
193e9b6fbf modules/world: add speed variables 2019-04-13 09:40:14 +02:00
Kazhnuz
f61cb21d58 examples/moveplayer: test 2 players 2019-04-11 19:18:51 +02:00
Kazhnuz
a81ac5b819 modules/menusystem: add an arbitrary order system to widgets & menus 2019-04-11 18:16:36 +02:00
Kazhnuz
a4aaa28c24 examples/moveplayer: use isDown instead of isPressed on player item 2019-04-07 22:53:59 +02:00
Kazhnuz
18161313fe examples/moveplayer: set the player object as player 2019-04-07 22:52:28 +02:00
Kazhnuz
66d98ab9ea examples/moveplayer: use the right function to draw box 2019-04-07 22:29:27 +02:00
Kazhnuz
5ec137416e examples/moveplayer: default dx and dy to 0 for the player 2019-04-07 18:15:06 +02:00
Kazhnuz
54d56675a9 modules/world: prepare structure for movable player example 2019-04-07 17:00:47 +02:00
Kazhnuz
f3543680ba examples/test_2: load actors from the newActor function 2019-04-07 13:48:52 +02:00
Kazhnuz
856d41beb5 examples/test_2: always load from world and not from scene 2019-04-07 13:47:37 +02:00
Kazhnuz
1d877a2eb1 examples/test_2: load actor list 2019-04-07 13:43:12 +02:00
Kazhnuz
836fd77435 examples: reorganize folders 2019-04-07 13:09:07 +02:00
Kazhnuz
00aedfd89b example/mainmenu : add an exit widget 2019-04-07 13:02:39 +02:00
Kazhnuz
a9fb455ec0 example/mainmenu: add a back button 2019-04-07 13:01:02 +02:00
Kazhnuz
713b93eaf9 modules/menusystem: add functions to easily lock and set activity 2019-04-07 12:59:25 +02:00
Kazhnuz
d1497836a2 examples/inventory: add an exit widget 2019-04-07 12:48:03 +02:00
Kazhnuz
2462b29ea3 examples/inventory: keep focus on main menu if the source is a pointer 2019-04-07 12:43:11 +02:00
Kazhnuz
81f6b940a4 examples : add basic inventory example 2019-04-07 12:33:28 +02:00
Kazhnuz
4d1d0a51e3 examples : add a main menu 2019-04-06 19:08:30 +02:00
Kazhnuz
645cd7cb2a examples: add entity counting 2019-04-01 13:19:39 +02:00
Kazhnuz
3e2e29539b examples: add a test for entities 2019-04-01 13:12:06 +02:00
Kazhnuz
936cdc57f3 modules/menus:add a basic depth system to the menus
Fix #2
2019-03-22 18:02:33 +01:00
Kazhnuz
9519130613 examples/menus: test switchMenu 2019-03-22 17:45:22 +01:00
Kazhnuz
19aa49327c modules/menus: add a simple way to switch menu 2019-03-22 17:27:59 +01:00
Kazhnuz
6f9235866d modules/menus : add a way to lock visibility 2019-03-22 17:22:45 +01:00
Kazhnuz
fb1fee23a8 examples/menus: add some text menus 2019-03-18 19:30:25 +01:00
Kazhnuz
ccf1621123 modules/assets: make animation support mask Fix #4 2019-03-18 17:28:43 +01:00
Kazhnuz
2e608f7fac modules/assets: make tileset support mask drawing 2019-03-18 17:23:12 +01:00
Kazhnuz
ae75fc46a0 examples/test: add basic asset tests 2019-03-18 17:17:15 +01:00
Kazhnuz
aa8daedc82 examples: add a basic menu testing 2019-03-16 15:38:02 +01:00
Kazhnuz
d6c6b64786 gamecore: add scene storage system 2019-03-16 15:15:01 +01:00
Kazhnuz
6fcbc7153c example: add exemple for scene switching 2019-03-16 15:08:23 +01:00
Kazhnuz
ba8a666e45 examples/test_scene: make color less flashy 2019-03-16 15:06:11 +01:00
Kazhnuz
3b77a3c2c1 gamecore/scene: scene should register themselves 2019-03-16 15:03:35 +01:00
Kazhnuz
fa92576979 example/test_scene: round the second number 2019-03-16 15:00:58 +01:00
Kazhnuz
16df998d84 examples: first basic exemple 2019-03-16 14:56:55 +01:00