Commit Graph

155 Commits

Author SHA1 Message Date
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
5c0d678076 rotation functioning in rectangle renderer. 2019-02-22 02:17:50 -06:00
8d5435ad6c Rectangle renderers work. 2019-02-22 01:59:51 -06:00
c8e8bbf2be Small projects to perform tests and help with fixes. 2019-02-14 00:48:30 -06:00
68345ada3c rectangle renderer now has correct corner calculations; switched to vertex buffer for primitive batch. still wip. 2019-02-13 07:44:05 -06:00
de93e35b07 implemented rectangle renderer changes. 2019-02-11 23:27:51 -06:00
4fb9e64f06 Removed begin and end because thats not how it works... Still working on rectangle drawing for rotating rectangle. 2019-02-11 23:27:36 -06:00
cec8ff1f17 forgot to change this back to use whatever primitive type is given. 2019-02-11 23:26:46 -06:00
b072701a22 strip primitives now works. 2019-02-11 23:21:35 -06:00
f8285c8786 Book now sets the pages camera to the books camera. 2019-02-10 23:32:16 -06:00
2bd6d68490 Primitive batch now works. Probably. 2019-02-10 23:32:00 -06:00
56eb4e9e7f Camera2D now tested to work. Probably. 2019-02-10 23:28:48 -06:00
751bdd72e8 Camera now uses correct graphics device reference. 2019-02-07 23:44:39 -06:00
85188e859f Center(); function of 3D camera now also sets Z position to 0. Changed order of multiplication for matrices. 2019-02-06 15:40:54 -06:00
3bd3b0f9f6 Renamed Camera class to Camera3D. 2019-02-06 00:12:39 -06:00
3c7e6cdefb Implemented the changes of the new camera. 2019-02-06 00:12:08 -06:00
e0858ad85d Added 3d camera and created 2d camera from it. 2019-02-06 00:11:22 -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
ff2e0b479f Added a function to check for the existence of a region. 2019-01-29 15:55:56 -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
2788d9d349 changed content manager controller's generic type to allow for any object instead of IDisposable only. 2019-01-27 17:12:16 -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
96dbb7df6b removed fractures of old disposal implementation that is no longer needed. 2019-01-26 23:23:16 -06:00
d1d9b1ad55 added check for minimal functionality. 2019-01-26 22:56:53 -06:00
cf9c27456d convenience constructors added for skin serializable. 2019-01-26 22:11:01 -06:00
6df8386841 file rename. 2019-01-21 23:40:14 -06:00
9ba854818a improved debug. 2019-01-21 23:38:50 -06:00
1b54dd2d28 refactor and moved normal resolver to library (forgot to commit this part last time). 2019-01-21 23:38:25 -06:00
010c66aa0e removed as it should be part of the consumer end of library. 2019-01-21 23:36:40 -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
54ebaa0fff added default path modifier. 2019-01-20 21:31:20 -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
019b955577 refactored. 2019-01-20 01:31:01 -06:00
ea8f96d877 Progress on skin system, added skin stack. 2019-01-20 01:08:38 -06:00
6fdcdcf923 refactors and added forgotten semicolon :/ 2019-01-20 01:07:52 -06:00
9392124317 began work on skin manager with basics done and untested. 2019-01-15 19:34:59 -06:00
a27df5a287 refactors. 2019-01-15 19:34:47 -06:00
203f251df6 Removed font section. 2019-01-15 19:34:02 -06:00
cc0203f111 Exposes function to generate regions from data and texture. 2019-01-15 19:33:22 -06:00
3cb1a5913d forgot to add/change the imports after refactor. so here it is. 2019-01-15 17:49:38 -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
f5cbd9dbab refactors 2019-01-14 23:38:50 -06:00
f4dcc9b5a7 began working on being able to save skins. 2019-01-14 23:38:20 -06:00
30c96f1fff implemented proper disposal 2019-01-14 21:06:00 -06:00
2a2a7cba49 Done basic documentation. Further expansion may be needed. Maybe. But only maybe. 2019-01-14 20:00:11 -06:00
b019b7cf10 Even more documentation. 2019-01-14 01:26:46 -06:00
40c7772559 documentation. 2019-01-14 00:34:35 -06:00
32c2f25196 documentation 2019-01-13 23:23:03 -06:00
4ac011f3cf fixed up pipeline extension process because monogame is weird. 2019-01-13 22:05:34 -06:00
9df8503f08 removed all unused imports. 2019-01-13 14:22:53 -06:00
1070deb193 Naming change. 2019-01-13 00:12:55 -06:00
edd2e94a6a minor change for the dispose exception for disposables. 2019-01-12 23:40:52 -06:00
bfdc36a3e2 Made a rectangle renderer. 2019-01-12 00:47:17 -06:00
bb0e20d039 Added disposed checks, as well as safeties for strip primitives. 2019-01-12 00:46:57 -06:00
c9991f08c5 Primitive batch now works with strips. 2019-01-11 23:11:45 -06:00
ec62b81a12 basic primitive batch progress. 2019-01-11 22:09:42 -06:00
74a9ff74b2 fixed crash on invalid input followed by -i for texture packer command. 2019-01-08 15:42:04 -06:00
eedc083e03 Improved variable naming for ninepatch classes. 2018-12-29 00:29:31 -06:00
3bbbd672be Changed implementation of IDisposable to proper way. 2018-12-29 00:23:29 -06:00
d2ac5196cb Merge branch 'master' of deng-systems:git/RecrownedAthenaeum 2018-12-23 11:04:50 -06:00
5f525fbb9f removed compression step, added ninepatch stuff to pipeline. 2018-12-23 11:04:11 -06:00
5ec738ae1b refactor (moved some files) 2018-12-14 14:25:14 -06:00
a97cfa0309 Merge branch 'master' of deng-systems:git/RecrownedAthenaeum 2018-12-14 00:44:27 -06:00
8ab83b5188 implemented skin system to ui modules; progress on functional text button. 2018-12-14 00:43:38 -06:00
4fd37b6675 implemented the special drawable interface. 2018-12-14 00:42:51 -06:00
28d4f48b51 interface added for all the possible special drawable objects. 2018-12-14 00:42:03 -06:00
068e21b93c removed bin folder from project. 2018-12-12 14:10:04 -06:00
8ddb79c135 added documentation and cleaned up some parameters. Added obtain and draw functions to the skin class. 2018-12-11 20:04:31 -06:00
081f84cd47 properly implemented ISkinDefinition to the skins (forgot to update definitions after modifying the interface). 2018-12-11 01:15:10 -06:00
dd768ac751 began working on skin system. 2018-12-11 01:12:34 -06:00
f3bfba0045 refactored naming of ui text from text label to text. 2018-12-11 01:12:25 -06:00
c8ec1b01b1 texturepacker fixed and functional. 9p not tested yet. 2018-12-09 13:45:47 -06:00
b6581cfb47 cleaned up code and output. 2018-12-09 00:55:51 -06:00