Search Forums
-
Are all of your assumptions correct? Does the bullet collection indeed have 5 bullets, can you prove it at runtime? Your program might actually have no bugs at all and be working perfectly with a que of 1 bullet :P
-
[quote user="Paci4416"]in my game theres a canon firing bullets in different angles and missiles falling from the sky in different angles. I cant find a way to detect the colision between them[/quote]Learning how to work with Matrices is pretty important. I would pause at this point, start a new test project with just 1 sprite and ...
-
[quote user="seVor"]... variable to hold the X axis position of the ship and another variable for the laser. In the update method I am making them equal each other ... when you move the ship obviously the laser moves also[/quote]Picture a Laser.Fire method that you call 1 time, when the player presses the fire button. Laser.Fire ...
-
How about just using a memory stream as a caching layer between the serializer and the file system.
Object -> XMLSerializer -> MemoryStream -> FileStream -> Disk
Transporting bytes between a MemoryStream and a FileStream could be done async'ly once at the top of the program and once at the end, [edit: I see it's for save ...
-
[quote user="George Clingerman"]There's nothing built into the XNA framework to work with a touch screen, ... it's not going to "just work".
[/quote]I use XNA + touchscreens. On Windows, XNA shouldn't know the difference between the screen and the mouse; I get mouse coords & button states in XNA just fine using ...
-
[quote user="Jim Hunter"]is there a way to iterate over an enumerated type in C#[/quote]There is, but I'm not sure it's supported by the compact framework.
Gotta love that compact framework!
-
There's also a tutorial on 2D transformed collision here, it might help you out.
-
[quote user="NightMarez"]they want Vista to sell[/quote]Vista's a lock. Sure, MS wants to sell Vista, but MS doesn't have to worry about it. All the PC & laptop manufacturers are doing the worrying for them. Eventually Windows users will get Vista either by choice or by default. XNA isn't going to speed that up any ...
-
Pretty sure I did a full uninstall / reinstall. I had this on an XP box, back when the IE7 upgrade came out. That upgrade was breaking something, I dunno what. I was reinstalling and uninstalling IE7, VS & VSSP1 multiple times before I found the magical install order that left my machine in a working order. It did eventually work itself ...
-
Hasn't happened to me and I haven't heard of it happening before so, it sounds kinda weird.
Have you proven to yourself that you're not accidentally causing it somehow? How are you passing the alpha value to spritebatch?