Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI Z80 => Topic started by: Builderboy on October 06, 2011, 01:06:53 am

Title: Firefall (Beta)
Post by: Builderboy on October 06, 2011, 01:06:53 am
Firefall is a small minigame that I started a while back, but never really got around to finishing because of the annoyingness that had to do with the achievement system.  Today in Linear Algebra I got the urge to work on it again, and just finished it!  The concept is you are piloting a small ship that has thrusters on either side, and you use the Y= and GRAPH button to activate them and try to keep your ship aloft.  There is a pretty functional scoring system, with additional bonuses for certain tricks.  The highscore functionality has support for 7 highscores with 6 digit scores and 8 character names.  There are also 18 achievements which can sometimes be quite tricky to find!  I have done some bug testing, but there are probably still some in there, which is why I am releasing this beta for now.  It's fully functional though, so have fun ^^ See how many achievements you can get :]

Special thanks to Squidgetx for parts of his text entry routine, I modified it for my own needs but his code was the start in the right direction ^^

EDIT: Oh and there is a cheatcode if you press SIN in the highscore menu, I would advise against it though, as it unlocks all the achievements and prevents you from testing for them D:
Title: Re: Firefall (Beta)
Post by: NecroBumpist on October 06, 2011, 01:17:13 am
Very neat! It looks like a fun game to play while in class.

Gosh, the text particle effects are beautiful :)
Title: Re: Firefall (Beta)
Post by: Eeems on October 06, 2011, 01:25:40 am
Pretty fun :)
I've already been able to unlock a few achievements :D
Question is there an achievement for doing enough flips? ( I notice you get a combo for doing one )
Title: Re: Firefall (Beta)
Post by: Builderboy on October 06, 2011, 01:27:39 am
You can get mega points and achievements for doing multiple flips in a row :) You just have to make sure you manage to land the flips! XD
Title: Re: Firefall (Beta)
Post by: DJ Omnimaga on October 06, 2011, 01:49:27 am
Wow that is awesome Builder! I like the special effects too :)
Title: Re: Firefall (Beta)
Post by: Wellen on October 06, 2011, 03:39:59 am
Would you mind posting the sources ? I'd like to see how you programmed it (especially the dead animation ;))

:)
Title: Re: Firefall (Beta)
Post by: Builderboy on October 06, 2011, 03:42:45 am
The source and everything will be posted when the official release comes out, this is just more of a beta for testing and suggestions :) you might also want to check out this thread http://ourl.ca/9278 for more info on how the fire effect was attained
Title: Re: Firefall (Beta)
Post by: Wellen on October 06, 2011, 07:22:18 am
Ok, i'll check this.

Didn't got any bug yet, but I'll find some soon :evil:
Just can you explain what is the "Demolition" (or Destruction, don't remember) achievement ?
I got it, but I didn't noticed I had done anything special ???
Spoiler For Spoiler:
I wonder if the flames of the thrusters are sprites ? If so, how did you get it rotating ?
If you consider it like a minigame, it's ok, but if you don't, you could add some graphics effects (when you got an achievement, background, amazing-mind-blowing quit animation..)

one more time, please excuse my bad english, I hope you'll understand what I mean :x

Anyway, I like this game a lot !
Title: Re: Firefall (Beta)
Post by: squidgetx on October 06, 2011, 07:25:22 am
Mm, gorgeous :D Looks pretty fun for a minigame

I wonder if any kind of larger/more complex game could be made from this concept...
Title: Re: Firefall (Beta)
Post by: Happybobjr on October 06, 2011, 07:50:20 am
Epic fun.

Trouble with wabbit and school, but this was worth the effort.
Title: Re: Firefall (Beta)
Post by: Builderboy on October 06, 2011, 01:16:57 pm
The destruction achievement is unlocked when you manage to hid the sides of the game twice, sending off more than 1 explosions ^^ And I'm glad everybody is liking it :D It really was designed to be one of those addicting games you played in math class :]
Title: Re: Firefall (Beta)
Post by: leafy on October 06, 2011, 05:06:34 pm
121000 - beat that ^^
Also, I have all the achievements except the bottom right, two above that, and two above that D:
Title: Re: Firefall (Beta)
Post by: Builderboy on October 06, 2011, 05:20:45 pm
Heh those are probably the trickiest.  The last one you get automatically if you get the other 17.  The third to last you have to be pretty leet to get it ^^ and the 5th to last you have to cheat a little ;)
Title: Re: Firefall (Beta)
Post by: TIfanx1999 on October 06, 2011, 05:50:10 pm
Nice to see you doing some calc coding again, even if it is just a small game. Looks pretty sweet. ^^
Title: Re: Firefall (Beta)
Post by: ztrumpet on October 06, 2011, 06:00:29 pm
This looks awesome!  I can't wait to try it. :D
Title: Re: Firefall (Beta)
Post by: Darl181 on October 06, 2011, 06:21:21 pm
Epicness.  It's pretty fun to play, esp. when you end up spinning like a top out of control, you get something like 9 rolls but you end up drifting and crashing :P

