Search:
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
L B
(5688)
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
Registered users can post here.
Sign in or register
to post.
C++
Information
Documentation
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs