Commit graph

127 commits

Author SHA1 Message Date
Kazhnuz
c8c0304849 scenes/boost: basic update of the pause menu to the new menusystem 2019-02-11 20:34:25 +01:00
Kazhnuz
44bf09aa88 core/menusystem: declare slots variables before calling the parent new() 2019-02-11 20:04:24 +01:00
Kazhnuz
e3cc372340 core/menusystem: fix same glitch in floxbox and listbox 2019-02-11 19:59:13 +01:00
Kazhnuz
caa0e86e12 core/menusystem: fix a glitch in GridBox 2019-02-11 19:56:36 +01:00
Kazhnuz
db74b15d78 core/menusystem: don't use the variable "controller" for menus 2019-02-11 19:53:34 +01:00
Kazhnuz
dbfe4747f9 core/menusystem: use the right function name 2019-02-11 19:44:23 +01:00
Kazhnuz
2e0503f75a core/menusystem: add a forgotten comma 2019-02-11 19:43:49 +01:00
Kazhnuz
5920fc18dd core/menusystem: use name index instead of numeral index for menus
It makes more sense and avoid having to keep and update id of menus
2019-02-11 19:22:13 +01:00
Kazhnuz
464a1309c2 core/menusystem: make menu register themselves 2019-02-10 21:14:31 +01:00
Kazhnuz
1dfb2a1f70 core/menusystem: make widget register themselves 2019-02-10 21:12:33 +01:00
Kazhnuz
e9d01d1e65 core/menusystem: add a function to update widget size 2019-02-10 21:05:31 +01:00
Kazhnuz
b417eb5c6a core/menusystem: fix a crash 2019-02-10 20:00:48 +01:00
Kazhnuz
648ede5874 scene/boost: reactivate the pause menu 2019-02-10 20:00:37 +01:00
Kazhnuz
723806510b core: integrate the menu system to the scene manager 2019-02-10 14:54:43 +01:00
Kazhnuz
8553188a3e src/main: call core:mousepressed in love.mousepressed 2019-02-10 14:52:38 +01:00
Kazhnuz
c7c7e3d0a8 core/menusystem: improve wording for clearing functions 2019-02-10 14:44:04 +01:00
Kazhnuz
b1cf66add0 core/menusystem: rework "system" flags for menu 2019-02-10 14:41:27 +01:00
Kazhnuz
bf77a06741 core/menusystem: new size variable for widget handling 2019-02-10 14:34:04 +01:00
Kazhnuz
05c8691c56 core/menusystem: port everything to new widget var names 2019-02-10 14:28:08 +01:00
Kazhnuz
9d413db186 core/menusystem: remove unused variable 2019-02-10 12:11:24 +01:00
Kazhnuz
db1a219336 core/menusystem: rename widget variables in the parent 2019-02-10 12:10:46 +01:00
Kazhnuz
679abb46ec core/menusystem: rename the parent menu file 2019-02-10 12:00:02 +01:00
Kazhnuz
3cbb7a1373 core/menusystem: fuse MenuSystem and MenuController 2019-02-10 11:58:39 +01:00
Kazhnuz
6e7d75f09a core/menusystem: add initial version based on my old menusystem 2019-02-10 11:56:45 +01:00
Kazhnuz
90538d5a01 scenes/boost: some styling fix 2019-02-06 07:51:20 +01:00
Kazhnuz
f7582fbe16 scenes/boost: rework entirely the relative position system 2019-02-05 22:37:10 +01:00
Kazhnuz
1506701559 scenes/boost: better dashCam timer 2019-02-04 23:23:49 +01:00
Kazhnuz
0172f131de scenes/boost: add a jump dash 2019-02-04 23:19:13 +01:00
Kazhnuz
b8f0d57a8a scenes/boost: add a relative camera system 2019-02-04 21:35:34 +01:00
Kazhnuz
def74457a4 scenes/boost: reset colors before drawing shadows 2019-02-04 09:40:55 +01:00
Kazhnuz
cf64040dce scene/boost: use the included input manager 2019-02-04 09:38:16 +01:00
Kazhnuz
4ac18039a9 scenes/boost: use the included asset handler 2019-02-04 09:36:18 +01:00
Kazhnuz
d199c73f64 scenes/boost: kill off the scene controller object
It's not needed with the new scene system
2019-02-04 09:35:12 +01:00
Kazhnuz
ca22b918b0 scenes/boost: add controller uniques functions to the scene object 2019-02-04 09:30:03 +01:00
Kazhnuz
62d45d9e4a scenes/boost: clean up a bit the scene object 2019-02-04 09:19:56 +01:00
Kazhnuz
b163cca8ae scenes/boost: improve HUD 2019-02-04 09:17:47 +01:00
Kazhnuz
091210df41 loveutils: add back the wrap function 2019-02-04 09:02:50 +01:00
Kazhnuz
421e92f80a src: replace all mention of "utils.draw" by "utils.graphics" 2019-02-04 08:50:54 +01:00
Kazhnuz
49a8700400 scenes/boost: inputs are in core
Compared to the old Boost engine, core and game have been separated, so 
make sure that input are read in core
2019-02-04 08:47:07 +01:00
Kazhnuz
526d0fb494 scenes/boost: don't load game update functions from scene 2019-02-04 08:44:12 +01:00
Kazhnuz
b50ce4ad20 scenes/boost: register the scene as the currentScene 2019-02-04 08:43:48 +01:00
Kazhnuz
bc6b822a7e scenes/boost: style fix 2019-02-04 08:40:41 +01:00
Kazhnuz
f613cd4e2a scenes/boost: register correctly the scene 2019-02-04 08:40:06 +01:00
Kazhnuz
fc1d877ef6 game/boost: fix a typo 2019-02-04 08:39:14 +01:00
Kazhnuz
d867860d2f datas: add sonic-boost characters data 2019-02-04 08:38:40 +01:00
Kazhnuz
8cb038eddf game: add a sonicboost handler 2019-02-04 08:36:29 +01:00
Kazhnuz
639da2abd2 assets: add Sonic sprite 2019-02-04 08:20:06 +01:00
Kazhnuz
9bb8455ce6 datas: add boost chunk datas 2019-02-04 08:13:46 +01:00
Kazhnuz
03ac5cc629 core/assets: options are now in the "core" namespace 2019-02-04 08:11:28 +01:00
Kazhnuz
adc0b40c3c scenes/boost: fix a crash-causing typo in the background controller 2019-02-04 08:09:27 +01:00
Kazhnuz
ca86ef714d assets: add characters icons 2019-02-04 08:07:48 +01:00
Kazhnuz
8fde4545fa scenes/boost: use the new location of the hud ring sprite 2019-02-04 08:05:04 +01:00
Kazhnuz
4498c6991c scenes/boost: use the border generator 2019-02-04 08:04:40 +01:00
Kazhnuz
8078aba520 assets: add hud elements 2019-02-04 08:01:23 +01:00
Kazhnuz
d308e42560 scenes/boost: add level assets 2019-02-04 07:47:42 +01:00
Kazhnuz
0dd0c51c77 assets: add back Boost assets 2019-02-03 20:45:01 +01:00
Kazhnuz
c700be6488 scenes/boost: load the level data from the right file 2019-02-03 20:36:36 +01:00
Kazhnuz
68d05e53b6 src: load boost levels at startup 2019-02-03 20:34:50 +01:00
Kazhnuz
74a29fca3b scenes/boost: fix last crash 2019-02-03 20:33:44 +01:00
Kazhnuz
cab44798b8 scenes/boost: another location renaming 2019-02-03 20:30:58 +01:00
Kazhnuz
bcdd88b24b scenes/boost: comment out pause controller
For now, we don't support the old menu system. It'll be restored, but 
for now it simply wouldn't work.
2019-02-03 20:30:16 +01:00
Kazhnuz
a2dfd35944 scenes/boost: use the new location for the datafile 2019-02-03 20:27:15 +01:00
Kazhnuz
01414cc602 datas: add back sonic-boost physic datafile 2019-02-03 20:26:50 +01:00
Kazhnuz
c2fa55f746 scenes/boost: fix another crash-causing typo 2019-02-03 20:25:42 +01:00
Kazhnuz
3e6244e473 src: use the new locations from libs used by the world manager 2019-02-03 20:23:53 +01:00
Kazhnuz
0b7bd32caa src: add libs used by the world manager 2019-02-03 20:22:59 +01:00
Kazhnuz
fa72d7c733 src: add the hump libraries 2019-02-03 20:22:25 +01:00
Kazhnuz
ce082ea8cd scene/boost: fix a typo 2019-02-03 20:20:01 +01:00
Kazhnuz
3e9ebc15cc scenes/boost: use the asset system from core
It's only temporary as the controller will be removed (it was a 
workaround from before the new scene system)
2019-02-03 20:18:47 +01:00
Kazhnuz
c7413809e9 scenes/boost: comment out the old gui system
as it's not here anymore, let's not use it for the moment
2019-02-03 20:17:49 +01:00
Kazhnuz
e4a6f64ae6 scenes/boost: use the new scene location 2019-02-03 20:10:35 +01:00
Kazhnuz
ab09778f3a scenes/boost: use the new scene system 2019-02-03 20:00:08 +01:00
Kazhnuz
aa8247cc82 scenes/boost: rename the class to "BoostLevel" 2019-02-03 19:58:13 +01:00
Kazhnuz
783e00b7f7 scene: make sonic-boost levelsystem loadable 2019-02-03 19:55:04 +01:00
Kazhnuz
e22c1a75cf scene/init: style nitpick 2019-02-03 19:54:34 +01:00
Kazhnuz
81afa3ff11 scene: add back level code from an earlier boost version 2019-02-03 19:54:02 +01:00
Kazhnuz
24dda63900 rename sonic-radiance.love to sonic-boost.love 2019-02-03 19:47:10 +01:00