A few ideas tho:
- Maybe have reverse thrusters?
- It would help to have Y= do the same thing as 2nd at the menu, it's not far to move the finger but still :P
- Pause?
- Maybe as a sort of bonus: "slo-mo"
- How about changing "loop" to "barrel roll" ;)
- Since it's possible to still fly (a bit) after the explosion, maybe an achievement for staying up x frames?

Also the appvar is named "FrreFall", not sure if that was on purpose or not but yeah


Even if those aren't implemented this'll stay on my calc for quite some time ;D
Title: Re: Firefall (Beta)
Post by: Builderboy on October 06, 2011, 06:24:44 pm
That looks like an old Axe bug O.O I have had several cases of letters being replaced with the letter r during this development, and it looks like the most recent compile managed to screw up the string used for appvar creation :/ But those are pretty excellent suggestions, i think i will definitely implement a few ^^
Title: Re: Firefall (Beta)
Post by: calc84maniac on October 06, 2011, 06:25:57 pm
Also the appvar is named "FrreFall", not sure if that was on purpose or not but yeah
Axe token glitch strikes again!

Also, I think it would be cool if the last entered name for the high score gets put in the high score entry box automatically, having to retype the same name over and over gets annoying
Title: Re: Firefall (Beta)
Post by: ztrumpet on October 06, 2011, 06:38:04 pm
Also, I think it would be cool if the last entered name for the high score gets put in the high score entry box automatically, having to retype the same name over and over gets annoying
That is an awesome idea. :D  I second the motion.
Title: Re: Firefall (Beta)
Post by: Builderboy on October 06, 2011, 08:10:34 pm
oooh thats an excelent idea! :D
Title: Re: Firefall (Beta)
Post by: Darl181 on October 06, 2011, 08:25:10 pm
Another thing that irked me a bit that I forgot about before..could there be some damage system?  Right now, all you have to do is *brush* a wall and bam.
Maybe only explode if moving fairly fast and otherwise bounce off?
Title: Re: Firefall (Beta)
Post by: BalancedFury on October 06, 2011, 08:34:20 pm
So, the point is to not make the platform touch the border and do flips simultaneously?
Title: Re: Firefall (Beta)
Post by: yunhua98 on October 07, 2011, 11:36:55 am
I've gotten Having Fun, Addict, Novice, Demolition, Loopy, Stable, Cheater, Saved!, and Sleepy. :D
Title: Re: Firefall (Beta)
Post by: Hayleia on October 07, 2011, 11:41:26 am
Great ! :D Minigames are quite fun we we don't have the time to play a lot.
Also, if you don't post the whole source until the real release, could you at least give us the "input name for highscore" routine please ? I have been dreaming of one for months :P (and I am not good enough to create one by myself --°)
Title: Re: Firefall (Beta)
Post by: turiqwalrus on October 07, 2011, 12:20:19 pm
I've gotten Having Fun, Addict, Novice, Demolition, Loopy, Stable, Cheater, Saved!, and Sleepy. :D
same plus Obsessed and Suicidal
Title: Re: Firefall (Beta)
Post by: calc84maniac on October 07, 2011, 02:09:18 pm
I have Having Fun, Addict, Obsessed, Novice, Aprentice (fix spelling please :P), Demolition, Loopy, Suicidal, Stable, Saved!, and Sleepy.

