1
DotNet / Re: not so smooth transition to C# (sharp noob lol)
« on: May 29, 2012, 09:18:56 am »
yep that did it. thanks...and of course now it looks so obvious. lol
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
void SetX(sf::Sprite object)
{
object.SetX(100);
}
SetX(Sprite3);
//Draw Grass Tiles
for (int y=0;y<SCREEN_HEIGHT / TILE_SIZE;y++)
{
for (int x=0;x<SCREEN_WIDTH / TILE_SIZE;x++)
{
Sprite.SetPosition(x * TILE_SIZE, y * TILE_SIZE);
App.Draw(Sprite);
}
}
[/code]