Commit Graph

174 Commits

Author SHA1 Message Date
Kazhnuz 042a2397a1 refactor(levels): port world to gamecore World2D 2019-06-16 18:07:10 +02:00
Kazhnuz 65a7ffd437 refactor(levels): load assets from an asset file 2019-06-16 18:01:03 +02:00
Kazhnuz 7557a1da19 refactor(main): remove every function already provided by gamecore 2019-06-16 17:56:55 +02:00
Kazhnuz ce14314ebd fix(levels): use the asset function to draw its texture.
Fixes a crash, as now texture aren't a drawable type anymore, but an 
asset object
2019-06-16 17:52:24 +02:00
Kazhnuz 0566eb4041 fix(levels): use the new reference for key handling 2019-06-16 17:49:45 +02:00
Kazhnuz 7d3de10a97 fix(worldmap): use the new reference for key handling
Since gamecore 0.5.0, keys are available in Scene.sources[sourceid].keys 
instead of Scene.keys.
2019-06-16 17:46:57 +02:00
Kazhnuz 0b8fafb556 meta: add a changelog 2019-06-16 17:44:24 +02:00
Kazhnuz 14ff853498 improvement(gamecore): update gamecore to 0.5.0 2019-06-16 17:38:35 +02:00
Kazhnuz 4d772de731 scene/worldmap: make worldmap able to load levels 2019-03-10 10:23:05 +01:00
Kazhnuz 5b87331143 datas: use the new level system 2019-03-10 10:20:40 +01:00
Kazhnuz 2858de16b0 scenes/worldmap: improve level name visibility 2019-03-10 10:03:22 +01:00
Kazhnuz e370f1a04f scenes/mainmenu: add icons to basic menu 2019-03-10 10:01:35 +01:00
Kazhnuz 4960c8238d scenes/mainmenu: improve color diversity 2019-03-09 22:16:44 +01:00
Kazhnuz 5e251fceed scenes/mainmenu: center option menu 2019-03-09 22:08:54 +01:00
Kazhnuz f49773823f scenes/mainmenu: dim the main menu when inactive 2019-03-09 22:07:26 +01:00
Kazhnuz 1b514f8346 scenes/mainmenu: better differenciation between "EXIT"s 2019-03-09 22:01:37 +01:00
Kazhnuz e5a06c347b scenes/mainmenu: initial version of a simple "main menu" 2019-03-09 21:56:03 +01:00
Kazhnuz 919c387345 scenes/mainmenu: draw list menus inside a textbox 2019-03-09 18:06:53 +01:00
Kazhnuz 1ba8d6d251 scenes/mainmenu: refactor the listmenu file 2019-03-09 17:58:07 +01:00
Kazhnuz f3d6da0271 scenes/maps: improve level name drawing 2019-03-09 17:33:01 +01:00
Kazhnuz 56f75da37e assets: add PixelOperator Font 2019-03-09 17:19:22 +01:00
Kazhnuz 66ea0745fb scenes/map: draw level name on focus 2019-03-08 21:32:10 +01:00
Kazhnuz 07d2bda40a scenes/maps: add dot object when cursor 2019-03-08 21:20:08 +01:00
Kazhnuz 587f2e08a1 scenes/map: improve cursor 2019-03-08 20:04:24 +01:00
Kazhnuz d1f110f11b scenes/map: add a basic cursor 2019-03-06 22:33:13 +01:00
Kazhnuz 4fb216c471 scenes/map: add a banner 2019-03-06 22:04:56 +01:00
Kazhnuz c2f435f7b6 game/gui: add banner generation in gui 2019-03-06 19:52:41 +01:00
Kazhnuz 0aef838079 scenes/levels: some gold and score fixes 2019-03-06 19:19:09 +01:00
Kazhnuz 3360028a21 src: don't load twice the scenes 2019-03-06 17:36:46 +01:00
Kazhnuz 8bea3d987a src: don't load the Core and Game constructor inside the main namespace 2019-03-06 17:33:24 +01:00
Kazhnuz 186a4c14ff scenes/levels: don't load unused librairies 2019-03-06 17:32:12 +01:00
Kazhnuz 221902e7f2 scenes/levels: only load hump.camera inside the CameraSystem 2019-03-06 17:24:11 +01:00
Kazhnuz 257b83c61d scenes/levels: only load Sti and Bump inside the world manager 2019-03-06 17:21:40 +01:00
Kazhnuz 9853aaf1c1 src: update game resolution to 480x274 2019-03-05 19:41:14 +01:00
Kazhnuz 20d617408a core/background: get screen size from screen object 2019-03-05 19:37:38 +01:00
Kazhnuz cfdeefe301 scenes/mainmenu: get screen size from screen manager 2019-03-05 19:36:13 +01:00
Kazhnuz 0fc2f85ef0 scenes/mainmenu: make object menu take screen size from screen object 2019-03-05 19:30:08 +01:00
Kazhnuz 8c48370a48 scenes/levels: make camera take screen dimensions from screen manager 2019-03-05 19:28:26 +01:00
Kazhnuz 838a68787b core/screen: load height from love.conf 2019-03-05 19:22:23 +01:00
Kazhnuz e03c9a1768 scenes: add the base of the worldmap scene 2019-03-05 19:17:16 +01:00
Kazhnuz b6af6263e9 scenes/levels: nerf a bit the jump 2019-03-05 19:05:54 +01:00
Kazhnuz 7b99c2588c scenes/levels: add a system to show number-type gfx 2019-03-04 18:44:02 +01:00
Kazhnuz 75be0acb2d scenes/levels: add a basic ennemy system 2019-03-04 18:29:46 +01:00
Kazhnuz e4c0d11a1c scenes/levels: some general cleanup 2019-03-04 17:58:26 +01:00
Kazhnuz 443aeb82ea src: remove the old assets manager 2019-03-04 12:55:10 +01:00
Kazhnuz 35a44a0640 scenes/levels: use contained asset system for pigs sprites 2019-03-04 12:46:11 +01:00
Kazhnuz c738bb9bf9 core/assets: add a function to know if an animation exists 2019-03-04 12:37:07 +01:00
Kazhnuz f9b4adb3b7 core/assets: force restart of animator when animation name have changed 2019-03-04 12:33:13 +01:00
Kazhnuz 38b0a732c5 core/assets: don't set as true the restart argument when not passed 2019-03-04 12:26:10 +01:00
Kazhnuz c4a4caf2ac scenes/levels: use contained asset system for life icons 2019-03-04 11:48:43 +01:00