Re: Learning how to code free movement and panning in a game like Swamp.

I'll go through camlorn's code and see what he's doing. It's just a little different than what Aprone did.
BTW, you can copy and paste the code into EdSharp and do a ctrl+r and type:
replace:
   
with
\t
and it replaces all 4 spaces with a tab.
But Aprone, All my posts say the problem, but post 43 and 49 show what is going on.
In a nutshell, the code is giving an error because you can't divide numbers by 0 and it is coming out with the sound as a -90 when the player is at 10,2 facing 270 and the sound is at 5,2. It is also coming out with a -90 when the player is at the same place 10,2 facing 270 and the sound is at 15,2.
One should give 270 and the other should give 90.
*question*Why does everyone have east at 0 when most people like to start out north?

_______________________________________________
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : camlorn via Audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : frastlin via Audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : frastlin via Audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : frastlin via Audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : frastlin via Audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : Aprone via Audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : frastlin via Audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : Aprone via Audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : camlorn via Audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : frastlin via Audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : frastlin via Audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : camlorn via Audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : frastlin via Audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : frastlin via Audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : frastlin via Audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : camlorn via Audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : camlorn via Audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : frastlin via Audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : camlorn via Audiogames-reflector

Reply via email to