Commit Graph
1283 Commits
Author SHA1 Message Date
Dylan Wilson a9ec00a21f implemented aspect filtering builder 2018-06-10 23:49:35 +10:00
Dylan Wilson 30f852253f Merge branch 'develop' into badguys 2018-06-10 11:02:20 +10:00
Jaden GiordanoandDylan Wilson d0b3fa3ab6 First Draft (#503) 2018-06-10 10:50:18 +10:00
Dylan Wilson ed508d8b8c making progress on the new ecs framework 2018-06-09 23:09:06 +10:00
Dylan Wilson d86f767cce rewriting ecs from scratch 2018-06-09 00:02:07 +10:00
Dylan Wilson c4bca0d7ad this is just a rollback point 2018-06-06 20:32:47 +10:00
Dylan Wilson 5457d80727 improved and simplified collision detection in the platformer demo 2018-06-04 22:38:36 +10:00
Dylan Wilson 511a56d00a tweaks and bug fixes 2018-06-02 22:30:40 +10:00
Dylan Wilson 35540dd181 playing with sprite animations 2018-06-01 23:30:46 +10:00
Dylan Wilson 1a64b291ea animated sprite 2018-05-31 22:21:43 +10:00
Dylan Wilson 0ec192543d refactoring the platformer to use the entity component system 2018-05-31 22:12:59 +10:00
Dylan Wilson 8cc2ce285e hacking at the platformer demo to find room for improvement 2018-05-30 22:31:27 +10:00
Jon SeamanandDylan Wilson ce9fc2459b QuadTree Collision Library (#504)
* Created unit test project for collisions.

* Started on tests

* Created unit test project for collisions.

* Started on tests

* Update collision test

* CollisionInfo docs

* More docs for CollisionGrid and Cell

* Fix obsolete warning for RectangleF.Intersect

* Summary for CollisionGrid and CollisionGridCell

* QuadTree collision implemented

 - Ported from C++ from Game Physics Cookbook chapter 6, 2D Optimizations

* Small refactor for QuadTree naming

* First tests for QuadTree

* Fix test

* COde Cleanup

* Added DefaultMaxObjectsPerNode

* Add missed Query code

* Insert Tests and bugfix

* Fix bug with QuadTree.Shake

* Fix namespaces

* Query tests and fix

* Additional test for Query

* Initial QuadTreeCollision Component

* Basic collision demo working

* Spikey ball colliding with walls

* Improved the collision demo

* Update QuadTree

* Added comment for CollisionComponent

* Ignore test that needs fixed

* Rename QuadTree to Quadtree

* Fix penetration vector

* Update to 2.0 and xUnit
2018-05-30 20:26:34 +10:00
Dylan Wilson e715f33573 loading tiled map into platformer demo 2018-05-29 21:59:50 +10:00
Zachary KohnenandDylan Wilson eded1ac6c9 Documentation for MonoGame.Extended.Tiled (#500)
* Create TiledMap.md

* Fixed sentance structure

* link
2018-05-28 21:56:18 +10:00
stefanrbkandDylan Wilson f98776ac8b Texture bug fix (#501)
When I released #480 to fix some texture alignment issues, I failed to check the variable types for the math being done. With my original fix by removing the `+ 0.5f` overdraw, the math changed from `float` division to `int` division. I'm now recasting for `float` division as it should be!

My bad!!
2018-05-28 21:50:13 +10:00
Dylan Wilson be01f42f4c unfortunately, unit tests don't work on the build machine 2018-05-28 21:45:52 +10:00
Dylan Wilson b3bc4aefc5 restored texture atlas unit tests 2018-05-28 21:24:25 +10:00
stefanrbkandDylan Wilson 04b994cbc5 Remove bug in TextureAtlas.RemoveRegion (#502)
When removing a `TextureRegion2D` from a `TextureAtlas`, referencing the `TextureRegion2D`s by index works, but referencing by name points to the old index. The only way I could think of making the current code work would be to rebuild the `Dictionary<string, int>` every time, or atleast the parts which are affected by the removal. Instead of rebuilding the internal `Dictionary<string, int> _regionMap` every time an entry is removed, I changed the signature to `Dictionary<string, TextureRegion2D>`. This eliminates the need to translate the name into a `List<TextureRegion2D>` index in the first place.

What do you guys think?
2018-05-28 20:54:20 +10:00
Dylan Wilson 8e23664f10 fixed project references 2018-05-25 21:58:00 +10:00
Dylan Wilson 02cf015a54 Merge branch 'develop' of https://github.com/craftworkgames/MonoGame.Extended into develop 2018-05-25 21:54:02 +10:00
Dylan Wilson 62eddc8848 very rough platformer demo 2018-05-25 21:53:33 +10:00
Dylan Wilson bc1689565a added a gui demo 2018-05-25 21:34:11 +10:00
Dylan WilsonandGitHub 1f718e3388 Fixed build status icon 2018-05-25 12:11:49 +10:00
Dylan Wilson 2791d4347a do away with the old nuspec files 2018-05-24 21:36:15 +10:00
Dylan Wilson 85acd1c88b fixed nuget version for pre-release packages 2018-05-24 21:13:56 +10:00
Dylan Wilson d178de220a bumped major version 2018-05-23 23:05:06 +10:00
Dylan Wilson 1699d3f73b use gitversion nugetversion 2018-05-23 22:57:46 +10:00
Dylan Wilson 3ff145422e merged from develop 2018-05-23 22:51:45 +10:00
Dylan Wilson f2b37b36c0 updated readme explaining what's happening 2018-05-23 22:38:09 +10:00
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
Dylan Wilson 2ec6df4db4 added nuget package metadata 2018-05-17 22:25:07 +10:00
Dylan Wilson 2eeb992571 fixed a bug in autoreverse tweening 2018-05-17 21:54:12 +10:00
Dylan Wilson 7dc07a9663 moved the content pipeline dll output folder 2018-05-16 21:58:49 +10:00
Dylan Wilson 3834e3cf5b trying to fix references to content pipeline dll 2018-05-16 21:44:46 +10:00
Dylan Wilson 81d507154b updated readme slightly to test the build trigger 2018-05-16 20:55:22 +10:00
Dylan Wilson db2a7b558a dotnet pack the nuget packages 2018-05-14 23:08:18 +10:00
Dylan Wilson 339e69b994 dotnet pack the nuget packages 2018-05-14 23:07:48 +10:00
Dylan Wilson ae5b67218f fixed some bugs in the tweening system 2018-05-14 21:52:27 +10:00
Dylan Wilson b4860bd4bb converted all of the unit tests to xunit 2018-05-12 21:05:02 +10:00
Dylan Wilson bcd9171317 slowly converting tests to xunit 2018-05-11 22:34:19 +10:00
Dylan Wilson 2cf9ec7350 partially restored the cake build 2018-05-10 21:33:43 +10:00
Dylan Wilson 0121a2b9c5 dotnet standard 2.0 baby! 2018-05-09 21:58:40 +10:00
Dylan Wilson 5e3cbb3109 partially optimized tweening memory allocations 2018-05-04 21:31:10 +10:00
Dylan Wilson c55a8ce5d0 c# 7 features are breaking things 2018-05-02 20:43:46 +10:00
Dylan Wilson 4c6e2e7995 small refactor ready for memory allocation optimizations 2018-05-01 20:40:16 +10:00