Commit Graph

136 Commits

Author SHA1 Message Date
c52283295a scroll normalization corrected and now has boundary restrictions. 2019-04-28 13:55:58 -05:00
72188194e5 Scrolling now moves children. 2019-04-27 23:22:33 -05:00
1211cda508 Hand scrolling moves scroll bars appropriately. 2019-04-26 00:09:31 -05:00
53000e6a6c Fading now works. 2019-04-15 20:25:36 -05:00
f82c6cb9e1 more progress on scroll system. 2019-04-12 21:46:12 -05:00
91e005ea00 Progress on scroll panel. 2019-04-11 00:51:26 -05:00
3e5b838abe Many refactors and minor changes. idk. 2019-04-08 23:58:27 -05:00
4d4d46ad1b Changed origin to use floats instead of ints to accomodate for scaling. 2019-03-28 12:10:39 -05:00
d05554c379 Fixed issue with camera position on instantiation. 2019-03-28 12:09:48 -05:00
2c7f2900a9 update .csproj 2019-03-27 02:37:53 -05:00
d7ca521b9b Scissoring now works and implemented; Refactoring as well; 2019-03-27 02:35:20 -05:00
b045033b25 refactoring; removed configuration setup; added consistent sprite batch; got rid of sprite batch settings; implemented newer setup; 2019-03-23 19:04:43 -05:00
e3535f5662 Changed 9p and tatlas' to use a separately loaded texture. 2019-03-20 19:28:16 -05:00
4add103f94 Added sprite batch settings to maintain sprite batch begin settings and keep consistency and control over settings. Ninepatch uses this. 2019-03-10 00:50:03 -06:00
04ec3cd793 Variable name refactor. 2019-03-10 00:49:25 -06:00
5080deed02 Added basic world scale variable. 2019-03-10 00:46:28 -06:00
c59252dbbf Added better system for beginning sprite batches for easier consistency. 2019-03-09 02:03:05 -06:00
ed11d31100 Modules made more useable by improving or fixing some of the drawing position logic. Variable names refactored as well. 2019-03-09 00:57:29 -06:00
782ca31f15 Implement module var name refactor and added way to keep insertion order. 2019-03-09 00:55:44 -06:00
ce2f402153 Added check for invalid parameters. 2019-03-09 00:54:41 -06:00
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
7b130f39ea Ninepatch boundaries are now on the outside of the given bounds. 2019-03-05 21:36:57 -06:00
78417186d1 Another fix for 9 patch. 2019-03-04 18:22:34 -06:00
668090cd5d fixed up 9 patch stuff. 2019-03-04 18:18:43 -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
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