I got over 16000 points by pressing and holding Y= and GRAPH at exactly the same time, which keeps the craft level. Thus it can crash repeatedly but not die. I'm surprised I didn't get "Cheater" :P
Title: Re: Firefall (Beta)
Post by: Darl181 on October 07, 2011, 02:27:49 pm
Having fun, Addict, Obsessed, Novice, Demolition (tho I've crashed it into the wall like 5 times in one go before :P), Loopy, Dizzy, Suicidal, Stable, Saved!, 1337 and Sleepy.
Edit: now have Dazed and Aprentice ;D  Got a 40-loop combo, but tapped a wall just as it was stabilizing x.x

"Aprentice" is 10k right?  And I'm guessing there's something for 100k...

Btw, why are extra loops after the first, which is 1020-something, only 200 points more?  It takes at least twice the skill to initiate the loop properly and keep it going, then to stop it..
Title: Re: Firefall (Beta)
Post by: aeTIos on October 07, 2011, 02:33:29 pm
looks nice. ( I just have the strange feel that I replied to this topic earlier)
Title: Re: Firefall (Beta)
Post by: Builderboy on October 07, 2011, 03:22:56 pm
I got over 16000 points by pressing and holding Y= and GRAPH at exactly the same time, which keeps the craft level. Thus it can crash repeatedly but not die. I'm surprised I didn't get "Cheater" :P

I might have to change the achievement to be that instead of what it is right now XD Right now it's a bit obscure :P 

And Darl there are achievements for more loops in a row, but I am seeing some sort of bug where some of them are not activated properly.  Also, the formula for loop bonus is (5L)^2+1000, so doing a small number of loops in a row doesn't give you a large bonus, but doing very high number of loops can give you really really large bonuses.
Title: Re: Firefall (Beta)
Post by: ztrumpet on October 07, 2011, 03:36:51 pm
For some reason I can't transfer this to others' calculators off of mine.  Is this a problem on my end, or is there something strange in the source?  Has anyone else experienced this?
Title: Re: Firefall (Beta)
Post by: Builderboy on October 07, 2011, 03:54:09 pm
Thats strange o.O I really have no idea, I'll try to replicate it next time i have access to another calc
Title: Re: Firefall (Beta)
Post by: ztrumpet on October 07, 2011, 08:53:40 pm
Here's how you make this cooler:
Leave a Grayscale trail for a few pixels behind each end of the main wing.  It'd look awesome.
Title: Re: Firefall (Beta)
Post by: Darl181 on October 07, 2011, 10:28:44 pm
Here's how you make this cooler:
Leave a Grayscale trail for a few pixels behind each end of the main wing.  It'd look awesome.
Yes.

Edit:
Hm, maybe there could be a "lopsided" achievement or something, for rolling in both directions.
"Belly Flop": going off the bottom of the screen with the wings facing downward? ;D
Title: Re: Firefall (Beta)
Post by: annoyingcalc on October 07, 2011, 10:29:32 pm
Yes that would be so cool!
Title: Re: Firefall (Beta)
Post by: leafy on October 07, 2011, 11:23:01 pm
Code: [Select]
GetCalc("appvFrreFall")->K
For(A,0,21)
1->{A+K}
End
/me runs
Title: Re: Firefall (Beta)
Post by: Deep Toaster on October 08, 2011, 12:10:02 am
I missed three pages ... again.

It looks incredibly fun. I'll have to try this sometime. And that crash animation is epic ^^
Title: Re: Firefall (Beta)
Post by: Builderboy on October 08, 2011, 12:40:31 am
Code: [Select]
GetCalc("appvFrreFall")->K
For(A,0,21)
1->{A+K}
End
/me runs

Looks like appvar protection is another thing on the list of things to add :P And those are some really good achievement ideas Darl ^^
Title: Re: Firefall (Beta)
Post by: Darl181 on October 08, 2011, 01:15:44 am
Is it possible to clip the lines?  Is there an app routine for that somewhere?
One of the few things that bug me about this game, you have a nice healthy 60+ combo going, then you drift to the bottom of the screen where you can't see what you're doing x.x

EDIT:
Just safely ended a 100-something-roll combo *.* now I have all but two achievements:
The last one you get automatically if you get the other 17.  The 5th to last you have to cheat a little ;)
So I've pretty much maxed out :D
Title: Re: Firefall (Beta)
Post by: leafy on October 08, 2011, 01:17:56 am
Is it possible to clip the lines?  Is there an app routine for that somewhere?
One of the few things that bug me about this game, you have a nice healthy 60+ combo going, then you drift to the bottom of the screen where you can't see what you're doing x.x

