Dylan Wilson
0287f8c837
starting the big docs cleanup
2019-10-02 22:05:09 +10:00
Dylan Wilson and GitHub
e962cec448
A mix between Tiled and GUI stuff ( #553 )
...
* mostly restored the tiled importer unit tests
* code cleanup
* code cleanup
* almost got tiled maps serialization independent of the content pipeline
* refactored the tiled map content importer so that tiled maps can be loaded at runtime
* code cleanup
* removed nuspec files
* experimenting with an XML based GUI markup parser
* a few more markup parser features
* finally got a working open file dialog
* experimenting with markup bindings
* attached properties
* working on the gui stuff again
* working on a better textbox
* multiline textboxing
* new text box is really coming along
* removed the content explorer experiment
* restored the old gui demo back to the way it was before (for now)
2018-10-09 22:18:48 +10:00
Dylan Wilson
b4860bd4bb
converted all of the unit tests to xunit
2018-05-12 21:05:02 +10:00
Dylan Wilson
ad03ad3251
removed most of the compiler warnings about missing XML docs
2018-02-07 22:13:43 +10:00
SenpaiSharp and Dylan Wilson
fa3ec93ae2
Apply kerning to the current glyph. ( #465 )
...
Kerning value 'amount' wasn't being applied to the '_currentGlyph.Position.X' in either MoveNext() methods, only '_positionDelta.X'. Both are needed for proper positioning.
2018-02-07 22:00:04 +10:00
Lucas Girouard-Stranks
4edce00e35
Fix BitmapFont
2017-04-20 02:16:08 -07:00
Dylan Wilson
14c38a0f08
enable bitmap font kerning by default
2017-04-06 21:54:44 +10:00
Roman Shapiro and Dylan Wilson
eab2ed17ce
Added kernings support to the BitmapFont ( #372 )
2017-04-06 21:41:21 +10:00
Dylan Wilson
89006402c6
refactored the bitmap font class to have a get glyphs method
2017-03-16 22:26:11 +10:00
Lucas Girouard-Stranks and Dylan Wilson
a1f8566a46
Geometric Primitives Cleanup ( #346 )
...
* CircleF and RectangleF
* Fix build errors
2017-03-12 20:32:07 +10:00
Dylan Wilson
3be8189376
extended the clipping code to cover bitmap fonts and all overloads of texture region draw methods
2017-02-21 21:53:10 +10:00
Lucas Girouard-Stranks and Dylan Wilson
b22a062147
Fix Tiled Problems ( #332 )
...
* Add Tiled Content Pipeline library to NuGet
* Update Tiled NuGet package elements.
* Remove dependency on Graphics
* Update csproj for removal of Graphics dependency
* Fix build errors
* Fix problems
2017-01-20 21:08:14 +10:00
Dylan Wilson
4017ebf483
a little resharper code cleanup
2016-12-01 20:10:41 +10:00
Dylan Wilson
d1ffba93f2
added a GetStringRectangle overload for backwards compatibility and to fix a compile error on the build
2016-11-27 18:51:46 +10:00
Dylan Wilson
700f2df723
perfect measure string
2016-11-27 11:23:35 +10:00
Dylan Wilson
f6f0fb7676
cleaned up the demo and removed text wrapping
2016-11-27 10:36:15 +10:00
Dylan Wilson
2536fa3528
perfect rotation and scaling parity between bitmapfont and spritefont
2016-11-26 23:18:07 +10:00
Dylan Wilson
d448a88779
perfect bitmap font rotation
2016-11-26 22:38:39 +10:00
Dylan Wilson
833547a7c2
perfectly matching measure string methods
2016-11-26 22:20:07 +10:00
Dylan Wilson
55a32e5405
basic text rendering with new lines looks identical to sprite font
2016-11-26 21:32:26 +10:00
Dylan Wilson
ae08754041
setup a bitmapfont to spritefont comparison
2016-11-26 20:50:55 +10:00
Dylan Wilson
c607b0ebd7
partially fixed the bitmap font issue, ignored a broken unit test to avoid confusion
2016-11-25 13:36:18 +10:00
Dylan Wilson
6a8ba280a7
started fixiing the bitmap font issues
2016-11-23 12:20:28 +10:00
Dylan Wilson
d462ee4be6
decoupled the nuclex gui code from the input listeners and other code cleanup
2016-11-09 22:01:10 +10:00
Scellow and Dylan Wilson
15e366d573
Made BitmapFont ctr public ( #300 )
...
I'm not using the MonoGame content pipeline, so i need the contructor to be public to be able to manually load a BitmapFont from file
2016-11-09 20:16:43 +10:00
Dylan Wilson
c4e9b4f663
Merge branch 'develop' of https://github.com/craftworkgames/MonoGame.Extended into develop
2016-10-29 21:19:07 +10:00
Dylan Wilson
20f6a0137a
added a ToString to BitmapFontRegion
2016-10-29 21:18:43 +10:00
lozzajp and Dylan Wilson
edbb0170c8
BitmapFonts now returning a "rectangle" size. ( #281 )
...
* BitmapFonts correct height and width "rectangle" measuring string.
* BitmapFonts correct height and width "rectangle" measuring string.
* MeasureString now returns "rectangle" size.
BitmapFont MeasureString() now returns the proper "rectangle" size as expected.
Fixed up LetterSpacing issue if line ends with line char.
* Renamed variables and added null check.
2016-10-28 21:34:30 +10:00
Quentin Delvallet and Dylan Wilson
629ae8d98e
Fixed scale for BitmapFont draws ( #269 )
2016-10-18 15:35:12 +10:00
Bil Simser and Dylan Wilson
304a14d5f7
Added additional overloads to the BitmapFont DrawString methods to support the same functions the SpriteBatch.DrawString have. Also updated the demo to showcase all of these. ( #253 )
2016-09-06 21:51:08 +10:00
Lucas Girouard-Stranks and Dylan Wilson
b6cf784a80
DynamicBatch2D - SpriteBatch API ( #251 )
...
* Matrix2D ToMatrix
* Merge draw calls when enqueueing.
* progress
* Batch2D sort modes
* SpriteBatch API for Batch2D
* doc fix
* doc fix
* DynamicBatch2D drawing API matches SpriteBatch
* Make End() protected
* Match SpriteBatch.Begin API
* DynamicBatch2D DrawSprite by destination rectangle
* GetPrimitiveCount -> GetPrimitivesCount
* doc fix
2016-09-02 20:32:18 +10:00
Fabien
7af763b75e
Add LetterSpacing to BitmapFont
2016-08-10 16:00:56 -07:00
Fabien
8b3e84f57c
correct width calculation for bitmap fonts
2016-07-30 14:41:03 -07:00
Dylan Wilson
605f644257
nine patch gui sprites and content alignment
2016-07-12 21:45:45 +10:00
Dylan Wilson
9cc929c18e
figuring out how to properly load gui files from json
2016-07-11 22:50:02 +10:00
Dylan Wilson
c3507f29fd
refactored the DrawString methods to remove functionality that doesn't work yet
2016-05-02 20:33:22 +10:00
David Taylor
6b22d6b851
Add DrawString overload for MonoGame compatibility
...
This change makes BitmapFont more of a drop-in replacement for
SpriteFont.
2016-04-27 08:59:01 -04:00
David Taylor
0cba410675
Support Unicode emoji characters in BitmapFont
...
The .NET Char type currently used to identify a glyph in a BitmapFont is
limited to 16 bits, while some Unicode characters (surrogate pairs,
which include Emoji) require 32 bits.
The fix is to use the Int32 type to represent a Unicode character, and
to parse UTF-16 .NET input strings as 32-bit Unicode code point
sequences.
2016-04-26 21:46:10 -04:00
Dylan Wilson
4a5271d54f
fixed a whole bunch of C# 6.0 niceties
2016-03-02 20:28:50 +10:00
Dylan Wilson
17f3b8d060
added the rest of the samples as demos
2016-02-25 20:37:43 +10:00
Dylan Wilson
3b4f2267f4
made some improvements to the draw method situation
2016-02-14 20:55:42 +10:00
Dylan Wilson
b5c1845e5a
code cleanup
2016-01-30 11:57:37 +10:00
Dylan Wilson
396685471b
now we are getting somewhere with the gui yay
2016-01-20 21:45:34 +10:00
Dylan Wilson
7f9f90b81d
fixed the bug with relative assets
2015-10-18 21:18:57 +10:00
Dylan Wilson
1c8aab7aab
reorganized the content folder and fixed some bugs in the content readers
2015-10-14 20:56:32 +10:00
Dylan Wilson
4ea3fdae4c
started fixing relative path issues with bitmap fonts
2015-09-25 08:20:23 +10:00
Dylan Wilson
75e5f4a009
removed the json.net dependency by refactoring bitmap font loading out of the core library
2015-09-15 22:21:03 +10:00
Dylan Wilson
6c89c4a686
basic texture atlas loading
2015-08-21 23:02:25 +10:00
Dylan Wilson
f1b6884c6e
namespace adjustments
2015-08-18 17:36:32 +10:00
Dylan Wilson
2062d8a786
started working on tiled map loading
2015-07-27 22:36:15 +10:00