This site requires JavaScript, please enable it in your browser!
Greenfoot back
MadmanSA
MadmanSA wrote ...

2017/4/7

Hockey Help!

MadmanSA MadmanSA

2017/4/7

#
Hello all, I am currently struggling into doing the following things, all help would be appreciated! - A computer controlled hockey player - A working counter - The puck to move somewhere else when hit and the paddle to hit in contact - When in a certain place counts as a goal Thank you all in advance!
Nosson1459 Nosson1459

2017/4/7

#
Do you have anything so far, or you want me to create the whole scenario? It will be easier to work on classes that you already have (and shown with code-tags). If you don't have anything at all then you should read this.
Nosson1459 Nosson1459

2017/4/7

#
MadmanSA wrote...
Hello all, I am currently struggling into doing the following things, all help would be appreciated! - A computer controlled hockey player
u cud set the x coordinate of the player to be the x-coordinate of the puck
MadmanSA MadmanSA

2017/4/8

#
Yes I have a basic puck and 2 pads but I cant do the remaining things that I listed
danpost danpost

2017/4/8

#
Nosson1459 wrote...
Do you have anything so far, or you want me to create the whole scenario? It will be easier to work on classes that you already have (and shown with code-tags). If you don't have anything at all then you should read this.
We cannot help with these things until we see what you currently have. For a working counter, we need to see everything (all codes related to or using the counter and we need to know where each given code is located in your project (the class and type of class and the method name and where it is called from -- if applicable).
You need to login to post a reply.