Exactly. I wish there were an axiom for this.
Title: Re: Firefall (Beta)
Post by: Builderboy on October 08, 2011, 01:42:40 am
I need to update the combo bonus routine, because any combo's over 50 or so will overflow and give too small of bonus points D: And yeah, I really wish Axe had clipped lines like it used to, hopefully someone makes an axiom out of it soon.
Title: Re: Firefall (Beta)
Post by: Wellen on October 08, 2011, 04:56:34 pm
Muh, bug ?
I had several times "COMBO : 1" then "COMBO : 655" O.O
I think it means 65535, so -1, but don't know why ^^

Sorry, no screenshots, because it was on-calc..
Title: Re: Firefall (Beta)
Post by: calc84maniac on October 08, 2011, 05:08:47 pm
If lines can only go off the bottom of the screen, you could probably write a fairly simple Axe routine to draw such clipped lines.
Title: Re: Firefall (Beta)
Post by: Deep Toaster on October 09, 2011, 01:30:46 am
I thought you died when you reached the bottom of the screen ???
Title: Re: Firefall (Beta)
Post by: Chockosta on October 09, 2011, 08:24:20 am
I love this game ! Congrats, BuilderBoy...
BTW, how can you do more than 100 000 ? For me, it was really hard to get 10 000...
Title: Re: Firefall (Beta)
Post by: calc84maniac on October 10, 2011, 01:06:25 pm
I feel like you should get points for rotational velocity. I did a combo of 21, but I only got 706 points total! I think that's because I didn't use the thrusters very much.
Title: Re: Firefall (Beta)
Post by: Wellen on October 10, 2011, 01:47:06 pm
I believe your score increase only when you use the thrusters (try without doing any loop, you'll see)
Title: Re: Firefall (Beta)
Post by: Builderboy on October 10, 2011, 01:59:10 pm
If you managed to land a combo of 21 you should have gotten 12025 points bonus.  Most likely you were at 21 combo, but failed to land the trick.  In order to get the points, you need to 'land' your ship, ie: get it back into a position that is non rotating and stable
Title: Re: Firefall (Beta)
Post by: Wellen on October 10, 2011, 02:02:11 pm
Muh, bug ?
I had several times "COMBO : 1" then "COMBO : 655" O.O
I think it means 65535, so -1, but don't know why ^^

Sorry, no screenshots, because it was on-calc..

And do you have any ideas for that ? :)
Title: Re: Firefall (Beta)
Post by: Builderboy on October 10, 2011, 02:23:45 pm
Do you mean it went from Combo:1 to Combo:655 ?
Title: Re: Firefall (Beta)
Post by: Darl181 on October 10, 2011, 02:29:38 pm
Sometimes it says 655 for me, too, when I start the flips.

141K high score btw ;D

About the last achievement.  I've gotten them all, but the last one doesn't appear...it's just a blank.
Title: Re: Firefall (Beta)
Post by: Builderboy on October 10, 2011, 02:32:21 pm
Yeah the last achievement should activate when all the rest are attained but it doesn't for some sad reason :(  And I'll look into the 655 bug as well thanks ^^
Title: Re: Firefall (Beta)
Post by: calc84maniac on October 10, 2011, 04:45:46 pm
If you managed to land a combo of 21 you should have gotten 12025 points bonus.  Most likely you were at 21 combo, but failed to land the trick.  In order to get the points, you need to 'land' your ship, ie: get it back into a position that is non rotating and stable
I... I never knew D:
Title: Re: Firefall (Beta)
Post by: Wellen on October 10, 2011, 05:08:43 pm
Yeah actually it goes sometimes from 1 to 655, sometimes it begins at 655
But I didn't manage to 'land' with a 655 combo, so idk how many bonus-points it gives :P
Title: Re: Firefall (Beta)
Post by: Darl181 on October 10, 2011, 06:27:44 pm
Yeah actually it goes sometimes from 1 to 655, sometimes it begins at 655
But I didn't manage to 'land' with a 655 combo, so idk how many bonus-points it gives :P
Quote from: bboy
I need to update the combo bonus routine, because any combo's over 50 or so will overflow and give too small of bonus points :(
x.x
Title: Re: Firefall (Beta)
Post by: Yeong on October 10, 2011, 06:28:47 pm
so it's not possible to get 1,000,000 pts, right?
Title: Re: Firefall (Beta)
Post by: Builderboy on October 10, 2011, 06:37:25 pm
It is possible to get that many points, since the actual score itself is more than 2 bytes, but the bonus is only 2 byte, so a single bonus cannot be larger than 65536 points.  By chaining multiple bonuses you can get up to a score of 999,999 (and higher but it doesn't display properly)