Alice Community

Alice Community (http://www.alice.org/community/index.php)
-   How do I...? (http://www.alice.org/community/forumdisplay.php?f=16)
-   -   Something like Cookie Clicker in Alice 2? (http://www.alice.org/community/showthread.php?t=12287)

irwinnick 08-21-2021 02:40 AM

Something like Cookie Clicker in Alice 2?
 
I am trying to build a simple cookie-clicker kind of world where my students can click on the cookie and the score increases with every click. I have found the javascript code for counting mouse click from [url=https://www.clickspeedtester.com][color=#000]click speed test[/color][/url]. All I want is a little help with making something similar with Alice 2.

Below is the GIF from the cookie clicker for reference of what I want to create.

[IMG]https://storage.googleapis.com/replit/images/1616003214840_05557acf4ab4cc77568d5a995d64bea4.gif[/IMG]

djslater107 08-21-2021 02:26 PM

See the PowerPoint Slides at this link:

[url]https://www.dropbox.com/s/3mu2y0divdhx0d6/MouseClick-Scorekeepeing.zip?dl=0[/url]

Let me know if you have any questions.

Don Slater
[email]don@alice.org[/email]

kathyalex 09-01-2021 02:54 AM

Reply
 
[QUOTE=irwinnick;58889]I am trying to build a simple cookie-clicker kind of world where my students can click on the cookie and the score increases with every click. I have found the javascript code for counting mouse click from [url=https://www.clickspeedtester.com][color=#000]click speed test[/color][/url]. All I want is a little help with making something similar with Alice 2.

Below is the GIF from the cookie clicker for reference of what I want to create.

[IMG]https://storage.googleapis.com/replit/images/1616003214840_05557acf4ab4cc77568d5a995d64bea4.gif[/IMG][/QUOTE]

There is a lot of javascript available on the internet related to click test games. You can use any of them, Also you can set the click test game timeframe like [URL="https://clickingspeedtester.com/clicks-per-second-test/"]1 second click test[/URL], 2 second, etc. Remember it will be done through javascript. also if you want to design the game, you can also get some HTML and CSS codes from the internet. That's it. Not really difficult.

NancyGamer 10-12-2021 05:37 AM

I never thought Alice has so many possibilities.. kudos to the team! After seeing this I am sure I can make a [url=https://cpstest.pro][color=#111]cps test[/color][/url] using this. Just wanted to ask how to use timers here to give a score in clicks per second.


All times are GMT -5. The time now is 01:45 AM.

Copyright ©2021, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.