Re: developing a kind of radar?
You're going to have to record the angle on the radar as an offset, say that it always goes from -45 to 45 for example. You then compute the actual angle by adding this offset. Because of the pattern I am describing--that you have tickers as a class--you can just store the offset on the class and re-read the player's facing direction and position every tick. You don't want to build the whole sweep ahead of time, you want to build it as you go across.
_______________________________________________ Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector