stefanrbk and Dylan 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
stefanrbk and Dylan 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 Wilson and GitHub
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
Dylan Wilson
918e6c9e24
tweening cancellation and other goodies
2018-04-27 22:52:22 +10:00
Dylan Wilson
6c750e4d27
code cleanup
2018-04-26 23:21:10 +10:00
Dylan Wilson
a05c144931
fixed some bugs for perfect tweening
2018-04-26 23:18:41 +10:00
Dylan Wilson
16e767a9be
all the good tweening bits in place
2018-04-26 22:41:53 +10:00
Dylan Wilson
2099431ba5
working on a brand new tweening library
2018-04-25 22:54:34 +10:00
Dylan Wilson
97e995a029
added a bunch of files to solution items
2018-04-19 22:19:21 +10:00
Dylan Wilson
6ccfd41e17
added nuget packing to the cake script
2018-04-19 22:08:40 +10:00
Dylan Wilson
c89b483725
baking tests into cake
2018-04-18 22:11:11 +10:00
Dylan Wilson
7064821a5f
added a basic cake build script
2018-04-18 21:38:46 +10:00
Dylan Wilson
9367871aea
implemented mouse and keyboard extended
2018-04-16 23:41:43 +10:00
Dylan Wilson
06adea2ddc
roughed out a title screen
2018-04-15 20:40:16 +10:00
Dylan Wilson
d576a4c99b
fun with transitions
2018-04-11 23:30:21 +10:00
Dylan Wilson
3147757f4c
fun with transitions
2018-04-11 22:53:09 +10:00
Dylan Wilson
a3393cb754
got basic screen transitions working
2018-04-10 23:01:10 +10:00
Dylan Wilson
1cab4b9c43
got basic screen transitions working
2018-04-10 22:59:46 +10:00