We get it. We use ad blockers too. But GameDev.net needs to display ads in order to continue to be a great platform for you.
Please whitelist GameDev.net. Also consider a GDNet+ subscription to remove bulk/3rd party ads.
Jump to content
This is not recommended for shared computers
Sign in anonymously
Don't add me to the active users list
Posted by Hypostomus
on 19 April 2013 - 03:30 PM
Assign a new Vector2 to it with appropriate values like so:
wormBodyPosition[i] = new Vector2((wormBodyPosition[i].X + wormBodyWidth), wormBodyPosition[i].Y);
GameDev.net™, the GameDev.net logo, and GDNet™ are trademarks of GameDev.net, LLC