Re: problems with some functions, any suggestions?

2015-04-28 Thread AudioGames . net Forum — Developers room : Kyleman123 via Audiogames-reflector
Re: problems with some functions, any suggestions? yes you should use floats. it will allow for much more preciseness.for example: in pythonex1. using integers8 /3 = 2obviously 2 is correct but its not the whole answer.x2 using floats8.0 / 3.0 = 2.66...5that is way more accurate

Re: problems with some functions, any suggestions?

2015-04-28 Thread AudioGames . net Forum — Developers room : Dranelement via Audiogames-reflector
Re: problems with some functions, any suggestions? Hi, all the variables that store important numbers are doubles, which are very precise. The only things that are integers are the values returned by the functions, which are used to handle different cases. URL: http://forum.audiogames.net

Re: problems with some functions, any suggestions?

2015-04-27 Thread AudioGames . net Forum — Developers room : tward via Audiogames-reflector
Re: problems with some functions, any suggestions? @Dranelement, I havent had the time to go through your code to any extent, but one thing that strikes me as wrong as you are declaring your variables as int. You should never use integer variables for this type of calculation as you

Re: problems with some functions, any suggestions?

2015-04-27 Thread AudioGames . net Forum — Developers room : Dranelement via Audiogames-reflector
Re: problems with some functions, any suggestions? Hi, actualy the only things that are int are the values the function is returning. Some of the peramiters of the function are actually variables that get changed based on the input. I would have used pointers, but for some reason bgt only

problems with some functions, any suggestions?

2015-04-27 Thread AudioGames . net Forum — Developers room : Dranelement via Audiogames-reflector
problems with some functions, any suggestions? Hi, I have been struggling to get a couple of functions in my latest project to do what theyre supposed to, and was wondering if anyone could offer any suggestions.Basically whats supposed to happen is this. When you fire a gun, the game