eek havent checked comments in a while, and don't have the code for this any more due to a HD wipe :( but some (very late - sorry!) answers:
my warp event just told the screenManager to load up a new map and dispose of the old one(and do a garbage collection in between screens)
In XNA, there is an overload of SpriteBatch.Draw() that allows rotation and scaling easily, you also need to set an origin to rotate around, which is usually just the centre of the sprite.
Hey the sprite just looks stupied
Residentevilfan500 7 months ago
hey do you know how to reset and pause a game?
nineballssj9 1 year ago
Some more answers:
I cheated for the background collision, I had already set the collision zones and then later drew them onto the background sprite.
If you're using XNA, I've seen a few samples around that use the actual texture to determine collision, google "XNA per pixel collision"
theflamingjamiesan 3 years ago
eek havent checked comments in a while, and don't have the code for this any more due to a HD wipe :( but some (very late - sorry!) answers:
my warp event just told the screenManager to load up a new map and dispose of the old one(and do a garbage collection in between screens)
In XNA, there is an overload of SpriteBatch.Draw() that allows rotation and scaling easily, you also need to set an origin to rotate around, which is usually just the centre of the sprite.
theflamingjamiesan 3 years ago
I just have to do what everyone else did and thats ask a question. How did you add warps in your maps.
jokeboxproductions 3 years ago
Despite the early stage of the development process, you game locks very promising! Keep up the good work!
Wazzadium 4 years ago
cool.
How'd yu do the scaling?
And can you rotate sprites?
whothehellisthat 5 years ago
cool, shows promise
stonedfenix 5 years ago
Seriously man.. how did you get collision with a background image? Im trying to do that with my short game. Let me know man!
johnfl46 5 years ago