Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI Z80 => Topic started by: JWinslow23 on December 14, 2014, 08:13:27 pm

Title: Cookie Clicker Axe development thread
Post by: JWinslow23 on December 14, 2014, 08:13:27 pm
Everyone, good news...I'm making another project! :D

As of now, this is only a demo. This is BY NO MEANS a complete game. This is simply meant to prove to myself something I couldn't program on a calc a year ago is indeed possible to program. I shall continue this in the coming weeks

As of now, you use the arrow keys to move the cursor, and ENTER to click. Only clicking on the cookie does anything for now. Once you click on the cookie, you get another cookie. Cookies per second are implemented, but until buying and selling buildings is complete, are disabled.

Screenie for your viewing pleasure:
(https://img.ourl.ca/CookieClickerDemo.gif)

Source files and program file attached. Uses an axiom (the .8xv file). Tell me what you think so far!
Title: Re: Cookie Clicker Axe development thread
Post by: DJ Omnimaga on December 14, 2014, 10:21:43 pm
Looks nice, but if you are using Doors CS routines (eg the mouse pointer routine) make sure to give credits where due. :P
Title: Re: Cookie Clicker Axe development thread
Post by: parserp on December 15, 2014, 01:00:17 am
This is simply meant to prove to myself something I couldn't program on a calc a year ago is indeed possible to program.
If you don't mind me asking, is there anything specific that you couldn't do a year ago that you can do now?

Also, I'm not sure if this is a clone or not, so I'm having a hard time exactly seeing what the objective is. Could you explain a bit?

But, just purely from the screenie and not knowing anything about the game, I like the graphics and it looks good. :)
Title: Re: Cookie Clicker Axe development thread
Post by: DJ Omnimaga on December 15, 2014, 01:38:47 am
Well, the Cookie Clicker clone he made a year ago was for the most part a rudimentary BASIC game like most people do at first, although in general it was above average compared to most stuff on ticalc.org. This game is a clone but it's much better than his previous Cookie Clicker game. (although it's still unfinished)

Honestly I think JWinslow23 has come a long way on many points since he signed up. I wish everyone who joined did the same (everyone has to start somewhere, though).
Title: Re: Cookie Clicker Axe development thread
Post by: Sorunome on December 15, 2014, 05:54:28 am
Cookies!

