0

Closed

Rotate the Enemys

description

The Enemys should rotate automatic in the direction of the player. But only the upper texture should rotate. Use Camera.TryDraw to draw the enemy and Math.Atan2 should help you to make this task. I made somethink like that with the player.
 
 
Der - bzw. Die Gegner sollen sich Vollautomatisch in Richtung Spieler drehen können, wobei man dabei nur den Oberteil (die Obere Texture) drehen muss die untere kann stehen bleiben. Bitte die Klasse Camera zum zeichnen verwendet. Und Math.Atan2 sollte dabei helfen, beim Spieler haben wir was ähnliches gemacht damit er sich drehen kann.
Closed Jan 24, 2012 at 7:37 PM by Domi96

comments

wrote Jan 21, 2012 at 10:21 PM

Task assigned

wrote Jan 23, 2012 at 5:35 PM

wrote Jan 23, 2012 at 5:51 PM

wrote Jan 24, 2012 at 7:37 PM

wrote Feb 16, 2012 at 2:28 AM

wrote Feb 12, 2013 at 9:41 PM

wrote May 15, 2013 at 3:54 AM