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

Comments for Blue Dot Clicker

Return to Blue Dot Clicker

danpostdanpost

2013/10/13

Believe it or not, all coding for this scenario is in one World sub-class constructor. The score-counter, time-counter and blue-dot are Actor objects that each control themselves. A later update will reveal the code.
joeschmoejoeschmoe

2013/10/13

it's a lie! I clicked the ball and nothing happened!
Busch2207Busch2207

2013/10/13

I clicked him and I got 5 Points! ^^ @danpost Could you add a highscore?
danpostdanpost

2013/10/13

@joeschmoe, the click is detected upon release of the mouse button. @Busch2207, do you want one to track highscores between compilations or one using UserInfo storage?
joeschmoejoeschmoe

2013/10/13

ok I got 5 points that time as well. There was one game I made once where the score counter was just a random number generator :P
danpostdanpost

2013/10/13

@joeschmoe, lol and lol, and btw lol. That would not then be a counter, would it!
danpostdanpost

2013/10/13

@joeschmoe, also, as far as clicking on the dot, the image of the dot is much larger than the dot itself -- giving a much bigger 'hit zone'. It would have been a whole lot harder had I reduced the size of the image to the size of the dot (the image would be about one-fourth the size while the dot would remain the same).
Busch2207Busch2207

2013/10/13

I only mean a simple Highscore with the UserInfo-class.
danpostdanpost

2013/10/13

@Busch2207, personal only or showing best and near?
JetLennitJetLennit

2013/10/13

I would like best or near
A new version of this scenario was uploaded on Sun Oct 13 16:36:16 UTC 2013 Added personal session high score.
danpostdanpost

2013/10/13

Will add 'best and near' high scores later (if not entered in the competition, at the end of the month; if entered, probably not until after results of competition). This it so everyone who wants to see the code can check it out, as is.
A new version of this scenario was uploaded on Mon Oct 14 17:01:46 UTC 2013 Now with top and near high scores.
danpostdanpost

2013/10/14

@Busch2207, I like your new user icon :+)
joeschmoejoeschmoe

2013/10/14

I call hax
danpostdanpost

2013/10/14

@joeschmoe, I do not know what you mean by 'I call hax'?
danpostdanpost

2013/10/14

Or ... are you referring to Busch2207's score!!!
joeschmoejoeschmoe

2013/10/14

Busch2207's score
danpostdanpost

2013/10/14

Yeah, that score would require an average of about 3 valid clicks per second under normal circumstances.
danpostdanpost

2013/10/14

Actually, more like 4 to 5 valid clicks per second (just timed it and calculated it out).
Busch2207Busch2207

2013/10/14

I have to be honest. I've written a bot which made all this clicks! ;) But he's not perfect, yet. It was just a small gimmick. :)
Busch2207Busch2207

2013/10/14

And thank you danpost! I've created my image by using your 'Viral Spiral'-scenario to generate the grid. I just changed some values (Made the panel much bigger, let only the outermost line be drawn and changed the random(6) to random(180)). Then I filled the grid with colors and then with textures. And after that I wrote me a program, that removed the lines! :)
A new version of this scenario was uploaded on Mon Oct 14 22:42:28 UTC 2013 Gave background some color
A new version of this scenario was uploaded on Mon Oct 14 22:51:14 UTC 2013 Gave background some color. Carried current score over to scoreboard.
A new version of this scenario was uploaded on Tue Oct 15 01:10:21 UTC 2013 Added color to score counter and time counter.
danpostdanpost

2013/10/15

@Busch2207, did you do something to spam the view-count on this scenario? I cannot believe that it has gotten well over 600 views in less than one day and it seems to be increasing at a regular rate. Also, there are only 11 different users that have played a complete game while logged in.
Busch2207Busch2207

2013/10/15

Nope, I haven't spamed the views... :) But that's possible for everyone, by pressing/holding F5.
danpostdanpost

2013/10/15

I would think it would go up much quicker than this if the key was being held.
A new version of this scenario was uploaded on Tue Oct 15 03:48:56 UTC 2013 Changed scenario icon.
A new version of this scenario was uploaded on Tue Oct 15 09:34:58 UTC 2013 Added code C7O13B. Opened source.
MatheMagicianMatheMagician

2013/10/15

Actually, there are easier ways to spam the site... I wrote a greenfoot program that accessed scenarios every act cycle to boost the view count. Greenfoot.org doesn't have a good way of testing whether it is a human or just a robot trying to access the page (google sites like youtube do though). Anyway, I only used it on two of my scenarios before I felt like I was cheating: everything except cube runner and textured cube are entirely legitimate counts. Besides, I don't think anyone can really put too much credibility into the number of views as a measure of popularity: voting is much more accurrate.
danpostdanpost

2013/10/15

@MatheMagician, I do not think that view is a reliable measure of popularity either. But the ratio of votes per views is altered by illegitimate view counts. Oh, and I had always thought that you had some web-presence that brought people in to boost your view count on those scenarios.
MatheMagicianMatheMagician

2013/10/15

@danpost, I am not promoting it at all. I was just trying to point out that there is a weakness in the system (as a warning for people). I am sorry I did add those views. As a note though, on cuberunner, I only added a small fraction of those hits at the end. I believe what happened was that because I called it "Cube Runner" (the title of a somewhat popular game on the apple store) anytime someone searched for "cuberunner", my scenario came up in the top ten. I have since changed the title and the views stopped coming in.
danpostdanpost

2013/10/15

@MatheMagician, I am neither for or against the spamming of views on one's own scenarios. You can do what you please with your own. I guess that boosting views would put your scenario illegitimately high on the 'Most views' or 'Most views (this week)' search results. But, I doubt that those options are used that much. It is the blatant disregard that one displays toward things that are not theirs that I oppose (and as far as I know, of this, you are not a culprit).
A new version of this scenario was uploaded on 2017-10-18 19:24:42 UTC
A new version of this scenario was uploaded on 2017-10-18 19:31:28 UTC
A new version of this scenario was uploaded on 2017-10-18 19:35:44 UTC
A new version of this scenario was uploaded on 2017-10-18 19:37:35 UTC