Commit Graph

  • e3c8e3bcc2 Added a bunch of tweens to the Animator, replaced :ease_in_out tween for Intro state engine logo to :swing_to Cyberarm 2021-04-25 14:58:12 +00:00
  • 551a55f894 Add fade out to intro scene Cyberarm 2021-04-24 20:13:06 +00:00
  • 01292ead10 Bump version cyberarm 2021-04-19 19:26:08 +00:00
  • 9068a418c0 Bumpe version v0.18.0 cyberarm 2021-04-19 19:26:08 +00:00
  • 7ca6e1bc58 Update README cyberarm 2021-04-19 19:22:43 +00:00
  • a70f260bc6 Update README cyberarm 2021-04-19 19:17:10 +00:00
  • 8002708695 Updated Animator to be usable, added logo texture/image, 'finished' Intro state, added Window#shift_state cyberarm 2021-04-19 19:13:15 +00:00
  • 676545f3c7 Added wip engine intro state Cyberarm 2021-04-19 14:42:49 +00:00
  • 4b417f9ab7 More changes to how styles are applied, fixed bug where a Container would re-evaluate its build block when clicked, fixed background method in DSL having no effect, fixed edit line losing 'focus' when mouse moved out, misc. other changes and fixes. cyberarm 2021-03-27 20:10:46 -05:00
  • a70c106387 Added Link element which is basically a button without a border or background, WIP: Element border, margin, padding, and other styles are now easily changable; work is needed to make style changes survive a recalculation cyberarm 2021-03-22 21:10:06 -05:00
  • f662fabc56 Use GL_SRGB_ALPHA for textures Cyberarm 2021-03-29 08:13:59 -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) Cyberarm 2021-03-12 08:33:16 -06:00
  • 1e0d2004b5 More adjustments to scrolling and scroll_top, added debug_draw to elements that draws a box around the element that is atop all rendered things cyberarm 2021-02-13 22:57:18 -06:00
  • 92dd63dc1d Probably fixed scrolling for real this time, added scroll_top and scroll_top = n methods cyberarm 2021-02-13 20:03:10 -06:00
  • 20970e5aa9 Bump version v0.17.1 cyberarm 2021-02-11 09:32:37 -06:00
  • 76eb1a85d5 Added focus event, elements can request focus cyberarm 2021-02-11 09:31:44 -06:00
  • e9d75d17bf Updated gosu version, bumped version v0.17.0 cyberarm 2021-02-10 12:19:47 -06:00
  • e8bb2cac17 Update bundler in gemspec cyberarm 2021-02-10 12:18:28 -06:00
  • 29fbac7140 Added Container#apend method, EditLine caret will now stay visible while typing, EditLine#value= now sets the value of @text_input Cyberarm 2021-02-09 17:41:29 -06:00
  • d050f63c2b Increased scroll speed and added window_size_changed event for containers that is thrown from the root container Cyberarm 2021-01-31 13:33:20 -06:00
  • af24fc8690 Added vertical scrolling support for containers (no scrollbar yet) Cyberarm 2021-01-31 09:44:46 -06:00
  • f63b893c70 Bump version v0.16.0 cyberarm 2021-01-18 14:01:29 -06:00
  • 5adc27feef Sync cyberarm 2021-01-18 14:00:29 -06:00
  • 62636158f7 Fixed word wrapping weirdness and made it the default text_wrap method from :none cyberarm 2021-01-16 19:43:49 -06:00
  • 2179e11ba1 Updated list box cyberarm 2021-01-07 10:12:14 -06:00
  • 1ac5e0695e Fixed Image element background and border not working, made button use Style as sole source of background and color colors cyberarm 2021-01-05 23:15:22 -06:00
  • 732dc2c957 Fixed new label dsl methods requiring options to be provided, upgraded Image to accept either a path or an image and to enable replacing image using #value= cyberarm 2021-01-05 20:39:13 -06:00
  • 886680ab31 Renamed Label to TextBlock, added Shoes text dsl methods; needs mroe refinements, made tooltip styleable. cyberarm 2021-01-05 17:31:31 -06:00
  • 0268a8a5fb Button element (and its decendents) can now be disabled cyberarm 2021-01-04 09:34:11 -06:00
  • 1c22c36d6b Include Common in Window cyberarm 2021-01-01 19:20:52 -06:00
  • 3e56d48556 Update dependencies, bump version v0.15.0 cyberarm 2020-12-31 07:48:44 -06:00
  • 0c9874c53b Added support for tiled 9 slice backgrounds cyberarm 2020-12-18 12:43:53 -06:00
  • 164a46c1fb Added Background Nine Slice (Not yet usable for ui widgets) cyberarm 2020-12-15 11:38:01 -06:00
  • 26dd688124 Ran rubocop -a Cyberarm 2020-12-14 16:04:31 -06:00
  • 2447dde1af Added rubocop config Cyberarm 2020-12-14 15:39:30 -06:00
  • d3ff7c1fc1 Added support for future borderless window option, added initial support for label word wrapping (needs more work), fixed toggle button checkmark not displaying due to changes in Label Cyberarm 2020-12-14 15:39:16 -06:00
  • 2d57d62bc2 Don't trigger a recalc when hiding/showing elements if they're already in that state Cyberarm 2020-12-09 19:11:28 -06:00
  • fb36436d79 Added color support to Image Cyberarm 2020-12-09 09:19:32 -06:00
  • 246e0c54b2 Fixed crashes when using EditBox with no content Cyberarm 2020-12-08 20:27:01 -06:00
  • d02c001989 Added download manager, added excon dependency cyberarm 2020-09-25 20:51:25 -05:00
  • 3ba635f157 Fixed ConfigFile not storing values deeper then one level, added markup_width to Text cyberarm 2020-09-24 10:47:55 -05:00
  • 695c77b183 Added support for Label text alignement, improved EditBox to correctly position caret and support mouse caret positioning, added debugging Container boundry (WIP) cyberarm 2020-09-09 09:51:18 -05:00
  • b06ceaabce Fixed crash if GuiState @mouse_over has no parent cyberarm 2020-08-28 08:37:24 -05:00
  • ce64b8a205 Implemented ListBox- Menu cyberarm 2020-08-21 15:56:11 -05:00
  • da4188764c Added min/max_view_distance to attr_accessor for PerspectiveCamera Cyberarm 2020-07-19 09:44:09 -05:00
  • d01e91c3fd Added support for draw mode to Text Cyberarm 2020-07-18 21:34:21 -05:00
  • 041cfcccaa Added a large portion of I-MIC-FPS's opengl rendering and model loading systems Cyberarm 2020-07-15 21:19:31 -05:00
  • d7dbcf8511 Added orthographic support to Transform Cyberarm 2020-07-10 14:51:02 -05:00
  • 2a8e852b15 Added support for passing a filter method/proc to EditLine Cyberarm 2020-06-23 09:51:36 -05:00
  • d392d8249d Added support for deciding text drawing method, more work on edit_box Cyberarm 2020-06-16 10:12:21 -05:00
  • 5d7e2028b1 Added support for image icon for ToggleButton, added initial implementation of EditBox, fixed a few ruby -w warnings by initializing select instance nilable variables, added clipboard support to EditLine, added drag selection to EditLine, added keyboard shortcuts to EditLine, GuiState now passes button_down/button_up callbacks to @focus Cyberarm 2020-06-16 00:16:13 -05:00
  • d902e5d111 Fixed EditLine not positioning caret correctly when clicked Cyberarm 2020-06-10 07:32:31 -05:00
  • 39964e5bd4 Added support for using an image in a button Cyberarm 2020-06-09 10:49:31 -05:00
  • 5b2a015421 Call recalulate less often to speed up gui updates, call root_container.recalculate a third time when recalculating gui. Gui calls recalculate 10x less when doing a full recalculate. Cyberarm 2020-06-09 09:11:57 -05:00
  • eb4d5d4d21 Use Gosu.clip_to to prevent elements from overdrawing Cyberarm 2020-06-08 09:01:10 -05:00
  • c83b204447 Removed debugging puts from EditLine Cyberarm 2020-06-08 05:48:30 -05:00
  • d0449c7b65 Add support back for fixed x and y positioning of elements, fixed theming not using deep_merge Cyberarm 2020-06-08 05:35:03 -05:00
  • a05ee57f6f Fixed EditLine text not visible if using dynamic width/height, fixed cursor in wrong position when at start/end Cyberarm 2020-06-07 13:18:03 -05:00
  • c3b227d6e7 Fix vector transform using 5th element instead if 15th Cyberarm 2020-06-07 12:36:37 -05:00
  • 7aaf37d43e Added Vector#multiply_transform, needs more testing. Cyberarm 2020-05-12 09:32:50 -05:00
  • 0850336e55 Bump version v0.14.0 Cyberarm 2020-05-06 22:01:15 -05:00
  • 8b6d7b6eb2 Fixed Slider default value was always 0.5 instead of middle of range Cyberarm 2020-05-06 12:54:52 -05:00
  • 3226eb2bda Sliders work better, fixed CheckBox not passing along options hash, Text width/height now accept a string, changed EditLine text selection color, temporary back to back gui recalculations to fix positioning errors until Container#layout can safely be called after determining element width and height. Cyberarm 2020-05-06 12:08:20 -05:00
  • a98bb4ec82 Fixed hidden elements were interactable, added comments Cyberarm 2020-05-05 10:48:00 -05:00
  • da5d740c6e Sync: Renamed Engine to Window to be less confusing, elements are now supposed to throw a changed event if their value is changed Cyberarm 2020-05-04 11:17:11 -05:00
  • 4055f645f3 Implemented Slider (still have some positioning issues to resolve but it works), added files for ListBox, Radio, and EditBox, implemented dragging support in GuiState. Cyberarm 2020-04-10 18:45:55 -05:00
  • 185ab000d6 Updated rake Cyberarm 2020-04-06 09:40:41 -05:00
  • ed061c8408 Fixed incorrect element positioning when using margin Cyberarm 2020-04-06 09:38:30 -05:00
  • d8551c7428 Bump version v0.13.1 Cyberarm 2020-03-24 10:34:14 -05:00
  • 0017c841dd Added Shader.delete, shaders now clean up after themselves Cyberarm 2020-03-24 10:33:44 -05:00
  • 8cedb40283 Increase shader error message buffer size Cyberarm 2020-03-22 17:28:03 -05:00
  • 93a4e9a2b8 Fixed Vector#== erroring out with doing Vector == SomeObject Cyberarm 2020-01-30 20:08:17 -06:00
  • a0c0180411 Merge branch 'master' of https://github.com/cyberarm/cyberarm_engine Cyberarm 2020-01-29 18:22:33 -06:00
  • 7f25cd49fe Added ConfigFile for persistent hash storage Cyberarm 2020-01-29 18:22:24 -06:00
  • 7e6a17fe9f Updated README, added some docs for Shader Cyberarm 2020-01-29 11:52:51 -06:00
  • 0ea1e5c2ff Add documentation for Vector Cyberarm 2020-01-29 10:55:51 -06:00
  • 8c34293307 Updated required gosu to 0.15 series, bumped version v0.13.0 Cyberarm 2020-01-28 10:53:58 -06:00
  • 8172dafa8c Refactored Shader to duplicate code in shader compilation step, added support for @include preprocessor in shaders Cyberarm 2020-01-28 10:51:36 -06:00
  • 9a3caabc7e Make UI events travel up parent hierarchy until event is either :handled or there is no parent to notify Cyberarm 2020-01-15 21:03:21 -06:00
  • 4b25d724b5 Improved shoes-iness; no longer need to pass clear blocks an element to parent to, todo: replace global var with something else. Cyberarm 2020-01-13 20:13:03 -06:00
  • a267695b1c dry up DSL's flow/stack methods Cyberarm 2019-12-29 11:30:33 -06:00
  • d76da62ee1 Update animator pass in from and to objects Cyberarm 2019-12-19 16:54:33 -06:00
  • 3a83e616d3 Added Animator for creating animations with various tweeners, supports Gosu::Color's and numbers Cyberarm 2019-12-19 13:08:29 -06:00
  • 52940d1cfe Fixed element borders not always lining up when using dynamic width/height Cyberarm 2019-12-19 11:17:31 -06:00
  • e59771e412 Refactored Shader.set_uniform into multiple methods Cyberarm 2019-12-09 11:49:46 -06:00
  • b382bf6960 Fix passing Vector (as vec3) to Shader Cyberarm 2019-12-09 08:51:31 -06:00
  • a5ed650970 Got 3D rotations working as expected Cyberarm 2019-12-08 17:16:12 -06:00
  • 935d6e9178 Added Transform.perspective and .view matrix helpers, fixed array index out of bounds for Transform * Vector Cyberarm 2019-12-07 09:59:47 -06:00
  • cc813c023f Added initial 3D support to Transform Cyberarm 2019-12-05 17:23:47 -06:00
  • 5f359a8313 Fixed wrong method called in DSL.progress, removed unneed line, and made DSL.background use element_parent Cyberarm 2019-11-22 17:20:03 -06:00
  • c67d6f9d26 Trigger recalculate when Container#clear is called Cyberarm 2019-11-21 14:24:01 -06:00
  • 7f97ec85dd Added Container#clear to remove child elements and optionally eval block, improvements to EditLine to show current selection. Cyberarm 2019-11-21 14:07:42 -06:00
  • 89a54e90a1 Added Vector.xy Cyberarm 2019-10-25 13:57:23 -05:00
  • 48d2924c9b Probably fixed Element dynamic width/height Cyberarm 2019-10-24 10:47:13 -05:00
  • 7cc733dee4 Bumped version v0.12.1 Cyberarm 2019-10-15 11:41:53 -05:00
  • 28c4acdedf Added Gosu.draw_circle Cyberarm 2019-10-09 11:35:40 -05:00
  • 57313a33a6 Bump version v0.12.0 Cyberarm 2019-10-08 08:54:15 -05:00
  • 5d16500edd Added support for passing flags to get_image, aliased Vector#weight/= to Vector#w/= Cyberarm 2019-10-08 08:53:37 -05:00
  • 51dd3803fa Moved files around, renamed Matrix to Transform Cyberarm 2019-10-07 12:30:48 -05:00
  • c6beab3e99 Added Matrix, incomplete. Cyberarm 2019-10-06 21:35:10 -05:00