Commit Graph
952 Commits
Author SHA1 Message Date
Dylan Wilson 33759382f7 renamed the camera class 2017-11-21 20:57:32 +10:00
Dylan Wilson 90a1802cb3 decoupling sprite from transform 2017-11-21 20:57:32 +10:00
tspayne87andDylan Wilson 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 AlmeidaandDylan Wilson 5a7f012bff Added support for icons on buttons (#438) 2017-11-21 10:14:40 +10:00
jason2211andDylan Wilson 235b259bd7 Modified Entity's Reset method to clear _name field (#434) 2017-10-31 20:40:21 +10:00
Perneky LászlóandDylan Wilson e8ac3aa02d Added support for external renderers. (#431) 2017-10-11 20:42:03 +10:00
Piku201andDylan Wilson 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 GirvinandDylan Wilson be1eb0e944 use sprite WorldMatrix for drawing (#422) 2017-09-19 21:51:58 +10:00
maaexandDylan Wilson 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 MollerandDylan Wilson 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 WilsonandGitHub 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
Dylan Wilson 9bcb00c964 stopped using obsolete methods 2017-05-25 20:04:41 +10:00
Robert WallisandDylan Wilson 367972361f Moving HslColor from Particles to Core (#398) 2017-05-25 19:47:13 +10:00
Robert WallisandDylan Wilson 1ce72a4822 Tests moved MonoGame from Portable to WindowsDX, so they will run and p pass inside Visual Studio (#399) 2017-05-25 19:46:04 +10:00
Robert WallisandDylan Wilson 2ec6cba497 [Content] removing unused ScratchBuffer (#396) 2017-05-25 14:21:48 +10:00
Dylan Wilson 4eae631af2 fixed some bugs in gui text box 2017-05-23 20:42:09 +10:00
Dylan Wilson 753b384f29 dispose the texture created in the particles demo 2017-05-14 21:23:45 +10:00
Dylan Wilson d6036bb856 reversed the scene node rotation due to chanages in #385 2017-05-14 20:36:21 +10:00
John GirvinandDylan Wilson e82a0fca8f Fix nested transform WorldMatrix calculation (#385)
* fix nested transform calculations

* TransformComponent2D implements IMovable, IRotatable, IScalable
2017-05-14 20:31:20 +10:00
Dylan Wilson 9b7614ceb9 fixed #386 2017-05-11 20:26:09 +10:00
Dylan Wilson 9a29b0c1c3 default particle color is now white) 2017-05-10 21:30:16 +10:00
Dylan Wilson a77a346b14 changed particle emitter scale to use normalized values like everything else 2017-05-10 21:01:05 +10:00
Dylan WilsonandGitHub 799b1edb06 Particles data driven (#388)
* yay, a start on data driven particles

* added data driven support for all particle profiles

* pretty much finished all of the particle serialization code

* resolved an inconsistency with the interpolators
2017-05-09 23:48:29 +10:00
claudiuslollariusandDylan Wilson 4bb614925c Fixed nuspec definitions (#387)
* Fixed nuspecs

* Updated platform monikers
2017-05-08 20:31:44 +10:00
Dylan Wilson e8e7a15943 fixed broken build due to gui load from file refactor 2017-05-07 22:38:02 +10:00
Dylan Wilson 1788c25a3c added a sandbox hello world project for experimenting 2017-05-05 22:54:32 +10:00
Dylan Wilson 1d75323dc7 cache nine patches 2017-05-04 22:37:29 +10:00
Dylan Wilson 053b8cd5e0 super awesome game background added to gui demo 2017-05-02 23:38:31 +10:00
Dylan Wilson 1952bbe784 reworking the gui demo and fixing things on the way 2017-05-02 22:13:21 +10:00
Dylan Wilson b89b9c7772 improved feature demo selection 2017-04-29 21:46:18 +10:00
Dylan Wilson 0227935b7e pretty rough but somewhat improved demo selection 2017-04-29 21:07:12 +10:00
Dylan Wilson 6e4f4d5982 Merge branch 'LithiumToast-dxfix' into develop 2017-04-29 14:27:12 +10:00
Lucas Girouard-Stranks a90b21ef41 Cleanup 2017-04-28 21:17:58 -07:00
Lucas Girouard-Stranks 48aa7a705e Really fix GUID... 2017-04-28 21:15:03 -07:00
Lucas Girouard-Stranks 941d189ea9 Fix GUID 2017-04-28 21:11:11 -07:00
Lucas Girouard-Stranks 9a49661e53 Fix reference path 2017-04-28 21:08:01 -07:00
Dylan Wilson a0e9364ba3 merged changes in gui control 2017-04-29 14:02:16 +10:00
toddgibsonandDylan Wilson 17d1448c2d add LayerDepth to Particles (#382)
* add LayerDepth to Particles

* simplify Trigger methods by defaulting layerDepth parameter
2017-04-29 13:53:04 +10:00
Lucas Girouard-Stranks 8f08e84af7 DirectX feature demos & shader fix 2017-04-28 18:44:34 -07:00