Quantcast
Channel: Processing Forum
Viewing all articles
Browse latest Browse all 1768

Re : Null pointer exception

$
0
0
hehe and welcome to the world of debugging. So a collision makes the score go up? 
Check if the collision works correctly.
Is there something else changing the Score? Consider that everytime you create Score Object, playerScore is set to 0.
Also, why is there a playerScore in the Bullet class?


Viewing all articles
Browse latest Browse all 1768

Trending Articles