Quantcast
Channel: GameDev.net
Viewing all articles
Browse latest Browse all 17825

WoA V : Day 5

$
0
0
Today was a productive day. I did not really encounter major problems except that I had a little difficulty to make the exhaust following the enemy ships when they rotated. I happily found a small solution on the internet. I present it to you: Public Vector2 GetPositionOfExhaust (Vector2 _vCenter, float _fDistance, float _fDirectionInRadians) { Float yDifference = (float) Math.Sin (_fDirectionInRadians); Float xDifference = (float) Math.Cos (_fDirectionInRadians); Vector2 vDirection = new Vector2 (xDifference, yDifference); Vector2 vPrecisePositionOfSatellite = _vCenter + vDirection * _fDistance; Return vPrecisePositionOfSatellite; } This code comes from: http://xboxforums.create.msdn.com/forums/t/112011.aspx To conclude, here some screenshots of the progress: Here is my objectives for Day 6: Finish the tutorial Make the first level Start to integrate the first boss battle

Viewing all articles
Browse latest Browse all 17825

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>