Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Open-source implementation of Microsoft's XNA 4, for Windows, Mac, Linux, Android, and iOS, among others.
1
vote
Loading Texture2d content in Monogame
You load the texture perfectly, but I don't see any code regarding the drawing of it. Add this:
spriteBatch.Draw(image, new Vector(0f, 0f), Color.White);
into your SplashScreen's Draw function.
0
votes
How can I properly rotate a 2D vector in the "flipped" XNA client space?
It can be also done with pure math, take a look:
b.rotation = a.rotation;
b.Position.X = a.Position.X+(Math.Cos((b.rotation+offset)/180*Math.PI)*distanceOffset);
b.Position.Y = a.Position.Y+(Math.Sin …
0
votes
1
answer
201
views
Most efficient way to hide out of bounds object in tile based environment [duplicate]
I am working on a desktop game in C#, with Monogame framework. I am storing the tile instances in a 2D Array, for the sake of easy collision detection. …