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

2019/10/26

please help me

mysrilal mysrilal

2019/10/26

#
please help me how to give the counterlife function in this game my head is already dizzy to do this task project in this link : https://www.greenfoot.org/scenarios/24666
Hundmat Hundmat

2019/10/26

#
Could you post the code?
danpost danpost

2019/10/26

#
Hundmat wrote...
Could you post the code?
There basically is no code. There is an int field in the level1 world class that is set to 3 and there is an empty life class. That is it. No code to change the field value. No code to check its value for game over. No code to add a life object into the world. No image, default or otherwise, for a life instance. NO attempted code at all.
Hundmat Hundmat

2019/10/26

#
mb
danpost danpost

2019/10/26

#
Hundmat wrote...
mb
Not really. You could not know without downloading and taking a look at the code of the scenario. No need to apologize or imply self-blame..
You need to login to post a reply.