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

2016/5/26

What is the most efficient way to transition background screens?

ssenese19 ssenese19

2016/5/26

#
I'm trying to create a game with a start screen and a separate background for the first round. Any suggestions on how to efficiently code a "clickOnObjectListener" for my start screen? (High School CompSci Student)
danpost danpost

2016/5/26

#
If you are coding in greenfoot,, a simple button object with a check for any click on it to set a new world active would be sufficient. My Value Display Tutorial scenario shows how to create a button object using a simple actor object. It is then just a matter of checking for a click on the object and activating a new world when clicked on.
ssenese19 ssenese19

2016/5/31

#
Thanks! Very helpful @danpost
You need to login to post a reply.