Commit Graph

64 Commits

Author SHA1 Message Date
775e04fffa Refactor. 2019-03-08 13:41:03 -06:00
2d73d204e1 Updated text button to use new centering setup. Also minor refactor. 2019-03-08 10:17:37 -06:00
5ffdc3a9d6 Added UI automatic centering. 2019-03-08 10:14:51 -06:00
ebe22fa9dc Added better exception throwing for missing regions for skins by adding a required option for regions. 2019-03-07 23:43:25 -06:00
238cdbde71 Removed built in debugger due to issue with spritebatch and requireing it to restart the batch. May be replaced with a better solution later. 2019-03-05 23:05:39 -06:00
e19f6be719 Clean up and progress on buttons. 2019-03-05 21:42:28 -06:00
d346f7c729 Added centering function. 2019-03-05 21:41:31 -06:00
8bd6ba6dc8 Implemented spritebatch's method of handling the origin. 2019-03-01 23:27:44 -06:00
f311cc38f3 Added offset to be used instead of origin in spritebatch does things I don't want it to do. Also added a project to more easily test this library. 2019-03-01 23:27:07 -06:00
051f3b04b5 Attempted at fixing 2D camera system. 2019-02-24 22:44:02 -06:00
de93e35b07 implemented rectangle renderer changes. 2019-02-11 23:27:51 -06:00
f8285c8786 Book now sets the pages camera to the books camera. 2019-02-10 23:32:16 -06:00
3c7e6cdefb Implemented the changes of the new camera. 2019-02-06 00:12:08 -06:00
e1e2bbb3d7 Began trying to fix primitive batch. Added a default camera to the configuration. 2019-01-30 07:46:58 -06:00
8387cbc604 function for obtaining color will now work with nulls by setting the key to "default". 2019-01-29 16:54:24 -06:00
ec53e887ee fixed logic. 2019-01-29 16:27:04 -06:00
52d5220a30 implemented previous skin changes. 2019-01-29 16:23:25 -06:00
32f9ff11fb changes in how skin system works. 2019-01-29 16:22:14 -06:00
359f3381bf changes to reflect changes for skin. 2019-01-29 16:00:43 -06:00
e356a82190 using heirarchy for definitions implemented. 2019-01-29 16:00:13 -06:00
2e984db135 previous commit didn't contain actual update file, so its apart of this commit. 2019-01-29 15:59:35 -06:00
60d02f1f81 Skin will now return null if the skin doesn't contain a texture region a definition potentially requests. If request name is null, will now also return null. 2019-01-29 15:58:20 -06:00
8ea9ae3921 attempt at fixing skin system as well as improved convenience. 2019-01-28 19:43:41 -06:00
7892bff6be fixed issue with skin being null. 2019-01-27 18:31:19 -06:00
501da58cb7 Changed use of Skin to ISkin. 2019-01-27 18:14:10 -06:00
44e574ddce Changed from using Skin to interface ISkin. 2019-01-27 18:11:45 -06:00
fa8a8f169c Added convenience function for UI modules that centers the origin relative to the bounds. 2019-01-27 18:06:55 -06:00
66b2fb9c5c event now passes the button that sent the event. 2019-01-27 17:59:55 -06:00
872a0f8a66 added public accessibility modifier. as it should be. 2019-01-27 17:59:27 -06:00
ac97cc64c0 added default skin books can use for their pages. 2019-01-27 17:43:17 -06:00
9d84b641db refactor. 2019-01-27 17:39:18 -06:00
6ba5274942 added convenience asset passing for books and pages. 2019-01-27 15:24:31 -06:00
449ac58c6f added initialize function to pages. 2019-01-27 14:57:47 -06:00
69d8e59e8b changed skin merge system to completely using try and catch, as well as minor documentation change. 2019-01-27 14:57:35 -06:00
067defc8c6 minor documentation edit. 2019-01-26 23:44:22 -06:00
d1d9b1ad55 added check for minimal functionality. 2019-01-26 22:56:53 -06:00
6df8386841 file rename. 2019-01-21 23:40:14 -06:00
8c54d7e12d refactor 2019-01-21 22:18:22 -06:00
ea6b3cf9e3 Added setup system. Changed reader and writer for texture atlas and nine patch to have image and serialized data be in same file. Some refactors occurred as well. 2019-01-21 19:56:51 -06:00
fbf6c5d1aa cleanup; update ninepatch reader to work with pipeline changes made a while back; fixed extension issue for atlas reader. 2019-01-20 23:21:29 -06:00
d9884024ef refactor 2019-01-20 21:45:15 -06:00
5f4e870656 refactor and documentation 2019-01-20 21:10:52 -06:00
15defa37db refactor and added polling for the threading. 2019-01-20 19:15:50 -06:00
1ae2b0cf8d Async added for skin manager. 2019-01-20 18:05:40 -06:00
ea8f96d877 Progress on skin system, added skin stack. 2019-01-20 01:08:38 -06:00
9392124317 began work on skin manager with basics done and untested. 2019-01-15 19:34:59 -06:00
203f251df6 Removed font section. 2019-01-15 19:34:02 -06:00
748de59052 Refactor. again. 2019-01-15 17:44:15 -06:00
441a4d1a36 Refactoring 2019-01-15 17:33:55 -06:00
a62ec1bd38 Refactors and documentation. 2019-01-15 17:03:17 -06:00