Re: Create bullet class

2017-12-12 Thread AudioGames . net Forum — Developers room : kianoosh via Audiogames-reflector


  


Re: Create bullet class

I really have to try this thing. Vectors are really handy when it comes to game creation. The last bullet system i wrote came as an object. Actually a class and it's veriables, and a list which contains the class itself (I mean the list <>) and a checkloop or what ever you call it in the main class I wrote it like the bullet system in bgt where if that hits a wall or something, It removes from the list. Although i think this way is a real mess. Do any of you have any ideas about calling functions and such from the main form, one of the class functions i mean(Not the main class). I don't know how to explane it better but if you know how to do that, let me know please..., I tryed sevral ways like form1.sound but that didn't work.

URL: http://forum.audiogames.net/viewtopic.php?pid=341868#p341868





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Create bullet class

2017-12-11 Thread AudioGames . net Forum — Developers room : cartertemm via Audiogames-reflector


  


Re: Create bullet class

Porting BGT vectors would not be very hard, as it’s pretty much just variables and operator overloading

URL: http://forum.audiogames.net/viewtopic.php?pid=341783#p341783





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Create bullet class

2017-12-11 Thread AudioGames . net Forum — Developers room : truecraig via Audiogames-reflector


  


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

URL: http://forum.audiogames.net/viewtopic.php?pid=341773#p341773





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Create bullet class

2017-12-11 Thread AudioGames . net Forum — Developers room : brian . kurosawa via Audiogames-reflector


  


Re: Create bullet class

About C Sharp i don't know but probabbly there's vector suport.

URL: http://forum.audiogames.net/viewtopic.php?pid=341768#p341768





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Create bullet class

2017-12-11 Thread AudioGames . net Forum — Developers room : kianoosh via Audiogames-reflector


  


Re: Create bullet class

BTW I always wanted to get access to ectors but honestly I couldn't. Which library should I use??

URL: http://forum.audiogames.net/viewtopic.php?pid=341727#p341727





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Create bullet class

2017-12-09 Thread AudioGames . net Forum — Developers room : brian . kurosawa via Audiogames-reflector


  


Re: Create bullet class

It's importante to define a direction that your bullet will travel constantly during it's automatic movimentation. It will depend on your game's movement type. If it's without rotation, use vectors.

URL: http://forum.audiogames.net/viewtopic.php?pid=341558#p341558





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector