Commit Graph

  • 881ec0ae6b Initial support for touch callbacks, GuiState now emulates a mouse left click on tap development Cyberarm 2026-10-15 10:57:42 -05:00
  • 8cea4e7df7 Import ECS draft implementation from I-MIC TDS project Cyberarm 2026-10-09 21:17:52 -05:00
  • a1513be709 Get rvx bundle exec rake release functional... v0.30.0 Cyberarm 2026-10-04 23:43:02 -05:00
  • d0d5bbac3a Bump version Cyberarm 2026-10-04 23:39:37 -05:00
  • 0ae3ecc145 Fix up some errors with BFS and pathfinding grid Cyberarm 2026-10-04 19:30:58 -05:00
  • afa8a9dbb6 Add asset textures for nine sliced rounded corners and the like Cyberarm 2026-09-28 19:13:56 -05:00
  • 0ec55bef55 Fixed typo in BFS file name, require pathfinding bits. Cyberarm 2026-09-28 19:13:25 -05:00
  • 904ac78d89 More work on pathfinding support Cyberarm 2026-09-28 15:22:42 -05:00
  • 70d270688f Added .idea to gitignore, first pass at adding intregrated pathfindiing support using redblobgames.com tutorials as reference Cyberarm 2026-09-28 09:35:16 -05:00
  • 685c94bd1b Fixed using this instead of self for slider and check box Cyberarm 2026-09-27 18:16:47 -05:00
  • d6d3c07bbc First pass at adding fixed update support Cyberarm 2026-09-27 18:06:13 -05:00
  • 2cc1382696 Fixed Text border color not getting set correctly due to misnamed color parameter, generate Text border image with true white text since we draw it with the requested color later. Cyberarm 2026-09-20 16:10:10 -05:00
  • 9fca64b643 Added render mode to BackgroundNineSlice Cyberarm 2026-09-19 19:10:39 -05:00
  • abe99ce949 Ignore sibling elements that aren't visible from fill mode space considerations Cyberarm 2026-09-17 12:25:48 -05:00
  • 66fb136c83 Make elements sizing by like css' border-box box-sizing instead of like content-box for elements with specific width/height that isn't a ratio, tweaks to gui debug display, make F12 key toggle gui debug display for convenience Cyberarm 2026-09-11 13:05:08 -05:00
  • b23e5c2a42 Fix pending element recalculate requests apparently not getting processed properly... Cyberarm 2026-09-10 18:32:01 -05:00
  • 747822aa61 Fixed flow containers not correctly positioning their children on the x axis when they wrap to the the next line, fix up containers vertical and horizontal alignment Cyberarm 2026-09-10 18:31:19 -05:00
  • 140e7a3619 Make elements publish the :size_changed event when they change their size Cyberarm 2026-09-09 22:30:19 -05:00
  • 349222f387 Flip flop Element#resolution_scaled Cyberarm 2026-09-04 10:31:30 -05:00
  • 9d4bc89174 Fix Widget element unable to find children element tooltips if the widget's parent(s) had been scrolled Cyberarm 2026-09-04 10:31:02 -05:00
  • 8e7c6f8a19 Many ux and api improvements Cyberarm 2026-05-02 18:20:17 -05:00
  • cd5bd51a02 Added EventBus, a simple global pub-sub event system. Cyberarm 2026-04-23 19:39:36 -05:00
  • adf517f374 Make Element#styled return 0 for border_thickness, margins, and paddings if the element is not Element#visible? Cyberarm 2026-04-21 13:19:02 -05:00
  • 1c868522b7 Make Result return not okay if @data is nil Cyberarm 2026-04-21 12:12:16 -05:00
  • a79b9cc20e Added Widget, which acts like a Flow and a button. Cyberarm 2026-04-20 10:14:57 -05:00
  • c229329542 Send enter and hover events to mouse over element's parent containers- improves ux, disable applying :active styles if element does not have any specificied- fixes element blinking on click. Cyberarm 2026-04-18 12:29:04 -05:00
  • 512d8a5c0f Added initial dialog support Cyberarm 2026-04-17 18:46:27 -05:00
  • d158d2fdd2 Added initial support for pages, fixed image not accounting for margin refactor Cyberarm 2026-04-17 17:45:58 -05:00
  • 9f654129ef Improved handling of nine slice backgrounds, fixed scroll height, fixed container v/h_align Cyberarm 2026-04-17 11:38:17 -05:00
  • b694269409 Fixed ListBox/Menu not accounting for its border Cyberarm 2026-04-15 22:08:27 -05:00
  • 3375d2d224 Fixed button image off center if button has margin left/top Cyberarm 2026-04-15 22:07:45 -05:00
  • a47505e7fa Improved debug_draw to be free of element clipping rectangle, fixed up container vertical and horizontal alignment Cyberarm 2026-04-15 22:06:55 -05:00
  • e572679f0b Renamed GuiState#menu to GuiState#active_menu to prevent conflict with DSL#menu Cyberarm 2026-04-15 22:02:09 -05:00
  • 4286ca06b0 Fix up container's over estimating their width/height some more Cyberarm 2026-04-15 10:51:10 -05:00
  • a5636c82b3 Fixed Element's x and y position offset by their containers margin_left and/or margin_top, fixed containers 'inheriting' their parents and/or grandparents margin_left/top causing them to have an outer_height greater than it should be (needs a little more work.) Cyberarm 2026-04-13 20:00:24 -05:00
  • 971ac5ff34 Lazy init Element background and border canvases Cyberarm 2026-03-27 11:20:03 -05:00
  • 3b5902fef5 Reduce usages of Gosu.clip_to in Background Cyberarm 2026-03-27 11:18:55 -05:00
  • dfb9378c6d Remove unneeded string to integer conversions in Theme Cyberarm 2026-03-27 10:59:22 -05:00
  • 3a23a8f8ca Improve clipping of TextBlock Cyberarm 2026-03-27 10:58:42 -05:00
  • d735edaec0 Make changing an element's styles trigger element to re-stylize Cyberarm 2026-03-21 22:42:57 -05:00
  • d2440b50a1 Added every and after timers to DSL Cyberarm 2026-03-20 20:28:44 -05:00
  • 362fafa6fd Fixed HOME/END PAGE UP/DOWN keys incorrectly scrolling container when an EditLine or EditBox has focus Cyberarm 2026-03-19 16:49:53 -05:00
  • 907257879c Fixed EditBox causing crash if parent container is scrolled and EditBox is clicked Cyberarm 2026-03-19 16:22:13 -05:00
  • e031039a77 Refactored GuiState Element style handling to simplify mutating them Cyberarm 2026-03-21 21:01:28 -05:00
  • 250e51ef0c Added every and after timers to DSL master Cyberarm 2026-03-20 20:28:44 -05:00
  • 3102bbe4c3 Fixed HOME/END PAGE UP/DOWN keys incorrectly scrolling container when an EditLine or EditBox has focus Cyberarm 2026-03-19 16:49:53 -05:00
  • 530e01d939 Fixed EditBox causing crash if parent container is scrolled and EditBox is clicked Cyberarm 2026-03-19 16:22:13 -05:00
  • 16bd9168e4 Bump version Cyberarm 2026-01-28 10:53:34 -06:00
  • b946d5efa6 Added Result class to make writing failure resistant code easier Cyberarm 2026-01-28 10:36:23 -06:00
  • 752a4752ba Bump version v0.25.1 Cyberarm 2026-01-28 10:53:34 -06:00
  • e4a4f779b0 Added Result class to make writing failure resistant code easier Cyberarm 2026-01-28 10:36:23 -06:00
  • 4ce6c1f499 Update README Cyberarm 2026-01-09 09:39:40 -06:00
  • 958d4e65f9 Bump version v0.25.0 Cyberarm 2026-01-09 09:36:08 -06:00
  • 0519253e03 Improved GuiState to fully recalculate before returning from draw Cyberarm 2026-01-09 09:29:41 -06:00
  • 97055885a6 Cache TextBlock text width and height Cyberarm 2026-01-09 08:59:06 -06:00
  • b5912de980 Remove unused code from Background#update, improves performance notably. Cyberarm 2026-01-09 08:34:59 -06:00
  • b0376d85d9 Reduce allocations in Background Cyberarm 2026-01-09 08:26:55 -06:00
  • a30d66fafb Refactored Style to remove usage of method_missing Cyberarm 2026-01-09 08:20:27 -06:00
  • 0fac4a0397 Add StackProf hooks for profile recalculate Cyberarm 2026-01-08 22:16:54 -06:00
  • 498cf06916 Style fixes, wip layout speed up work Cyberarm 2025-12-01 10:03:45 -06:00
  • 1f57dfd38c Update to support Gosu 2.0.0 (Gosu::Image taking in a Gosu::Image fails) Cyberarm 2025-11-29 11:27:27 -06:00
  • 76a8bf95c7 Update Gosu.draw_arc to support partial segments Cyberarm 2025-11-29 11:11:53 -06:00
  • 1c25eeb32b Bump version v0.24.5 Cyberarm 2025-06-24 13:55:40 -05:00
  • eabad4abd4 Refactored mesh handling, imported AABB tree implementation from I-MIC FPS Cyberarm 2025-05-03 18:21:11 -05:00
  • b3561f02c1 Fixed edit_line's with prefilled values having an offset_x that hides the text unless caret is manually moved left Cyberarm 2024-04-09 09:27:12 -05:00
  • 9694cc2270 Fix compatibility issue with gosu 2.0 pre-release Cyberarm 2024-03-12 19:20:25 -05:00
  • a7df9a660d Bump version v0.24.4 Cyberarm 2024-03-05 14:16:25 -06:00
  • d2f757eb23 Fixed hidden Container elements not recalculating when becoming visible Cyberarm 2024-03-05 14:16:07 -06:00
  • 0d70177de7 Bump version v0.24.3 Cyberarm 2024-03-05 13:31:17 -06:00
  • dcefaeae4d Fixed debug_draw for elements, fixed Slider Handle not rendering/positioned properly Cyberarm 2024-03-05 13:17:12 -06:00
  • c2330ed9a9 Removed excon as explicit dependency, implemented menu's as (mostly) first class citizens, refactoring of gui layout, FIXME: broke Slider Handle..., probably some other stuff. Cyberarm 2024-03-04 20:54:36 -06:00
  • 615d7ec3e4 Added support HOME, END, and PAGE UP/DOWN for scrollable containers, misc. tweaks and bug fixes. Cyberarm 2024-03-03 19:23:00 -06:00
  • 1644ff8a27 Bump version v0.24.2 Cyberarm 2024-02-28 20:43:28 -06:00
  • d6a99b935a Fixed styles not applying correctly for non-default styles Cyberarm 2024-02-28 10:53:49 -06:00
  • c4e47b8e38 Bump version v0.24.1 Cyberarm 2024-01-18 14:10:28 -06:00
  • d0e1772f33 Fixed container that is scrolled down getting stuck being 'overscrolled' when resized Cyberarm 2024-01-18 14:08:33 -06:00
  • 00e47d61a2 Bump version v0.24.0 Cyberarm 2023-11-17 17:11:09 -06:00
  • 1882673fff Improvements to layout recalculating, reduces need to manually force a refresh (F5) Cyberarm 2023-11-17 17:10:53 -06:00
  • 286efa2059 Update required files Cyberarm 2023-11-17 15:07:08 -06:00
  • 6b9af5c87c Merged in gosu_notifications Cyberarm 2023-11-17 15:06:38 -06:00
  • af3a3ff938 Merged in gosu_more_drawables Cyberarm 2023-11-17 15:06:21 -06:00
  • bcff35bd7b Sync Cyberarm 2023-11-17 14:08:21 -06:00
  • 5d1c195917 Added support for rendering multiple lights, standardized shaders to use snake case for variables and camel case for functions, stubbed PBR material shader include. Cyberarm 2023-07-29 14:09:23 -05:00
  • 9a6e1df032 Remove need to do a full gui recalc 3 or more times for the layout to work (current implementation slows things down a bit, but seems more reliable then brute forcing 3x+) Cyberarm 2023-06-18 19:42:38 -05:00
  • b1b8fc8556 Cache scroll width/height Cyberarm 2023-06-18 14:18:15 -05:00
  • a60b09a110 Further scrolling improvements (should be smoother/more consistent with varied frame time) Cyberarm 2023-06-18 13:50:32 -05:00
  • 81a632942e Round scroll position to prevent rendering issues caused by floats Cyberarm 2023-06-18 12:38:12 -05:00
  • 5ef8023aca Improved scrolling Cyberarm 2023-06-18 12:26:08 -05:00
  • 2e690d7d33 Misc bug fixes and improvements Cyberarm 2023-06-16 14:40:16 -05:00
  • a9f9e20235 Remove named arguments from stats struct due to mruby lacking support Cyberarm 2023-04-28 22:29:53 -05:00
  • 25c36d3788 Add CyberarmEngine::Stats::StatsPlotter for rendering frame timings graph along with labeled sub-timings Cyberarm 2023-04-20 21:54:44 -05:00
  • c26ddeef4d Refactored CyberarmEngine::Stats to track data for last N frames Cyberarm 2023-04-20 16:08:59 -05:00
  • 5e3e06b74e Improve Vector arithmetic performance by 2x Cyberarm 2023-04-16 20:26:29 -05:00
  • 72037efc73 Fixed Slider element not working properly under mruby (attempts to slide would jump between min/max values) Cyberarm 2023-03-27 17:13:51 -05:00
  • 1462f89e24 Initial support for using cyberarm_engine as a mruby mrbgem: Remove/disable usages of defined?, update old gosu mouse and keyboard constants, and replace one usage of window.button_down? with proper Gosu.button_down? Cyberarm 2023-03-24 18:21:41 -05:00
  • 98948c891a Request repaint when hiding menu Cyberarm 2023-03-17 11:05:17 -05:00
  • da16ab1ec9 Bump version v0.23.0 Cyberarm 2023-02-01 15:48:29 -06:00
  • eb5d170733 Added #find_element_by_tag to Common module Cyberarm 2023-01-31 14:33:17 -06:00
  • 14e9d4946f Add GameState#needs_repaint? and Container#remove Cyberarm 2023-01-31 10:17:41 -06:00
  • e3b8a9b102 Fixed overdrawing on BorderCanvas for left side, fixed BackgroundImage fill mode not filling correctly, fixed Progress in marquee mode not request repaint each frame. Cyberarm 2023-01-11 15:05:58 -06:00