CodeWalrus

Development => Calculators => Calc Projects, Programming & Tutorials => Topic started by: Unicorn on October 24, 2016, 07:33:48 PM

Title: AspirinCE (Aspirin Port) TI 84+ CE
Post by: Unicorn on October 24, 2016, 07:33:48 PM
AspirinCE
AspirinCE is a fun reaction game with three difficulty levels and 3 different highscores.

Dowload here (https://www.cemetech.net/programs/index.php?mode=file&path=/84pce/asm/games/AspirinCE.zip)

(https://usercontent.irccloud-cdn.com/file/t3qvIHFQ/AspirinCE%20v1.5.gif)




Hello again! So while I take a break from DoodleJump, I kinda got distracted and am now attempting to port Aspirin (http://www.ticalc.org/archives/files/fileinfo/365/36542.html). So far I've got one of those stabby lines moving, a player, and one of the point balls. Collision is now working, and all I have to do is implement more lines! Any suggestions on how to do that?

(https://usercontent.irccloud-cdn.com/file/L5L3J1qo/AspirinCE%20v0.2.gif)
Title: Re: AspirinCE (Aspirin Port) TI 84+ CE
Post by: p2 on October 24, 2016, 08:24:15 PM
you suck at this game... seriously... <_<

nah jk ^^
can't wait to see some of the more advanced levels ;D
also you might think about blocks that you cant pass through?
or increasing the target'S size so it's easier to hit? :) seems to be a bit difficult ^^
*actually looks like if that' the most difficult part on the entire level :trollface:
Title: Re: AspirinCE (Aspirin Port) TI 84+ CE
Post by: Unicorn on October 25, 2016, 04:16:22 AM
Quote from: p2 on October 24, 2016, 08:24:15 PM
you suck at this game... seriously... <_<seems to be a bit difficult ^^
*actually looks like if that' the most difficult part on the entire level :trollface:
Yes, it is super hard, you should try it sometime. I'm tooootallly not demonstrating losing!

Quote from: p2 on October 24, 2016, 08:24:15 PM
can't wait to see some of the more advanced levels ;D
also you might think about blocks that you cant pass through?
or increasing the target'S size so it's easier to hit? :)
Yeah, I'm implementing more lines, and blocks seem like a cool idea, I'll think about that! I could make a level editor or something O.o
Title: Re: AspirinCE (Aspirin Port) TI 84+ CE
Post by: Dream of Omnimaga on October 25, 2016, 04:49:01 AM
I remember playing Aspirin on my Casio fx-CG10 and it gets very crazy after a while with 20+ lines moving in all directions O.O
Title: Re: AspirinCE (Aspirin Port) TI 84+ CE
Post by: Unicorn on December 14, 2016, 07:58:18 AM
So after a little break for the end of the semester, I found a problem with coordinates not being randomized correctly. and lines being drawn over themselves, so I fixed that, and now it is much harder before the slowdown occurs. I am also going to make the area where the lines and the player move into a smaller square so I don't have to draw as much, speeding up the program a bit ;)

Here's a screenshot for now. (Notice 6 lines instead of 2 in the beginning)

Old Screenshot:
(https://usercontent.irccloud-cdn.com/file/iubicAhM/AspirinCE%20v0.5.gif)

New Screenshot:
(https://usercontent.irccloud-cdn.com/file/wwSUPay9/AspirinCE%20v0.5.gif)

So yeah, gonna add a menu and more levels after that. 6 per point will be the hardest
Title: Re: AspirinCE (Aspirin Port) TI 84+ CE
Post by: p2 on December 14, 2016, 09:01:13 AM
well that looks nice!! :D
Can you make the new lines enter the screen from ooutside instead of just making them appear? Else it might get a little bit unfair if you're rather close to the border ^^
Title: Re: AspirinCE (Aspirin Port) TI 84+ CE
Post by: Unicorn on December 15, 2016, 02:45:15 AM
Quote from: p2 on December 14, 2016, 09:01:13 AM
well that looks nice!! :D
Can you make the new lines enter the screen from ooutside instead of just making them appear? Else it might get a little bit unfair if you're rather close to the border ^^
hmm maybe, I'll have to look into that.
Title: Re: AspirinCE (Aspirin Port) TI 84+ CE
Post by: Dream of Omnimaga on December 19, 2016, 05:34:42 PM
Wow that first screenshot is crazy O.O

Also nice speed so far
Title: Re: AspirinCE (Aspirin Port) TI 84+ CE
Post by: p2 on December 19, 2016, 07:36:57 PM
have you already worked on lines "entering" the screen when appearing? :)
also.. how comes the lines partially leave teh screen on the bottom but not on any other edge? ^^ :)
Title: Re: AspirinCE (Aspirin Port) TI 84+ CE
Post by: Unicorn on May 09, 2017, 06:48:10 AM
Hey hey!
Thanks to MateoC I have worked out all the kinks and am gettin highscores and things working, with a little difficulty tuning, and then should be close to release!

(https://usercontent.irccloud-cdn.com/file/LFw4qXma/AspirinCE%20v1.0.gif)
Title: Re: AspirinCE (Aspirin Port) TI 84+ CE
Post by: p2 on May 09, 2017, 07:29:58 AM
U should make it so new lines don't appear on your current X or Y position after reaching the target (so u won't die immideately after weiting there for a sec)
besides that it looks really un to play, nice job!  :thumbsup:
Title: Re: AspirinCE (Aspirin Port) TI 84+ CE
Post by: Unicorn on May 09, 2017, 06:40:29 PM
Quote from: p2 on May 09, 2017, 07:29:58 AM
U should make it so new lines don't appear on your current X or Y position after reaching the target (so u won't die immideately after weiting there for a sec)
besides that it looks really un to play, nice job!  :thumbsup:

Yup, I'm workin on that. Also, thanks!
Title: Re: AspirinCE (Aspirin Port) TI 84+ CE
Post by: Unicorn on May 13, 2017, 10:13:56 PM
Done!

AspirinCE
AspirinCE is a fun reaction game with three difficulty levels and 3 different highscores.

Dowload here (https://www.cemetech.net/programs/index.php?mode=file&path=/84pce/asm/games/AspirinCE.zip)

(https://usercontent.irccloud-cdn.com/file/t3qvIHFQ/AspirinCE%20v1.5.gif)


Also, in regards to this:
QuoteU should make it so new lines don't appear on your current X or Y position after reaching the target (so u won't die immideately after weiting there for a sec)
The lines no longer spawn in the middle of the screen, they spawn on the edge, but they can still spawn at your current X/Y position if you are at an edge. If enough people complain about insta-death I'll add some sort of checking
Title: Re: AspirinCE (Aspirin Port) TI 84+ CE
Post by: Dream of Omnimaga on May 18, 2017, 12:55:49 AM
Wow that looks great. Glad to see the game finished. :O

This is something I'll have to try soon. :)
Title: Re: AspirinCE (Aspirin Port) TI 84+ CE
Post by: TheMachine02 on May 18, 2017, 09:09:04 AM
Nice  :)

Usually this type of game drive me mad pretty easily but be sure I'll give a try !  :P
Title: Re: AspirinCE (Aspirin Port) TI 84+ CE
Post by: Unicorn on May 20, 2017, 08:19:13 AM
Thanks guys! Well, uh, i guess i didnt do enoigh desting with my delaying of the game and once 7-8 lines are on scree, everythingg slows down. So i guess i need to fix that soon. So dont downld yet!
Title: Re: AspirinCE (Aspirin Port) TI 84+ CE
Post by: Dream of Omnimaga on May 20, 2017, 05:08:21 PM
Would frame skipping help?
Title: Re: AspirinCE (Aspirin Port) TI 84+ CE
Post by: Unicorn on May 20, 2017, 07:11:16 PM
Quote from: DJ Omnimaga on May 20, 2017, 05:08:21 PM
Would frame skipping help?
i dunno, I just need to remove the delay and everything should be good. It is still very playable without the slowdown.
Title: Re: AspirinCE (Aspirin Port) TI 84+ CE
Post by: Unicorn on May 23, 2017, 03:48:35 AM
Fixed all the bad borked things :)
Title: Re: AspirinCE (Aspirin Port) TI 84+ CE
Post by: Dream of Omnimaga on May 23, 2017, 03:55:30 AM
Awesome. I'm downloading now so I can hopefully try it later :3=
Title: Re: AspirinCE (Aspirin Port) TI 84+ CE
Post by: Unicorn on May 23, 2017, 04:35:07 AM
Just in time for the ticalc new article as well :P
Title: Re: AspirinCE (Aspirin Port) TI 84+ CE
Post by: merpaderp on May 23, 2017, 09:55:06 PM
Wth? The ball won't move when you play it and you can't exit either. I had to RAM clear :( :'(
Title: Re: AspirinCE (Aspirin Port) TI 84+ CE
Post by: Dream of Omnimaga on May 23, 2017, 10:47:11 PM
Heya merpaderp and welcome to the forums. :) What TI-84 Plus CE OS version do you currently have?
Title: Re: AspirinCE (Aspirin Port) TI 84+ CE
Post by: merpaderp on May 24, 2017, 02:05:15 AM
It was working with me the previous version of Aspirin. I have the newest one some thing  5.2
Title: Re: AspirinCE (Aspirin Port) TI 84+ CE
Post by: Unicorn on May 24, 2017, 02:54:06 AM
Quote from: merpaderp on May 24, 2017, 02:05:15 AM
It was working with me the previous version of Aspirin. I have the newest one some thing  5.2
Oh crap. I'm dumb
agh
Title: Re: AspirinCE (Aspirin Port) TI 84+ CE
Post by: Dream of Omnimaga on May 24, 2017, 04:20:29 PM
What might be causing the error?
Title: Re: AspirinCE (Aspirin Port) TI 84+ CE
Post by: Unicorn on May 25, 2017, 05:23:58 AM
Quote from: DJ Omnimaga on May 24, 2017, 04:20:29 PM
What might be causing the error?
I messed up keyboard input when fixing the delay :/

