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
collision detection
collision detection
May 11, 2015 at 1:29am UTC
ArtisticMess
(50)
im trying to code for a snake game this is my pellet saying that if the character and the pellet are the same place move the pellet somewhere else. the code is empty because nothing I tried worked
1
2
3
4
if
'S'
&& pellet == Map[y][x]) { }
Last edited on
May 12, 2015 at 5:00pm UTC
Topic archived. No new replies allowed.