Re: Create bullet class

System.Numerics.Vectors, perhaps?

I'm not sure if you'd want each bullet to be an object, would you? It depends how many bullets you expect to be spat out. But I'd say a bullet's extremely short lifespan would mean you don't want thousands of bullet objects sat around waiting for garbage collection. In any language.

With one potential exception, that is, and that's if you want bullets that last a little longer, ricocheting around and bouncing off things and doing crazy stuff like that. In that case, and if they're the exception rather than the norm, it might be okay to have them as a class.

HTH

_______________________________________________
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
  • ... AudioGames . net Forum — Developers room : jonikster via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : brian . kurosawa via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : kianoosh via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : brian . kurosawa via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : truecraig via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : cartertemm via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : kianoosh via Audiogames-reflector

Reply via email to