(I never tested it, cuz it was just remove one if statement and a variable, but I guess I accidentally grabbed something else along the way


EDIT: I deleted one to many brackets:

Download below @merpaderp
Title: Re: AspirinCE (Aspirin Port) TI 84+ CE
Post by: merpaderp on May 25, 2017, 11:26:24 PM
Thanks
Title: Re: AspirinCE (Aspirin Port) TI 84+ CE
Post by: Dream of Omnimaga on May 26, 2017, 03:53:54 PM
Quote from: Unicorn on May 25, 2017, 05:23:58 AM
Quote from: DJ Omnimaga on May 24, 2017, 04:20:29 PM
What might be causing the error?
I messed up keyboard input when fixing the delay :/

(I never tested it, cuz it was just remove one if statement and a variable, but I guess I accidentally grabbed something else along the way


EDIT: I deleted one to many brackets:

Download below @merpaderp
Ah I see. I only had time to play xMarminq's Oiram levels and I got the old version of Aspirin, but I will download this new one later.
Title: Re: AspirinCE (Aspirin Port) TI 84+ CE
Post by: Unicorn on May 30, 2017, 07:42:20 AM
Yeah, be sure to update :P the other one will make ya reset your ram.

But after you guys play some, any suggestions?
Title: Re: AspirinCE (Aspirin Port) TI 84+ CE
Post by: Alvajoy123 on June 14, 2017, 06:42:02 AM
Unicorn you make the best games
Keep it up
Title: Re: AspirinCE (Aspirin Port) TI 84+ CE
Post by: Unicorn on June 20, 2017, 02:53:40 AM
Thanks :)