9 posts
Posted 18 March 2014 - 02:53 AM
Yes yes, this is base off of the Cookie Clicker game, which can be found
here.
So! The inspiration for making this game came from an attempt from another member, the game title "Grass Clicker". I didn't see any progress being made toward it, and this seemed like a good idea for a first attempt at a game.
Current version:
v0.1Why so early of a release? Well, it's nice to show my progress as I go along.
ScreenshotsSpoiler
ChangelogSpoiler
- v0.1
- Made the basic layout!
- Added the cookie and it's clickableness!
- Added support for Cookies per second!
- Different menus for both upgrades and buildings (Neither added yet, however)
http://pastebin.com/xQ88AyW6 (First edition)
http://pastebin.com/JknhWZ2a (Second edition)
Credits:
ZeeSays - Designing and programming the game
Hellkid98 - Helping with the drawing of the cookie
Everyone who kept posting. Really kept me motivated.
Edited on 22 March 2014 - 01:37 AM
2151 posts
Location
Auckland, New Zealand
Posted 18 March 2014 - 09:13 AM
Hmm, so a game where you click a lot.
Beat my high score in the web game of, well, lots.
setInterval(function(){$('#bigCookie').click()}, 5)
100% legit.
Anyway, seems pretty good. The little upgrade things like the web site that makes cookies for you would be cool.
9 posts
Posted 18 March 2014 - 07:58 PM
Hmm, so a game where you click a lot.
Beat my high score in the web game of, well, lots.
setInterval(function(){$('#bigCookie').click()}, 5)
100% legit.
Anyway, seems pretty good. The little upgrade things like the web site that makes cookies for you would be cool.
I am working on upgrades right now, actually. It's quite fun to figure out just how they should be calculated :D/>
673 posts
Posted 18 March 2014 - 08:02 PM
Thanks for doing this yourself-I don't plan on working on grassclicker for quite a bit of time, although I might try in a bit of time, especially the fact that you can't run code at the same time, which is pretty tricky, as there needs to be a way to disable it, while it making cookies.
Let's see how your own of this works it out :D/>
9 posts
Posted 18 March 2014 - 09:29 PM
Updated the pastebin, update log, and added a new screenshot.
Thanks for doing this yourself-I don't plan on working on grassclicker for quite a bit of time, although I might try in a bit of time, especially the fact that you can't run code at the same time, which is pretty tricky, as there needs to be a way to disable it, while it making cookies.
Let's see how your own of this works it out :D/>
Well hopefully I'll have it working by the next version :P/>
673 posts
Posted 18 March 2014 - 10:03 PM
Updated the pastebin, update log, and added a new screenshot.
Thanks for doing this yourself-I don't plan on working on grassclicker for quite a bit of time, although I might try in a bit of time, especially the fact that you can't run code at the same time, which is pretty tricky, as there needs to be a way to disable it, while it making cookies.
Let's see how your own of this works it out :D/>
Well hopefully I'll have it working by the next version :P/>
Haha, I guess you could try parallel.
9 posts
Posted 18 March 2014 - 10:10 PM
Haha, I guess you could try parallel.
Oh, I'm not going to use parallel, I'll just pull the mouse click and timer events. The calculations as of now are quite frustrating.
Added base system for cookies per second. I plan to improve it, as of now all it does it wait one second then give you however many cookies are labled as cookies per second. Later, I'll make it to give it in increments if the number is high enough.
Edited on 18 March 2014 - 09:45 PM
1080 posts
Location
In the Matrix
Posted 19 March 2014 - 05:43 PM
Theres one more thing on the site you may be forgetting, and that might be a little bit of actual upgrades and not items :P/>
1852 posts
Location
Sweden
Posted 19 March 2014 - 06:12 PM
You should mention in the OP that you can't name the file
cookieAnd if you want you could even do this so you don't need the file
cookie
local cookie = {
" 11111 ";
" 1111111 ";
"101101111";
"111011011";
"110110111";
" 1101111 ";
" 11111 ";
}
local function drawCookie( _x, _y )
for y = 1, #cookie do
for x = 1,#cookie[y] do
local str = cookie[y]:sub( x, x )
if str == "1" then
term.setBackgroundColor( colors.brown )
elseif str == "0" then
term.setBackgroundColor( colors.black )
else
term.setBackgroundColor( colors.white )
end
term.setCursorPos( _x-1+x, _y-1+y )
term.write( " " )
end
end
end
Edited on 19 March 2014 - 05:25 PM
9 posts
Posted 19 March 2014 - 08:04 PM
Theres one more thing on the site you may be forgetting, and that might be a little bit of actual upgrades and not items :P/>
Well, I'll have to re-do the menu for that, or maybe just button to click off to it. Hmm.
You should mention in the OP that you can't name the file cookie
You're right, I'll fix it, thanks.
Edited on 19 March 2014 - 07:24 PM
671 posts
Location
That place over there. Y'know. The one where I am.
Posted 21 March 2014 - 09:58 PM
Damn, I was JUST working on a Cookie Clicker a couple of days ago. Oh well, yours works and doesn't crash when you click whilst it adds the CPS, so I don't mind XD.
9 posts
Posted 22 March 2014 - 02:10 AM
Damn, I was JUST working on a Cookie Clicker a couple of days ago. Oh well, yours works and doesn't crash when you click whilst it adds the CPS, so I don't mind XD.
Lol.
I've been re-working the layout of the program, and eventually decided to just re-write the whole program. So now, back to
v0.1, but a lot of features are there still. Check the changelog for more details.
8 posts
Posted 25 March 2014 - 06:46 PM
You should try to redraw only the items that need to be redrawn. This game has ALOT of flashing in redraw while playing it. Making it look terrrible. Why redraw your title, background, and the cookie every game tick. You should only redraw them when they have changed.
1852 posts
Location
Sweden
Posted 26 March 2014 - 10:32 PM
You should try to redraw only the items that need to be redrawn. This game has ALOT of flashing in redraw while playing it. Making it look terrrible. Why redraw your title, background, and the cookie every game tick. You should only redraw them when they have changed.
That's mostly because of term.clear(), If you would try to remove it and just let it draw it wouldn't flicker so much, but the something on the screen would eventually get screwed up.
36 posts
Posted 28 March 2014 - 02:18 PM
I made an unofficial V0.5.1 Version.
Changelog:
–Added Splash Screen
pastebin get eMBhZxTJ cookies
673 posts
Posted 02 April 2014 - 10:07 PM
No mean to be rude, but it would be kind of you to give me credit for the original idea at the bottom :)/>
2151 posts
Location
Auckland, New Zealand
Posted 02 April 2014 - 10:12 PM
No mean to be rude, but it would be kind of you to give me credit for the original idea at the bottom :)/>
He probably didn't copy it off you, it's quite a popular and well known game.
18 posts
Location
Goshen, IN
Posted 17 May 2015 - 03:32 AM
I could maybehelp out with the jupgrade system…if you need help…let me know on how you're doing it and maybe get in contact with me.
818 posts
Location
Wherever you want me to be
Posted 20 July 2015 - 12:08 PM
Hmm, so a game where you click a lot.
Beat my high score in the web game of, well, lots.
setInterval(function(){$('#bigCookie').click()}, 5)
100% legit.
Anyway, seems pretty good. The little upgrade things like the web site that makes cookies for you would be cool.
legit you say…
yeah, i play legit.
226 posts
Location
In your closet
Posted 20 September 2015 - 05:53 AM
I went through my mouse and my backup mouse, I have bought a new mouse. :P/>, It took 4 hours and 2 cups of coffee but here's my score..
[attachment=2382:Screen Shot 2015-09-20 at 12.51.28 AM.png]
779 posts
Location
Kerbin
Posted 27 September 2015 - 07:53 AM
I went through my mouse and my backup mouse, I have bought a new mouse. :P/>/>, It took 4 hours and 2 cups of coffee but here's my score..
[attachment=2382:Screen Shot 2015-09-20 at 12.51.28 AM.png]
Wat? Lua numbers can have that large numbers? Or they're just floating point numbers…
570 posts
Posted 27 September 2015 - 08:51 AM
Wat? Lua numbers can have that large numbers? Or they're just floating point numbers…
Yes, all numbers in Lua are doubles.
779 posts
Location
Kerbin
Posted 27 September 2015 - 09:30 AM
Wat? Lua numbers can have that large numbers? Or they're just floating point numbers…
Yes, all numbers in Lua are doubles.
Then I'll make my custom integer data type in lua
3 posts
Posted 23 October 2015 - 04:38 PM
This looks amazing, you have to continue working on this I cant wait!!!!!
1 posts
Posted 31 January 2016 - 07:14 AM
how do i even put it into the computer i cant copy and paste
7083 posts
Location
Tasmania (AU)
Posted 31 January 2016 - 11:21 PM
Use the
pastebin script:
pastebin get JknhWZ2a clicker
8 posts
Posted 15 August 2016 - 12:36 AM
I have a question right i'm trying to make cookie clicker myself and i'm make the shops right now i just wanted to know HOW DID U GET THE PRICE MULTIPLIER??!?!?!?!? plz respond ASAP! thanks :D/>