In my code i have got when player touches point,it registers collision and prints out score in the console, the problem is that for some reason instead of just printing one
score-point per point (There is 10 points in the array) it continues to add score for as long as the player is colliding with said point, how do I limit it...
GamerXxX 0 Newbie Poster
Recommended Answers
Jump to PostI'm sorry, you have the wrong forum. I believe you were looking for the psychic friends forum.
Jump to PostPlease provide example
Jump to PostWhat are the types for k and playerA.score, int?
Jump to PostIn that case its not clear what the problem is. Try to narrow it down and give us some sample code where the problem manifests itself.
All 16 Replies
Narue 5,707 Bad Cop Team Colleague
template<> 37 Junior Poster
sergent 52 Posting Pro
GamerXxX 0 Newbie Poster
template<> 37 Junior Poster
GamerXxX 0 Newbie Poster
template<> 37 Junior Poster
GamerXxX 0 Newbie Poster
template<> 37 Junior Poster
GamerXxX 0 Newbie Poster
template<> 37 Junior Poster
GamerXxX 0 Newbie Poster
template<> 37 Junior Poster
GamerXxX 0 Newbie Poster
template<> 37 Junior Poster
GamerXxX 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.