Will it also feature the grandmapocalypse? ^.^
Title: Re: Cookie Clicker Axe development thread
Post by: JWinslow23 on December 15, 2014, 10:07:42 am
Looks nice, but if you are using Doors CS routines (eg the mouse pointer routine) make sure to give credits where due. :P
I am not using any DCS routines. This is all my own code (except the mouse graphic, I admit, was the exact DCS design. Sorry, I can't find a better mouse pointer out there :/ ).

This is simply meant to prove to myself something I couldn't program on a calc a year ago is indeed possible to program.
If you don't mind me asking, is there anything specific that you couldn't do a year ago that you can do now?

Also, I'm not sure if this is a clone or not, so I'm having a hard time exactly seeing what the objective is. Could you explain a bit?

But, just purely from the screenie and not knowing anything about the game, I like the graphics and it looks good. :)
This is a clone of the game Cookie Clicker. Play it here. (http://orteil.dashnet.org/cookieclicker)
Cookies!

Will it also feature the grandmapocalypse? ^.^
Well, if I can find a way to do upgrades. Here's hoping...
Title: Re: Cookie Clicker Axe development thread
Post by: parserp on December 15, 2014, 01:54:13 pm
This is a clone of the game Cookie Clicker. Play it here. (http://orteil.dashnet.org/cookieclicker)
Dang, I've never heard of this game. Super simple, but strangely fun! Keep up the good work!
Title: Re: Cookie Clicker Axe development thread
Post by: Sorunome on December 15, 2014, 01:54:43 pm
What have you done?! you got me back into clicking cookies :P
Title: Re: Cookie Clicker Axe development thread
Post by: Eiyeron on December 15, 2014, 02:35:15 pm
See, you just killed Sorunome's inexistant productivity! :p You meanie!
Title: Re: Cookie Clicker Axe development thread
Post by: JWinslow23 on December 15, 2014, 02:39:53 pm
This is a clone of the game Cookie Clicker. Play it here. (http://orteil.dashnet.org/cookieclicker)
Dang, I've never heard of this game. Super simple, but strangely fun! Keep up the good work!
Thanks! I plan to have a lot of game features.
What have you done?! you got me back into clicking cookies :P
See, you just killed Sorunome's inexistant productivity! :p You meanie!
...so what I'm hearing is, I SHOULDN'T do the grandmapocalypse? :P
Title: Re: Cookie Clicker Axe development thread
Post by: Sorunome on December 15, 2014, 04:54:58 pm
This is a clone of the game Cookie Clicker. Play it here. (http://orteil.dashnet.org/cookieclicker)
Dang, I've never heard of this game. Super simple, but strangely fun! Keep up the good work!
Thanks! I plan to have a lot of game features.
What have you done?! you got me back into clicking cookies :P
See, you just killed Sorunome's inexistant productivity! :p You meanie!
...so what I'm hearing is, I SHOULDN'T do the grandmapocalypse? :P
But grandmas melting from the 4th dimension...
Title: Re: Cookie Clicker Axe development thread
Post by: LDStudios on December 15, 2014, 06:19:12 pm
This is a clone of the game Cookie Clicker. Play it here. (http://orteil.dashnet.org/cookieclicker)
Dang, I've never heard of this game. Super simple, but strangely fun! Keep up the good work!
That's astonishing actually. This game has been surprisingly popular in a lot of places. Even if it's not known where you live, I'm surprised you haven't heard of it on omnimaga or somewhere else.
Title: Re: Cookie Clicker Axe development thread
Post by: JWinslow23 on December 15, 2014, 06:29:25 pm
This is a clone of the game Cookie Clicker. Play it here. (http://orteil.dashnet.org/cookieclicker)
Dang, I've never heard of this game. Super simple, but strangely fun! Keep up the good work!
Thanks! I plan to have a lot of game features.
What have you done?! you got me back into clicking cookies :P
See, you just killed Sorunome's inexistant productivity! :p You meanie!
...so what I'm hearing is, I SHOULDN'T do the grandmapocalypse? :P
But grandmas melting from the 4th dimension...
...if I can do upgrades, I will somehow do the grandmapocalypse.
Title: Re: Cookie Clicker Axe development thread
Post by: Keoni29 on December 17, 2014, 06:11:01 pm
Cool! It has a mouse cursor and everything. Will there be chocolate milk though?
Title: Re: Cookie Clicker Axe development thread
Post by: JWinslow23 on December 18, 2014, 11:39:22 am
Cool! It has a mouse cursor and everything. Will there be chocolate milk though?
I'm not sure. Right now, I'm focusing on simply increasing and decreasing the price in the right way. I'm using a floatin point axiom, but I'm thinking of simply doing it using integer arithmetic instead of floating point arithmetic (like just multiplying by 115 and then dividing by 10 instead of multiplying by 1.15).
Title: Re: Cookie Clicker Axe development thread
Post by: DJ Omnimaga on December 18, 2014, 08:11:39 pm
Does it have a save feature by the way?
Title: Re: Cookie Clicker Axe development thread
Post by: JWinslow23 on December 19, 2014, 09:18:10 pm
Does it have a save feature by the way?
That's after I finish :P I'm working hard trying to figure it out
Title: Re: Cookie Clicker Axe development thread
Post by: DJ Omnimaga on December 20, 2014, 12:21:44 am
Do you mean you have issues with Axe saving? BEcause I remember having quite a lot of problems dealing with external vars creation/updating/reading in the past in Axe >.< (just implementing highscores in Axe Tunnel took me three times longer than making the game itself)
Title: Re: Cookie Clicker Axe development thread
Post by: Keoni29 on December 20, 2014, 04:18:22 am
It's a lot nicer to do it like that because your result has to be an integer anyway. No point in converting from integers to floating point back to integer.
Title: Re: Cookie Clicker Axe development thread
Post by: JWinslow23 on December 20, 2014, 09:33:05 pm
Do you mean you have issues with Axe saving? BEcause I remember having quite a lot of problems dealing with external vars creation/updating/reading in the past in Axe >.< (just implementing highscores in Axe Tunnel took me three times longer than making the game itself)
No, it's just that I want to implement it after I'm finished with the actual game. I have never had problems with implementing savegames (remember TI-2048?).

It's a lot nicer to do it like that because your result has to be an integer anyway. No point in converting from integers to floating point back to integer.
I'm testing the floating point axiom first, though XD
Title: Re: Cookie Clicker Axe development thread
Post by: JWinslow23 on December 21, 2014, 01:31:15 pm
Bump.

Now you can buy and sell buildings! Press the left and right "buttons" to cycle through the buildings. Press the BUY and SELL "buttons" to buy and sell buildings.

Screenie:
(https://img.ourl.ca/CookieClickerDemo-1.gif)

Source and program file attached. Uses an axiom (only required for compiling). Please test and tell me what you think!
Title: Re: Cookie Clicker Axe development thread
Post by: Sorunome on December 21, 2014, 02:23:34 pm
Yay! Next achievements :P
Title: Re: Cookie Clicker Axe development thread
Post by: JWinslow23 on December 21, 2014, 02:46:18 pm
Yay! Next achievements :P
These very well could be possible, but as it stands right now, the game is 7KB. If I want to add achievements, I need to optimize. Next is the NEWS TICKER.
Title: Re: Cookie Clicker Axe development thread
Post by: DJ Omnimaga on December 21, 2014, 07:30:30 pm
Achievements like the CSE version would rule :D
Title: Re: Cookie Clicker Axe development thread
Post by: JWinslow23 on December 21, 2014, 09:22:43 pm
Achievements like the CSE version would rule :D
At the rate I'm going, I'm barely gonna have enough room for golden cookies! :P
Title: Re: Cookie Clicker Axe development thread
Post by: JWinslow23 on December 25, 2014, 06:42:04 pm
Christmas bump.

Major update: Now it's a finished game! I'm not sure I even have ROOM for more features :P .

Same controls and stuff as the previous version. It also saves your game when you quit.

Screenie:
(https://img.ourl.ca/CookieClickerGame.gif)

Source files and program file attached. Uses an axiom (only needed for compiling). Tell me what you think!
Title: Re: Cookie Clicker Axe development thread
Post by: Sorunome on December 25, 2014, 06:43:08 pm
Yay!
Did you add achievements? :3
Title: Re: Cookie Clicker Axe development thread
Post by: JWinslow23 on December 25, 2014, 06:44:04 pm
Yay!
Did you add achievements? :3
I barely have enough space or room on the screen. :P I'll try, but I doubt it'll happen.
Title: Re: Cookie Clicker Axe development thread
Post by: Sorunome on December 25, 2014, 06:47:30 pm
You can have like a button to toggle between view modes
Title: Re: Cookie Clicker Axe development thread
Post by: JWinslow23 on December 25, 2014, 06:50:18 pm
You can have like a button to toggle between view modes
I'm not saying I can't do it, I'm just saying I do not now have the immediate space, ROM, or motivation to do anything more.
Title: Re: Cookie Clicker Axe development thread
Post by: chickendude on December 25, 2014, 09:03:04 pm
I can't send the app to my calc with TiLP :/

It looks really great though.
Title: Re: Cookie Clicker Axe development thread
Post by: Sorunome on December 25, 2014, 09:03:53 pm
Maybe it still needs to be signed?
Title: Re: Cookie Clicker Axe development thread
Post by: JWinslow23 on December 25, 2014, 11:05:27 pm
Maybe it still needs to be signed?
Does Axe do it for you? If it doesn't, how do I sign it?
Title: Re: Cookie Clicker Axe development thread
Post by: chickendude on December 26, 2014, 05:46:02 am
I just compiled it from source and i've got to say that the first thing i noticed was that you can't use [2nd] to click, you've got to use [Enter] so i changed that in the code. I've also never used Axe before but i assume the size it mentions is the size in bytes of your code, if that's the case you've still got nearly 6,000 bytes left to fill out the app with.

Achievements/upgrades would be really great, but it's already a perfect game for class as you can set it down and let your cookies stock up (though the grayscale's gonna kill your batteries ;)). The thing i think it's missing most is upgrades, but it's already really great. I'm also impressed by how quickly you got this done! Nice work yet again :) I hope you don't drop this project just yet, but as always i'm looking forward to seeing your next project :D

EDIT: As i was typing that i got enough cookies to get a factory :D

Ah, and to answer your question, it looks like Axe includes RabbitSign, look in the Tools/Application Signer folder.
Title: Re: Cookie Clicker Axe development thread
Post by: Sorunome on December 26, 2014, 08:25:19 am
Maybe it still needs to be signed?
Does Axe do it for you? If it doesn't, how do I sign it?
As far as I know it doesn't sign, but there is rabbitsign to sign it :)
Title: Re: Cookie Clicker Axe development thread
Post by: chickendude on December 26, 2014, 08:39:00 pm
Btw, i just bought an Antimatter last night but now my batteries are low :P
Title: Re: Cookie Clicker Axe development thread
Post by: JWinslow23 on December 28, 2014, 11:11:24 am
I just compiled it from source and i've got to say that the first thing i noticed was that you can't use [2nd] to click, you've got to use [Enter] so i changed that in the code. I've also never used Axe before but i assume the size it mentions is the size in bytes of your code, if that's the case you've still got nearly 6,000 bytes left to fill out the app with.

Achievements/upgrades would be really great, but it's already a perfect game for class as you can set it down and let your cookies stock up (though the grayscale's gonna kill your batteries ;)). The thing i think it's missing most is upgrades, but it's already really great. I'm also impressed by how quickly you got this done! Nice work yet again :) I hope you don't drop this project just yet, but as always i'm looking forward to seeing your next project :D

EDIT: As i was typing that i got enough cookies to get a factory :D

Ah, and to answer your question, it looks like Axe includes RabbitSign, look in the Tools/Application Signer folder.
I can't believe you even found the place in the code where it decides the click button lol :P I will make 2nd a 2nd click button (no pun intended). I also MIGHT add a button on the calc that disables grayscale. And hopefully I'll do upgrades, but I doubt it. I'm still working on this.

Also, thanks! Now I know how to sign apps.
Title: Re: Cookie Clicker Axe development thread
Post by: JWinslow23 on January 30, 2015, 02:03:04 pm
Hey guys.

I have REALLY been procrastinating on all things calcs. School stress and holiday celebrations kinda got in the way, as well as my own lack of motivation and focus. :-\

I think I added new stuff to the version on my calc since my last release (which wasn't even a release at all), but I don't really feel motivated to add ANYTHING more to this game (besides a way to easily delete your save). So, at this point, I have the final version of the game on my calc right now, and I am the sole owner. As soon as I add a save-delete button (is it OK if there is no confirmation?), I will release it IF IT KILLS ME.

Also, if and only if I think there is something that I have the knowledge, time, and patience to add, I will add it. But for all intents and purposes, the next release will be the final release. Thank you for your support.
Title: Re: Cookie Clicker Axe development thread
Post by: JWinslow23 on February 02, 2015, 07:30:38 pm
Bump.

"What took you so long?" Now, now, imaginary angry mob with torches and pitchforks, it's finally here. The final version of my game (unless I get some sort of kick in the pants to actually start to implement golden cookies).

I've added some new stuff, such as a way to disable grayscale with ALPHA, a "delete savegame" function with DEL, an alternate click button (use 2nd or ENTER), and some more entertaining news stories.

As usual, a screenie:
(https://img.ourl.ca/CookieClickerv1.gif)

Source files and app attached (RabbitSign said it signed, is it coming out fine on your end?). Uses an axiom (used only for compiling).

News: game maker delays game update 1 year; "more like Coder of Sorry, Not Now..." (https://img.ourl.ca/NEWS.png) News: obesity epidemic strikes nation; experts blame their own willpower. (https://img.ourl.ca/NEWS.png) News: "is the media being run by the cookie industry?" says conspiracy theorist.