1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-11-10 00:39:09 +01:00
Commit graph

148 commits

Author SHA1 Message Date
Ell
f24ad5025c use TextureRegion for AutoTiling 2021-12-03 21:10:19 +01:00
Ell
1ed6b019bb separate background and overlay regions in DrawExtendedAutoTile 2021-12-03 20:59:56 +01:00
Ell
831da36bcc allow drawing the background of extended auto tiles in a separate color 2021-12-03 18:04:03 +01:00
Ell
376a068864 Moved AutoTiling to Graphics namespace and removed deprecated Misc versions of SoundEffectInfo and SoundEffectInstanceHandler 2021-11-29 21:24:08 +01:00
Ell
53b93a34f8 Made TextFormatter string size based on the currently active font and added a formatting code to allow for inline font changes 2021-11-27 22:45:37 +01:00
Ell
ad1d6a864e Added DrawExtendedAutoTile to the AutoTiling class 2021-11-27 15:03:30 +01:00
Ell
f37179486c added some pathfinding tests, as well as some minor code improvements 2021-11-23 21:42:18 +01:00
Ell
4966886b70 fixed a ui demo crash when leaving while the wobble button is wobbling 2021-10-30 15:35:46 +02:00
Ell
ca89d03ca4 Some more ui style improvements 2021-10-30 15:33:38 +02:00
Ell
0809cd0218 Added style properties for a lot of hardcoded default element styles 2021-10-29 23:33:15 +02:00
Ell
11dd939009 Added a multiline editing mode to TextField 2021-10-12 02:16:09 +02:00
Ell
9890c4895c Fixed tooltips not displaying correctly with auto-hiding paragraphs 2021-09-09 16:53:12 +02:00
Ell
01bec459de disallow creating Paragraphs without fonts 2021-07-22 04:51:41 +02:00
Ell
9eef1e5b1c added alt text and better gallery descriptions to README 2021-07-22 04:40:09 +02:00
Ell
bb189261d7 Added a masking character to text fields 2021-07-08 18:17:39 +02:00
Ell
14940d39c5 added text alignment options to tokenized strings and paragraphs 2021-06-25 15:23:30 +02:00
Ell
2055c3a6ef convert tests to use graphics 2021-04-02 17:12:27 +02:00
Ell
69d81da70c update demos and sandbox to netcore3.1 which was long overdue 2021-02-18 16:12:44 +01:00
Ell
106102adf6 clean up unused using statements 2020-12-14 21:51:27 +01:00
Ell
fd9ad777c2 some fixes related to the branch name change 2020-11-07 00:58:43 +01:00
Ell
3005b3edcb added an extension method to auto-reverse an easing function 2020-10-24 22:10:34 +02:00
Ell
6a383e200b a small rebranding 2020-09-28 20:53:39 +02:00
Ellpeck
abffa4db57 fixed an element transform issue and added a fancy button to the ui demo 2020-07-20 00:28:31 +02:00
Ellpeck
e427305490 cleaned up the demos a bit to allow better usage on mobile 2020-07-17 14:56:22 +02:00
Ellpeck
f94802271b added easing functions 2020-07-16 00:45:25 +02:00
Ellpeck
f1d686f0c0 move CustomDrawGroup behavior into Element, allowing any element to inherit it 2020-07-15 23:21:52 +02:00
Ellpeck
deec553b22 code cleanup 2020-06-18 17:24:35 +02:00
Ellpeck
0ea22435c2 updated dependencies 2020-06-13 03:19:20 +02:00
Ellpeck
7ba14ba7f5 removed parentheses around MLEM's name 2020-05-28 00:49:29 +02:00
Ellpeck
1fd78637cd also change demo links 2020-05-21 02:20:46 +02:00
Ellpeck
728e2a53f2 fixed font formatting codes not having priority 2020-05-17 14:26:45 +02:00
Ellpeck
037ed43410 streamline ui text formatting and paragraph links 2020-05-17 00:10:29 +02:00
Ellpeck
7f0a8289e3 added link formatting codes! 2020-05-15 22:15:24 +02:00
Ellpeck
fcd898e16b finished the new formatting, finally! 2020-05-15 19:55:59 +02:00
Ellpeck
f72962808b cleaned up the demos a bit 2020-05-14 15:42:40 +02:00
Ellpeck
f4bec17448 made text formatting codes ignore case 2020-04-06 02:20:57 +02:00
Ellpeck
76cb94bb34 added smooth scrolling 2020-03-07 22:09:11 +01:00
Ellpeck
93a77b882f added an FPS counter to the demos 2020-02-20 17:57:14 +01:00
Ellpeck
055eba7a34 fixed the font, remove azure pipelines 2020-02-17 17:43:48 +01:00
Ellpeck
72eff17d5f made text formatting and line splitting preserve spaces properly 2020-02-08 18:24:14 +01:00
Ellpeck
ed5114d089 added FindPathAsync 2020-02-06 17:43:34 +01:00
Ellpeck
5bf111d05a fixed SplitString not respecting long words 2020-02-06 02:27:21 +01:00
Ellpeck
b3331834e1 I did not want to push this here
This reverts commit ee511137
2020-02-06 01:51:41 +01:00
Ellpeck
ee5111372b part 1 2020-02-06 01:33:24 +01:00
Ellpeck
e37cfed757 added the ability to have mixed formatting 2020-02-03 15:38:27 +01:00
Ellpeck
347da85b10 whoops 2020-02-03 04:39:28 +01:00
Ellpeck
02b25236b1 part 2: format state and making the codes do the work 2020-02-03 04:25:12 +01:00
Ellpeck
b480026b7e formatting code redesign, part 1: Regex! 2020-02-03 03:04:13 +01:00
Ellpeck
c209078661 added a corner-based rectangleF method to fix the pathfinding demo 2020-01-30 01:08:10 +01:00
Ellpeck
074fea5fd0 banish MonoGame.Extended from everything but MLEM.Extended 2020-01-30 00:55:02 +01:00
Ellpeck
7e6534bfc1 added the option to disable buttons 2020-01-15 17:05:28 +01:00
Ellpeck
e20a51ef23 allowed formatting codes to contain sprite animations 2020-01-04 00:27:45 +01:00
Ellpeck
3d0c3cd6d1 made format settings a bit better and also added drop shadow 2019-12-26 19:30:17 +01:00
Ellpeck
8d3afcf276 made CanSelectContent be set automatically by the root through adding more events 2019-12-08 21:49:15 +01:00
Ellpeck
f86944ee9a added DoUpdate to MlemGame 2019-12-05 17:35:24 +01:00
Ellpeck
56db141a68 fixed the ui demo 2019-11-20 15:01:24 +01:00
Ellpeck
f28e234392 made style props a lot easier to use 2019-11-05 13:28:41 +01:00
Ellpeck
ee35509f23 made ui styling a lot more user friendly 2019-10-14 21:28:12 +02:00
Ellpeck
36204e40cb turn some points into vectors for added precision 2019-09-26 22:16:21 +02:00
Ellpeck
8afe9962fb added a dropdown menu and also fixed some issues 2019-09-12 12:39:18 +02:00
Ellpeck
3b76ff1f2a added a uniform texture atlas class 2019-09-11 20:50:21 +02:00
Ellpeck
9e5f324652 added progress bars 2019-09-10 23:28:25 +02:00
Ellpeck
672e5eb548 clean up navigation a lot 2019-09-09 17:12:36 +02:00
Ellpeck
b87bb01a80 make the documentation for the custom draw group better 2019-09-08 21:31:11 +02:00
Ellpeck
c1c7b7a9b1 remove individual component additional scale in favor of custom draw groups 2019-09-08 16:45:15 +02:00
Ellpeck
b2b59aa78a added text animation 2019-09-06 15:49:59 +02:00
Ellpeck
a46e8fce86 moved formatting to MLEM proper 2019-09-06 12:20:53 +02:00
Ellpeck
35ee509eac added the ability to display images in paragraphs 2019-09-05 20:28:05 +02:00
Ellpeck
f4658aede0 added a direction2 class 2019-09-04 13:05:44 +02:00
Ellpeck
0dff0e275d added the ability to transform the entire ui 2019-09-02 19:55:26 +02:00
Ellpeck
b1ce3dc933 generify the demos to make them work on android and desktop 2019-09-01 11:55:41 +02:00
Ellpeck
3603de78d0 added a time calculation to the pathfinder 2019-09-01 10:54:25 +02:00
Ellpeck
3862f78c9b made text fields work on mobile too 2019-08-30 19:05:27 +02:00
Ellpeck
5c741a98e9 tabbing, part 1! 2019-08-28 18:27:17 +02:00
Ellpeck
ed7865379d added image button 2019-08-27 21:44:02 +02:00
Ellpeck
765acc3f62 replace onclicked with much easier to make compatible onpressed 2019-08-25 21:49:27 +02:00
Ellpeck
226640ef3a simplify text rendering quite a bit after realizing that monogame deals with multiple lines on its own 2019-08-25 19:07:45 +02:00
Ellpeck
90352c49f4 made the wobble animation loop 2019-08-24 19:52:28 +02:00
Ellpeck
d231386f86 made auto-anchored elements look for the lowest older sibling 2019-08-24 15:12:11 +02:00
Ellpeck
21c17066fc added column helper and fixed some more bugs 2019-08-24 15:00:08 +02:00
Ellpeck
d69033a315 fixed some bugs and added column helper 2019-08-24 14:34:08 +02:00
Ellpeck
cb5594bada added ElementHelper and did some textfield changes 2019-08-24 12:40:20 +02:00
Ellpeck
e1baacdb0d added text formatting 2019-08-24 00:07:54 +02:00
Ellpeck
dfe31e6726 added the option to auto-scale both the camera and ui systems 2019-08-23 19:46:36 +02:00
Ellpeck
3132074a39 added the option to add a placeholder to the text field 2019-08-23 18:56:39 +02:00
Ellpeck
d078f144fd fix weird grammar but ok 2019-08-23 00:15:00 +02:00
Ellpeck
74988921b1 added line space to paragraph 2019-08-23 00:12:26 +02:00
Ellpeck
04b9c9e97c added naming and priorities to animations 2019-08-21 20:25:32 +02:00
Ellpeck
72b473dc1d added possible element wobble 2019-08-20 21:35:53 +02:00
Ellpeck
ff5f1a5b84 added a simple GetChildren too 2019-08-18 18:34:15 +02:00
Ellpeck
ef677ae441 added some useful querying functions 2019-08-18 18:32:34 +02:00
Ellpeck
edf073dacb added rules for text input 2019-08-18 17:59:14 +02:00
Ellpeck
a9593ccb74 overhauled pathfinding and added a demo for it 2019-08-18 15:14:35 +02:00
Ellpeck
4e1c6d8128 added sliders (horizontal scroll bars) 2019-08-16 19:08:36 +02:00
Ellpeck
5d8e010bad made tooltips not go off screen and fixed the ui system breaking clearing 2019-08-15 14:59:15 +02:00
Ellpeck
e150c0eb0d updeet 2019-08-14 19:08:37 +02:00
Ellpeck
482244df0e added sprite sheet animations 2019-08-14 19:07:23 +02:00
Ellpeck
75deef068a renamed examples to demos and added an auto tiling demo 2019-08-14 14:15:07 +02:00