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

2015/9/14

Is it possible to create an infinitely expandable scoreboard?

Stalfoes Stalfoes

2015/9/14

#
I'm honestly not sure how to go about even creating a normal score display... I want the score to display for my Flappy Bird game I have to make for a class. I've tried to make it in the program called "Scratch" but I don't even know how to do it there. I'm still new to Greenfoot and Java in general. Please help! Thanks!
danpost danpost

2015/9/14

#
Please explain what you mean by 'infinitely expandable'. Also, I assume that, at some point, not all data could be displayed at one time -- so, what mechanism will you employ to trigger the changes in what data is displayed? I presume that you are referring to something like what my Private Messaging scenario does -- where all UserInfo objects are available for displaying.
Stalfoes Stalfoes

2015/9/15

#
I mean, like a score display that can go from (eg.) 1 to 100 million if needed. It'll change as the user's score changes
danpost danpost

2015/9/15

#
The range of an 'int' value can be more than twice your given value. Please refer to my Value Display Tutorial scenario for instruction on displaying values.
You need to login to post a reply.