Commit Graph

269 Commits

Author SHA1 Message Date
da5d740c6e Sync: Renamed Engine to Window to be less confusing, elements are now supposed to throw a changed event if their value is changed 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. 2020-04-10 18:45:55 -05:00
185ab000d6 Updated rake 2020-04-06 09:40:41 -05:00
ed061c8408 Fixed incorrect element positioning when using margin 2020-04-06 09:38:30 -05:00
d8551c7428 Bump version v0.13.1 2020-03-24 10:34:14 -05:00
0017c841dd Added Shader.delete, shaders now clean up after themselves 2020-03-24 10:33:44 -05:00
8cedb40283 Increase shader error message buffer size 2020-03-22 17:28:03 -05:00
93a4e9a2b8 Fixed Vector#== erroring out with doing Vector == SomeObject 2020-01-30 20:08:17 -06:00
a0c0180411 Merge branch 'master' of https://github.com/cyberarm/cyberarm_engine 2020-01-29 18:22:33 -06:00
7f25cd49fe Added ConfigFile for persistent hash storage 2020-01-29 18:22:24 -06:00
7e6a17fe9f Updated README, added some docs for Shader 2020-01-29 11:52:51 -06:00
0ea1e5c2ff Add documentation for Vector 2020-01-29 10:55:51 -06:00
8c34293307 Updated required gosu to 0.15 series, bumped version v0.13.0 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 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 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. 2020-01-13 20:13:03 -06:00
a267695b1c dry up DSL's flow/stack methods 2019-12-29 11:30:33 -06:00
d76da62ee1 Update animator pass in from and to objects 2019-12-19 16:54:33 -06:00
3a83e616d3 Added Animator for creating animations with various tweeners, supports Gosu::Color's and numbers 2019-12-19 13:08:29 -06:00
52940d1cfe Fixed element borders not always lining up when using dynamic width/height 2019-12-19 11:17:31 -06:00
e59771e412 Refactored Shader.set_uniform into multiple methods 2019-12-09 11:49:46 -06:00
b382bf6960 Fix passing Vector (as vec3) to Shader 2019-12-09 08:51:31 -06:00
a5ed650970 Got 3D rotations working as expected 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 2019-12-07 09:59:47 -06:00
cc813c023f Added initial 3D support to Transform 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 2019-11-22 17:20:03 -06:00
c67d6f9d26 Trigger recalculate when Container#clear is called 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. 2019-11-21 14:07:42 -06:00
89a54e90a1 Added Vector.xy 2019-10-25 13:57:23 -05:00
48d2924c9b Probably fixed Element dynamic width/height 2019-10-24 10:47:13 -05:00
7cc733dee4 Bumped version v0.12.1 2019-10-15 11:41:53 -05:00
28c4acdedf Added Gosu.draw_circle 2019-10-09 11:35:40 -05:00
57313a33a6 Bump version v0.12.0 2019-10-08 08:54:15 -05:00
5d16500edd Added support for passing flags to get_image, aliased Vector#weight/= to Vector#w/= 2019-10-08 08:53:37 -05:00
51dd3803fa Moved files around, renamed Matrix to Transform 2019-10-07 12:30:48 -05:00
c6beab3e99 Added Matrix, incomplete. 2019-10-06 21:35:10 -05:00
8ce594753e Bumped version v0.11.1 2019-10-01 14:58:00 -05:00
ae44083cf2 Fixed default theme border to thick, fixed BoundingBox#point? order dependent 2019-10-01 14:57:17 -05:00
b25f76e124 Bumped version v0.11.0 2019-10-01 11:48:43 -05:00
8f9e671340 Added Vector#lerp 2019-10-01 11:48:22 -05:00
bb482f4463 Sync 2019-09-26 12:41:34 -05: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
6fafe98008 Removed 'require "gosu"' from background 2019-09-12 08:03:27 -05:00
002a01abfc Bump version v0.10.2 2019-08-13 09:52:24 -05:00
6f7bac3880 BoundingBox#intersect? now supports Ray 2019-08-13 09:51:53 -05:00
993e59aa94 Added Shader#get to retrieve instance of Shader if shader with name exists 2019-08-13 07:26:06 -05:00
e30ed7c6be Fixed a couple warnings 2019-08-11 09:38:09 -05:00
a172c24d97 Bump version v0.10.1 2019-08-10 09:42:29 -05:00
003715f685 Added Shader#available? method for checking if a shader useable 2019-08-10 09:42:00 -05:00
1458736f7d Bumped version v0.10.0 2019-08-08 21:22:31 -05:00