466
Graphics / renderWindow.GetFrameTime?
« on: January 24, 2012, 04:59:00 pm »
GetFrameTime was removed. There is another recent topic about this: http://www.sfml-dev.org/forum/viewtopic.php?t=6831.
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.
ghostRect.Right = Player.GetScale().x;
ghostRect.Bottom = Player.GetScale().y;
Where did all the dlls, assets go??
Its just that if they MODIFY them and then they play the game, they get to play the game with watever thing they make.If they would modify the models, then on your computer your player will look a little different, but you only changed your own models so all other players would still see you with your old clothes.
So for example, in a 3D game you might have to pay money in order to get some items or clothing. Some clothing is only for looks. So lets say you modify the game and then you get to get the clothing for free because you modified it YOURSELF.They can't just add new clothes, your game decides what models are loaded.
So do i have to make my own formats to protect my assetsYou can always make your own encryption and decode all files when the game starts, but then the loading would take longer.
but RectangleShape doesn't have the methods like Intersect and Contains though.
sf::RectangleShape shape(sf::Vector2f(rect.Width, rect.Height));
shape.SetPosition(rect.Left, rect.Top);
window.Draw(shape);
sf::IntRect Rect(0, 60, 60, 120);
The last number is not the bottom position, but the height. If you were drawing squares then this should be 60.I put #include "AniSprite.cpp" at the top