We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hey guys, I've to programm a game for a school: I decided for a table hockey and everything works but i would like to add the automatic score when one player make a goal. It d be awesome if someone could help! Thanks in advance. [-O<
Answers
table hockey game*
There is no such thing as automatic in processing
You have to do it by hand
Global var score for each Player scorePlayer1 and 2
When goal say score for the right guy
Use text() to display both scores
text( scorePlayer1+ ":" + scorePlayer2, 22,22);
Duplicat
:-@
code copied from duplicate (now deleted)
please don't duplicate (or triplicate) questions. if you do then you split the answers and everyone gets confused. also, I have to tidy up the others and i hate that.
I'm sorry for the duplication but can you help my please [-O<
but not so sorry that you didn't create a 4th duplicate thread.
i have better things to do with my time than tidy up after you.
Is the automatic score something in fiscia?
Then ask in section libraries?
Or ask the maker of the lib...
Or look in its documentation