Commit Graph

646 Commits

Author SHA1 Message Date
Hersi 6352093ae3 Merge branch 'titlescreen-refactor' of git.hersi.changeip.net:hersi/ExperimentalGear into titlescreen-refactor 2024-02-02 02:36:08 +01:00
Hersi 1c82b44e34 continue refactoring 2024-02-02 02:27:05 +01:00
Hersi 941e0421ea api docs 2024-02-02 02:25:30 +01:00
Hersi bce246e5e1 cont. refactor 2023-08-19 04:48:46 +02:00
Hersi 495f0dc68a lots of refactoring
added core scripts, which overwrite and/or extend built-in functionality
2023-08-19 04:25:27 +02:00
Hersi 90580a9b61 implemented platform specific code
implemented filesys module
added an rfind function to globals.lua
2022-08-11 03:15:01 +02:00
Hersi 0e49837e18 move third-party stuff to 'lib' 2022-08-11 03:12:58 +02:00
Hersi 3dcc54320c rename pagemanager to pageregistry 2022-08-08 21:41:32 +02:00
Hersi 6f0c35ac30 wip misc things, no real implementation change 2022-07-16 02:45:20 +02:00
Hersi c71b020243 fix require paths 2022-07-12 01:48:11 +02:00
Hersi a221620125 refactor titlescreen directory structure 2022-07-12 01:43:14 +02:00
Hersi 814553e9a5 fixed require typo
forgor to set _sample_played member variable, oops
2022-06-29 00:47:39 +02:00
Hersi 6749cb2a1c introduced PageManager
which made it pretty to get page instances (ewww '.__name')
from now page implementations use the PageManager to get page instances
SplashPage fading improvements
TitlePage implementation
replace viewHandler calls from page implementations with 'self:onInvalidation()'
fixed ListField focus implementation
fixed SelfTestField crash
MainMenuPage and subpages implementation
2022-06-29 00:35:52 +02:00
Hersi a6a95cbd9c moved service page and service field to page API 2022-06-29 00:24:59 +02:00
Hersi f543cd21f4 minor API changes 2022-06-29 00:23:16 +02:00
Hersi 2c34f362d4 minor refactor 2022-06-22 03:03:48 +02:00
Hersi 8ed4e141db WIP: rewrote splash screen code
still missing individual splash page code
2022-06-22 02:58:47 +02:00
Hersi 6fbc39e028 remove Screen class
switch to a event based page api design
2022-06-22 02:32:27 +02:00
Hersi 9b170a519f page api update 2022-05-22 03:05:24 +02:00
Hersi e68fcd5bfe code cleanup
instead of implementing __tostring, set __name
use variable name 'params' instead of 'o'
use 'self' for indicating instance instead of 'this'
move private members under self instead of params
set doc type of 'params' as the object created (helps IDE autocomplete)
2022-05-06 01:02:30 +02:00
Hersi be9a1f9408 moved titlescreen implementation to the new page system
added Screen middle-class to titlescreen/
added BootScreen implementation
added "missing" input enums to globals
PageView no longer requires a rootPage on construction
added a mouse handler to Page
ModeSelectPage no longer starts playing audio and animations on construction
2022-05-04 03:34:37 +02:00
Hersi ff8322ca28 fixed sanicfast CheckUpdateField progress bar 2022-05-04 03:29:29 +02:00
Hersi df5756ffcf started implementing ModeSelectPage
added AudioSample class
put mode select screen header into components
fix typo in animation.lua
2022-04-28 00:21:10 +02:00
Hersi 1ceb90f975 Merge branch 'titlescreen-refactor' of git.hersi.changeip.net:hersi/ExperimentalGear into titlescreen-refactor 2022-04-28 00:18:22 +02:00
gskbladez 0e28d49534 hit color changes 2022-04-27 13:06:31 -04:00
Hersi 4feb6a8645 page management code refactor 2022-04-27 12:29:54 +02:00
Hersi badbaabe2b Merge branch 'master' into titlescreen-refactor 2022-04-27 02:49:17 +02:00
Hersi 98544e5e8a change class instantiation implementation 2022-04-27 02:49:04 +02:00
local d75982154e Merge pull request 'Nears now' (#16) from feat/local/hitfx into master
Reviewed-on: #16
2022-04-27 00:47:15 +00:00
Local Atticus 265c8fcf8f Add nears 2022-04-26 20:45:37 -04:00
Hersi 5598431951 Merge branch 'master' into titlescreen-refactor 2022-04-27 02:40:38 +02:00
Hersi 9937f56a4d new() doesn't need to be a class method 2022-04-27 02:40:22 +02:00
Local Atticus 54b1fac8d7 Add useFootGun 2022-04-26 20:12:19 -04:00
local b07d72879c Merge pull request 'Get basic ht anims working' (#15) from feat/local/hitfx into master
Reviewed-on: #15
2022-04-27 00:04:45 +00:00
Local Atticus 20a7100521 Refactor based on feedback and fix bugs 2022-04-26 20:03:42 -04:00
Local Atticus 5268ac47a5 Get basic ht anims working 2022-04-26 18:12:14 -04:00
Hersi 3ea1429eab refactor class.lua (because Local is a bulli) 2022-04-27 00:06:42 +02:00
Hersi d1458d2ee2 Fix IR docs 2022-04-25 23:21:02 +02:00
Hersi ecdeab919c account filename for linux build 2022-04-25 22:22:11 +02:00
Hersi 789038d24f Merge branch 'feat/titlescreem-redo' 2022-04-25 17:29:35 +02:00
Hersi 02f9a05e34 bootpage implementation done
implemented update dialog
made UpdateDialogField into a generic DialogField
2022-04-24 15:07:52 +02:00
Hersi 9fcef8c9e5 why tf is there no game.LOGGER_DEBUG? 2022-04-24 01:43:15 +02:00
Hersi e9908b6014 better docs for IR function parameters 2022-04-24 01:42:56 +02:00
Hersi e8552b44a4 bootpage implementation 2022-04-24 01:39:48 +02:00
Hersi eb55b8ffa0 add clear() to PageView 2022-04-24 01:38:28 +02:00
Hersi 9cab4201c6 ServiceField uppercase label 2022-04-24 01:35:51 +02:00
Hersi 0b809dc798 add logging to titlescreen and filereader 2022-04-24 01:29:17 +02:00
Hersi a3ae25cfad why tf is there no game.LOGGER_DEBUG? 2022-04-24 01:18:05 +02:00
Hersi 27431215c3 better docs for IR function parameters 2022-04-24 00:06:48 +02:00
Hersi f44ba3743b tldr; bootpage initial implementation, fixes for page management code
added supporting functions for BootPage
removed init() from classes, it was stupid to begin with
handleButtonInput() and handleKnobInput no longer optional
added callback member to SelfTestField
placement position value fixes
use gfx.Translate instead of explicitly setting off-origin x,y values
added MARGIN and PADDING calculations to fields
removed unnecessary gfx.BeginPath() calls
2022-04-15 04:54:47 +02:00