Commit Graph

1153 Commits

Author SHA1 Message Date
Dylan Wilson e107de530c minor tweak to the star warrior demo v1.1 2018-05-23 21:11:20 +10:00
Dylan Wilson 21c207fe5e Merge branch 'master' into develop 2018-05-23 21:05:55 +10:00
Dylan Wilson d024330daa disabled tests because they won't run on the build machine due to issues with monogame and nunit 2018-05-22 22:38:06 +10:00
Dylan Wilson 2d4c04436d using gitversion nugetversion variable for artifacts 2018-05-22 22:02:13 +10:00
Dylan Wilson 5e8689847d baked into a cake 2018-05-22 21:41:09 +10:00
Rafael Almeida 6813515353 Fix ArgumentNullException when trying to destroy entity (#489) v1.0.669 2018-03-27 09:09:31 +10:00
Rafael Almeida af271c1070 Fix GUI children drawing (#485) 2018-03-18 20:32:00 +10:00
stefanrbk 2005c2c161 Fix Texture Alignment (#480) 2018-03-08 12:51:11 +10:00
Mason11987 4758ce030e Ecs fix (#478)
* Implemented GuiResizableControl, and made GuiWindowControl inherit from it.

GuiResizableControl is a control that can be resized.

GuiResizableControl calls SetCursorForResize(_resizingSides), which can be overriden to provide platform specific mouse cursor implementation depending on where on the edge of the control your mouse is.

* Screen Desktop defaulted to being width of 1, and height of 1, instead of width of 100%, and height of 100%

* Including class reference in project

* Implemented Size3 and Point3.  Fixed bug in Point2.  Documentation listed Point2, but code took in Vector2.  Changed to Point2

* Adding missed project references

* Fixed assert errors: https://github.com/craftworkgames/MonoGame.Extended/issues/474

* Fix merge issue
2018-02-27 16:11:42 +10:00
Elthial 65da3fa0b5 Fix #468 - RemoveComponents() null reference (#473) 2018-02-20 20:33:00 +10:00
Sébastien Geelen 8ed4c93cfb Remove duplicate ligne (#467) 2018-02-09 15:31:36 +10:00
Dylan Wilson ad03ad3251 removed most of the compiler warnings about missing XML docs 2018-02-07 22:13:43 +10:00
Mason11987 d94e788027 Implemented GuiResizableControl (#461)
* Implemented GuiResizableControl, and made GuiWindowControl inherit from it.

GuiResizableControl is a control that can be resized.

GuiResizableControl calls SetCursorForResize(_resizingSides), which can be overriden to provide platform specific mouse cursor implementation depending on where on the edge of the control your mouse is.

* Including class reference in project
2018-02-07 22:01:52 +10:00
Mason11987 596d0b865c Screen Desktop defaulted to being width of 1, and height of 1, instead of width of 100%, and height of 100% (#462) 2018-02-07 22:01:37 +10:00
SenpaiSharp 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
Mason11987 bcfb64fe35 Implemented Size3 and Point3. Fixed bug in Point2. (#466)
* Implemented Size3 and Point3.  Fixed bug in Point2.  Documentation listed Point2, but code took in Vector2.  Changed to Point2

* Adding missed project references
2018-02-07 20:44:02 +10:00
Jon Seaman 5470a52e05 Added XML docs to NuGet (#460) 2018-02-01 20:14:59 +10:00
Michael Delz 46895cf600 fixed swapped power values in EasingFunctions issue 456 (#457) 2018-01-21 15:03:24 +10:00
Jon Seaman eb5fd93e9f Feature label styling (#454)
* Added some basic tests for the ECS

* Add test project for Nuclex Gui

* Nuclex Gui project update

* Added ability to style labels

* Removed Nuclex Gui Test project for lack of tests
2018-01-10 13:36:20 +10:00
Jon Seaman cf028ef2a9 Fix Demo.SpaceGame aiming and spaceship control (#444) 2017-12-28 20:26:06 +10:00
Jon Seaman 104667b7e2 Fix template manager (#446)
* Fix Demo.SpaceGame aiming and spaceship control

* Added ECS to template
2017-12-28 20:22:55 +10:00
tspayne87 61614b5ffa [GUI] Binding Context / Control Style Fixes (#443)
* Adding in changes to deal with custom control types for loading from a GuiScreen, also adding in block text if a width for the element exists.  Adding in Padding to some elements to give the developer some more options in styles.  Adding in some changes to the textbox to deal with selecting a section of text.

* Adding in a few changes to deal with propagation down the GuiControl tree, this was added to most events.  Also, adding in the idea of a form and submit button to deal with keyboard controls when inside of a form.  This gives simalar behavier to how forms work in the browser.

* Adding in the enter key skip for the textbox.

* Fixing issue where GuiSystem would call initialize twice

* Adding in a fix for Issue #428, by leveraging the propegation system to deal with hover styles.

* Adding in some changes to seperate the global binding context and have it isolated in the screen.  Also adding in code to deal with a global style binding as well.
2017-12-17 21:36:10 +10:00
tspayne87 97d237f11f [GUI] Propegation changed also adding in fix for Issue #428 (#441)
* Adding in changes to deal with custom control types for loading from a GuiScreen, also adding in block text if a width for the element exists.  Adding in Padding to some elements to give the developer some more options in styles.  Adding in some changes to the textbox to deal with selecting a section of text.

* Adding in a few changes to deal with propagation down the GuiControl tree, this was added to most events.  Also, adding in the idea of a form and submit button to deal with keyboard controls when inside of a form.  This gives simalar behavier to how forms work in the browser.

* Adding in the enter key skip for the textbox.

* Fixing issue where GuiSystem would call initialize twice

* Adding in a fix for Issue #428, by leveraging the propegation system to deal with hover styles.
2017-11-26 20:48:57 +10:00
jason2211 92b3bc04f3 ObjectPool Enumeration Bug (#440)
* Modified Entity's Reset method to clear _name field

* ObjectPool enumerations was stuck in a loop since the tail node's next node was getting set to itself
2017-11-22 10:58:03 +10:00
tspayne87 46f3f99b39 [GUI] Adding support for parent propegation, the idea of forms and textbox highlighting (#439)
* Adding in changes to deal with custom control types for loading from a GuiScreen, also adding in block text if a width for the element exists.  Adding in Padding to some elements to give the developer some more options in styles.  Adding in some changes to the textbox to deal with selecting a section of text.

* Adding in a few changes to deal with propagation down the GuiControl tree, this was added to most events.  Also, adding in the idea of a form and submit button to deal with keyboard controls when inside of a form.  This gives simalar behavier to how forms work in the browser.

* Adding in the enter key skip for the textbox.
2017-11-21 10:50:24 +10:00
Rafael Almeida 5a7f012bff Added support for icons on buttons (#438) 2017-11-21 10:14:40 +10:00
jason2211 235b259bd7 Modified Entity's Reset method to clear _name field (#434) 2017-10-31 20:40:21 +10:00
Perneky László e8ac3aa02d Added support for external renderers. (#431) 2017-10-11 20:42:03 +10:00
Piku201 9b257eb529 Added a property to set whether the repeat press event should be invoked or not. (#426) 2017-09-26 21:06:40 +10:00
John Girvin be1eb0e944 use sprite WorldMatrix for drawing (#422) 2017-09-19 21:51:58 +10:00
maaex ab30af68c1 added TiledMap property to TiledMapTileObject (#424) 2017-09-19 21:51:11 +10:00
Dylan Wilson 6f18b4291e fixed some broken unit tests 2017-09-01 20:39:13 +10:00
Greg Moller d6310e708c Change FromRgb method to create the Hue value correctly (a number between 0 and 360) (#417) 2017-08-31 20:40:17 +10:00
Dylan Wilson dff508b6a3 removed the generic TParent type parameter from Transform2D 2017-08-31 09:52:52 +10:00
Dylan Wilson f88c6a3f5e fixed c# 7 syntax mistake 2017-08-10 20:58:27 +10:00
Dylan Wilson 92600bc5b8 moved auto triggering to the particle emitter level 2017-08-09 20:39:16 +10:00
Dylan Wilson a3162f7f88 fixed some bugs in the interpolators 2017-08-04 22:31:00 +10:00
Dylan Wilson 2604cf1d8e fixed bug mentioned in #406 2017-07-25 15:09:17 +10:00
Dylan Wilson e6d5e9de70 fixed broken demos 2017-07-23 10:26:19 +10:00
Dylan Wilson 6cf4750b28 fixed a bug in age modifier serialization 2017-07-22 23:23:50 +10:00
Dylan Wilson b3a631aff5 Gui dialogs (#410)
* started refactoring for gui windows

* a bit more work on gui windows

* fixed some bugs and broken build stuff

* fixed some bugs in gui controls

* a little code cleanup

* got gui dialogs positioning and experimenting with named styles by type

* apply control styles directly in the constructor of controls

* got everything compiling again

* all gui controls have skinnable constructors

* rework uniform grid desired size calculations

* turns out gui layouts are complicated

* include pdb files in nuget packages

* fixed a bug in find nearest glyph

* custom control styling

* added a range constructor overload that takes one value

* rethinking control desired size behaviour

* made particle emitters more editable at runtime

* moved the auto trigger code to the particle effect instead of the emitters

* tweaks

* changed the particle modifer interface to an abstract base with an optional name

* changed the particle modifer interface to an abstract base with an optional name

* an attempt at creating a gui combo box

* rolled back the nested control experiment

* pretty good (but not perfect) combo boxes

* tweaks

* name property bindings on lists

* removed and cleaned up the hacks from the gui combo box

* minor combo box styling tweaks

* minor bug fix in gui combo box

* experiments with data binding

* fixed a mistake on the texture region service interface

* working on the ability to serialize particles

* finished particle serialization

* more robust range deserialization

* added editor browable attributes

* fixed some broken demos

* made the particle modifiers editable at runtime

* fixed some issues with particle serialization

* fixed some issues with interpolators
2017-07-22 21:22:13 +10:00
Dylan Wilson 98906f2873 fixed a bug in RectangleF.CreateFrom #406 2017-06-18 14:00:24 +10:00
Dylan Wilson ce98a06eeb custom dependency resolution in the ecs 2017-06-14 23:07:46 +10:00
Dylan Wilson b6555e8ce5 moving some things around and code cleanup 2017-06-13 21:20:02 +10:00
Robert Wallis c57417f055 Added some command lines to run mkdocs (#403) 2017-06-08 21:00:24 +10:00
Robert Wallis 27e3d25b5e Formatting code blocks with csharp because C# randomly fails to format correctly. (#404) 2017-06-08 20:57:29 +10:00
Dylan Wilson 1c447ad097 Merge branch 'develop' of https://github.com/craftworkgames/MonoGame.Extended into develop 2017-05-25 20:04:56 +10:00
Dylan Wilson 9bcb00c964 stopped using obsolete methods 2017-05-25 20:04:41 +10:00
Robert Wallis cf9c97e688 Removed last reference to wiki, I hope :shipit: (#400) 2017-05-25 19:59:18 +10:00
Robert Wallis f8d0de9143 [Docs] Serialization in core library (#397) 2017-05-25 19:47:27 +10:00