Commit Graph

443 Commits

Author SHA1 Message Date
Dylan Wilson bbd03e4d73 fixed some long overdue bugs in the boxing viewport adapter 2019-08-18 18:27:48 +10:00
Dylan Wilson b2b90832a0 exposed layer depth on the shape extensions to implement #623 2019-08-09 21:15:26 +10:00
Jon Seaman 31b77e5689 Improve collision demo (#612)
* Replace square in center of level with stationary ball

* Improve collision demo

- Collisions between balls are smoother.
- Fixed an issue with collision bounds not being set properly. (This is what made the collision appear unsmooth)
2019-07-01 14:52:17 +10:00
Dylan Wilson 321977ff8a very nearly fully working json content reader 2019-06-26 23:01:38 +10:00
Dylan Wilson 438836078d almost worked out the generic json importer 2019-06-25 23:20:58 +10:00
Dylan Wilson 595b9a8bd8 fixed some disposing in the demos 2018-12-28 18:43:59 +10:00
Gyorgy Peto e76440a055 Fix compiler warnings (issue #563) (#569) 2018-11-04 22:22:50 +10:00
Dylan Wilson 640e067d8f a slightly better tiled animation demo 2018-10-29 21:25:58 +10:00
Zoey M 2b269d563b Added loop to handle dynamic -> dynamic body collision resolution (#559)
- The equality check is a little gross for dynamicBody -> otherDynamicBody, but it works for now.
- Added notes about how I did this.
- Tested it with the current platformer demo
2018-10-20 12:55:31 +10:00
Dylan Wilson 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 8cdacfb644 Merge branch 'mgjam' into develop 2018-08-13 20:25:55 +10:00
Dylan Wilson 5f043c0c7b Merge branch 'develop' of https://github.com/craftworkgames/MonoGame.Extended into develop 2018-08-13 20:25:17 +10:00
Dylan Wilson 59e28cb2f3 updated nuget packages 2018-08-06 20:26:09 +10:00
Jon Seaman 756a01ebf2 Circle Rectangle penetration vector fix (#533) 2018-08-01 12:08:54 +10:00
Dylan Wilson ccf03f18ed little explosions and fixed more bugs in the ecs 2018-07-31 21:52:13 +10:00
Dylan Wilson defeac7b97 adhoc map generation 2018-07-30 23:06:00 +10:00
Dylan Wilson a53955e8b0 fireballs killing zombies and stuff 2018-07-30 21:09:18 +10:00
Dylan Wilson 559affb633 fireballs killing zombies and stuff 2018-07-30 20:55:15 +10:00
Dylan Wilson af773807d8 great balls of fire 2018-07-27 22:27:27 +10:00
Dylan Wilson 21af326248 started a game jam game entry 2018-07-26 22:52:34 +10:00
Dylan Wilson 3d0201bba1 added a missing aspect type to the sandbox 2018-07-26 20:53:48 +10:00
Dylan Wilson c7229c8b9e fixed a typo 2018-07-24 22:22:08 +10:00
Dylan Wilson 25bc9addee cleaned up renaming bitvector32 code 2018-07-12 20:40:17 +10:00
stefanrbk 433e458af0 Real Tiled Group Support (#522)
* Change from storing layers by index to Dictionary key

Models are now stored with the `TiledMapLayer` they are part of.

* Allow render calls via TiledMapLayer

* Add TiledMapGroupLayer and model build recursion for groups

* Add rendering support for TiledMapGroupLayer

* Update TiledMapReader to read TiledMapGroupLayers

* Update Features Demo to Include a Map with a Layer Group

* Update TiledMapWriter and TiledMapProcessor to Support Groups

* Update TiledMap to Report Layers Correctly
2018-07-08 21:34:07 +10:00
Dylan Wilson ad9bd17745 renamed the demos and their folders to be more consistent 2018-07-06 20:47:11 +10:00
Dylan Wilson 6e11f4a7d9 merged develop and fixed the very broken demos 2018-07-04 21:50:01 +10:00
Dylan Wilson 4bee9e1cc3 created raindrops demo to test new ecs 2018-06-28 23:20:08 +10:00
Dylan Wilson c8db244932 cleaning the api 2018-06-27 21:41:05 +10:00
Dylan Wilson 3c023d242f entity pooling and other refactorings 2018-06-25 22:05:36 +10:00
Dylan Wilson dce7354a57 optimized entity subscriptions 2018-06-23 21:54:39 +10:00
Dylan Wilson 547799d93c it's pretty darn close to fast 2018-06-22 22:59:52 +10:00
Dylan Wilson 89dbb71a1a removed the old ecs and refactored the platformer demo to use the new ecs 2018-06-19 21:24:56 +10:00
Jon Seaman 4c9a0136b1 [WIP] Demo conversion to .net core (#514)
* Demo.SpaceGame working

* Delete unused files, update icon

* Demo.StarWarrior building

* Removed unused files

* Demo.Features Collision

* Platform Demo Building

* Nuclex Gui Project

* got the old platformer demo running but it's still missing stuff

* Demo.Features added to solution

* Demo.Features building

Currently, most demos don't build and were excluded from the project.

* Demo.Features.NetCore building

* Demo.Features building and running

* First demo usable

* Close button

* Tiles + Sprite Demo

* More demos working

* Fix Back() for new Gui

* Remove old project files
2018-06-18 20:29:40 +10:00
Dylan Wilson b71dd0fdfa Merge branch 'develop' into badguys 2018-06-14 21:14:21 +10:00
Dylan Wilson b8cf165347 removed dirty hack from the projects and fixed it in the cake script 2018-06-14 21:12:58 +10:00
Dylan Wilson 207010fbd7 trying out a dirty hack to hopefully workaround issue #495 2018-06-14 20:40:38 +10:00
Dylan Wilson 9b2d3670e5 almost finished this beast 2018-06-13 23:03:22 +10:00
Dylan Wilson ffb0d1353b just some clean up and prep tonight 2018-06-11 22:38:35 +10:00
Dylan Wilson a9ec00a21f implemented aspect filtering builder 2018-06-10 23:49:35 +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 Seaman 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