76 Commits

Author SHA1 Message Date
UnleashMayhem
16684f6714 Removed XNA project type from the Spine XNA and XNA example projects.
This allows these projects to be opened in Visual studio 2012.
2013-08-11 11:35:58 +01:00
Nathan Sweet
c0fe9d89ed Merge pull request #101 from ThirdNerve/issue100
Issue #100 Used the AtlasRegion page RenderObject as the Texture2D to draw the skeleton with
2013-08-07 02:06:38 -07:00
Morrison Cole
2d869518d7 Issue #100 Used the AtlasRegion page RenderObject (rather than the incorrect RegionAttachment RenderObject) as the Texture2D to draw the skeleton with 2013-08-06 22:04:09 +01:00
Morrison Cole
11cf2629d2 Issue #98 Added the missing data folder to the XNA example project and set the files to copy into the output directory 2013-08-06 21:09:10 +01:00
AKnopf
0e17a170b6 Update Example: Positioning of Skeleton
Its better to set X and Y of the skeleton then setting X and Y of the root bone.
2013-06-20 19:09:04 +02:00
Randolph Burt
2760fc3ddd Ensured MonoGame compatibility for Windows 8 Store Apps.
The security is such that you cannot load from a stream in the 'normal .net way' - you must instead use specific Windows.Storage methods.
2013-06-18 23:37:30 +01:00
Randolph Burt
021714bf0d Ensured compatibility with MonoGame for iOS.
iOS MonoGame has no implementation for GetData/SetData, however we don't need to worry about the volatility of Textures with regards to screen resolution re-size as this is not an issue on iOS.
2013-06-18 22:55:35 +01:00
BigRedPK
877fc97d21 Update Util.cs
Remove unneeded casts.
2013-06-12 10:46:37 -05:00
BigRedPK
2837adaf9d Update Util.cs
RenderTarget2D is volatile. This means when there is any change to screen resolution, the content will be lost. This is common when changing to full-screen, alt+tab, screensavers, and locking/unlocking the computer. We can counteract this by directly setting the content of Texture2D.
2013-06-12 10:46:05 -05:00
NathanSweet
e6d7cf8b26 Add x and y to skeleton for positioning instead of using root bone. 2013-05-28 18:17:55 +02:00
NathanSweet
7f69300bcc Refactoring: changed references to "bind pose" to "setup pose".
This better matches "setup mode" in the editor and we can be consistent in code and docs from now on.
2013-05-05 12:38:06 +02:00
NathanSweet
80fdba02a1 Refactoring: RegionAttachment vertices, texture->rendererObject...
- Vertices are no longer stored on RegionAttachment. The vertices are temporary state, not part of RegionAttachment's persistent state like UVs and offset.
- AtlasPage and RegionAttachment "texture" field is renamed to "rendererObject". This is a better name as it may not be a texture.
- AtlasAttachmentLoader uses the AtlasRegion as the rendererObject. This enables a renderer to use region information if needed. The page rendererObject is still available.
- Better "enum" look up for AS3.
- Unity4 example doesn't use a compressed material.
2013-05-05 12:37:24 +02:00
NathanSweet
ed0bae85c3 AnimationState queued animation for more runtimes, plus fixes. 2013-04-27 14:33:38 +02:00
NathanSweet
cef85a86c7 Fixed issue #36. 2013-04-26 00:59:36 +02:00
NathanSweet
1af04a720d Spear for example. 2013-04-24 22:12:34 +02:00
NathanSweet
86e75d96d7 Refactoring for non-Atlas RegionAttachments. Fixed whitespace stripped and rotated regions. 2013-04-24 18:41:42 +02:00
NathanSweet
f2a08876c7 Support for disposing textures. 2013-04-18 12:20:24 +02:00
NathanSweet
143f99a81f Refactoring for multi page atlas support. 2013-04-17 22:09:58 +02:00
NathanSweet
3df36416c5 Fixed spine-xns solution for VS2010. 2013-04-16 13:10:04 +02:00
NathanSweet
d4f2011aba License headers. 2013-04-16 11:40:44 +02:00
NathanSweet
3b1cf6579c Refactoring.
API clean up, better JSON parsing, better atlas, easier to extend.
2013-04-13 19:17:37 +02:00
NathanSweet
2b49c59907 Updated to use goblins to test skins. 2013-04-13 10:12:58 +02:00
NathanSweet
c92748a622 Update projection matrix on begin. 2013-04-12 06:26:28 +02:00
NathanSweet
71bffc5356 Batch across skeletons. 2013-04-11 10:52:00 +02:00
NathanSweet
f935a4ede0 License headers. 2013-04-11 10:42:24 +02:00
NathanSweet
4a354f4565 Generic C# runtime & XNA runtime. 2013-04-11 10:25:12 +02:00