Commit Graph

17 Commits

Author SHA1 Message Date
d6d3c07bbc First pass at adding fixed update support 2026-09-27 18:06:13 -05:00
d2440b50a1 Added every and after timers to DSL 2026-03-21 21:11:51 -05:00
14e9d4946f Add GameState#needs_repaint? and Container#remove 2023-01-31 10:17:51 -06:00
ca73a2d8e8 Added all the callbacks to Window and GameState, removed all but one usage of global variables (). 2022-06-05 09:19:30 -05:00
abb989f842 Added flags to use ffi-gosu optionally instead of always trying, made tooltip affected by theme (the last set theme in setup will be used to style the tooltip) 2021-03-12 08:33:16 -06:00
26dd688124 Ran rubocop -a 2020-12-14 16:04:31 -06:00
7e6a17fe9f Updated README, added some docs for Shader 2020-01-29 11:52:51 -06:00
788d987da1 Elements now return :handled when they're supposed to, GameState initialization and setup are now seperated 2019-09-12 08:15:02 -05:00
cc97077b0f Remove MultiLineText as gosu natively supports newlines, Update Text to correctly calculate its height, call super in button_down/button_up to support gosu's fullscreen toggle, added Window.text_input = nil to GameState to prevent fustrating bugs that stem from forgetting to set it back to nil. 2019-03-31 17:34:24 -05:00
6f9b00ffb5 Improvements to GameObject and friends 2019-03-30 13:29:30 -05:00
478c8498f3 Added padding and margin left,right,top,bottom, changed CheckBox to ToggleButton, added new CheckBox which uses a Flow with ToggleButton and Label. 2019-03-01 15:57:22 -06:00
18ff0a1ea9 Refactored Container to be an Element, removed button_up/button_down passing to elements, moved Gui out of GameState and into GuiState, added scaffolding for events (Publish/Subscribe pattern). Element input is broken ATM. 2019-03-01 09:41:51 -06:00
04ec6682ee Sync 2019-02-18 17:41:14 -06:00
617fe4f77a Stacks and Flows now (mostly) work as expected 2019-02-01 11:55:40 -06:00
5188532ad0 Major refactor of Container and elements to support a more Shoes-like construction of menus (in complete) 2019-01-31 17:33:05 -06:00
76ac1d553a Fixed crash due to old code from initial import, various clean up. 2019-01-30 13:37:29 -06:00
b4852fbbd6 Initial Commit 2018-06-07 10:03:07 -05:00