cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
How to make an object wrap around the sc
How to make an object wrap around the screen ?
Apr 2, 2013 at 10:34pm UTC
hvigil
(57)
Ok ,
Last edited on
Apr 3, 2013 at 1:23am UTC
Apr 2, 2013 at 10:50pm UTC
LB
(13399)
You could use the % modulus operator for when the object goes too far right or down, and use an if-statement for when it is too high up or left. In the if statement (mine, not yours) you would reposition the object.
Last edited on
Apr 2, 2013 at 10:50pm UTC
Topic archived. No new replies allowed.