Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI-Nspire => Topic started by: ingalls on April 22, 2011, 06:48:58 pm

Title: nFighter - The Fourth Lua Game for Nspire
Post by: ingalls on April 22, 2011, 06:48:58 pm
I am proud to announce the release of nFighter, the fourth of hopefully a long line of games in Lua.

All of the instructions can be found in the readme, please read it before playing!
The source code is also included in the download

Cheers
Ingalls

(http://www.omnimaga.org/index.php?action=dlattach;topic=7975.0;attach=7483;image)(http://img.removedfromgame.com/imgs/NSPIREVIDEO0019.gif)
Thanks to DJ_O for the static screen shot and thanks to apcalc for the animated GIF and the writeup on the front page :)

The source code is released under the GPL V3 found here http://www.gnu.org/licenses/gpl.html (http://www.gnu.org/licenses/gpl.html)
If you modify the code please give me credit, I put a lot of time into this!

Also, please let me know what you think (ie what need improvement, what you like now, new features you would like to see

TODO
~Add Color (Started...)
~Create levels for harder game play

Done:
~Make enemies larger --DONE as of 1.01
~remap keys to allow for playing on number keys as well as touchpad --Done as of 2.1
~Basic Animation for dying... --Done as of 2.1
~Moving Crates --Done as of 2.1

nFighter_2.1 is the LATEST VERSION.
Title: Re: nFighter - The Fourth Lua Game in the World!
Post by: ingalls on April 22, 2011, 09:38:12 pm
nFighter progress update, I will soon be adding moving crates instead of the static ones found in the game. I will upload the new version as soon as a figure out a few bugs, namely the crates starting from the center of the screen instead of at the edge like they are supposed to... I will also be adding levels and possibly a boss or two dependent on the number of points that you receive. Each level would increase the difficulty. Finally, I plan to add a high score feature so you can remember your scores and challenge your friends.

Title: Re: nFighter - The Fourth Lua Game in the World!
Post by: Ashbad on April 22, 2011, 09:40:41 pm
Cool!  Can you add screens if possible?  :D

Also, 4th Lua game sounds misleading, to should put Nspire in the topic title somewhere to clarify ;)

And welcome to Omnimaga! :D
Title: Re: nFighter - The Fourth Lua Game in the World!
Post by: ruler501 on April 22, 2011, 09:41:39 pm
This is very nice. great job and welcome to omnimaga. Have you posted an intro yet?
I really need to get a game out soon. maybe I can be number 5...
Title: Re: nFighter - The Fourth Lua Game in the World!
Post by: ingalls on April 22, 2011, 09:43:22 pm
Thanks for the welcome, Sure, I can change it to nspire, np.

Just a quick question, when I had the student software I could do screenshots from it, I lost the liscence key for t and haven't bothered to call TI and see if they will look it up for me. I have heard that there is an nspire emu but I haven't found an updated version? Is the feature included in it?
Title: Re: nFighter - The Fourth Lua Game in the World!
Post by: ruler501 on April 22, 2011, 09:45:50 pm
I believe so. I don't use the Nspire emu or the student calc software and just kill my calc with my programs :P.
I
m almost positive the emu will let you get screen captures as gif's or jpegs(maybe not gifs).
Title: Re: nFighter - The Fourth Lua Game for Nspire
Post by: ingalls on April 22, 2011, 09:46:12 pm
Yes, I posted an intro some time ago but have been dormant since then. I've been working on a rather lengthy text adventure in Ti-Basic but once Lua came out I set that aside and got to work!
Title: Re: nFighter - The Fourth Lua Game for Nspire
Post by: ingalls on April 22, 2011, 10:19:58 pm
Well, I guess I'll have screenshots tomorrow. I couldn't get nspire_emu up and running with 3.0.1. I just got a blank emulator window... I'll talk to TI and see if I can get my student software up and running again.
Title: Re: nFighter - The Fourth Lua Game for Nspire
Post by: yunhua98 on April 22, 2011, 10:42:08 pm
Ask TI for help?!  And pigs are flying now.  :P

On a more serious note, this game sounds really cool!  Good luck with it!  ;)
Title: Re: nFighter - The Fourth Lua Game for Nspire
Post by: apcalc on April 22, 2011, 10:53:29 pm
I tested this on the emulator; it is very nice! :)

Are you going to add color in the future? :)
Title: Re: nFighter - The Fourth Lua Game for Nspire
Post by: DJ Omnimaga on April 22, 2011, 11:35:18 pm
The Nspire emu can be found at http://ourl.ca/93605 . You need a copy of Boot2 though, which we can't distribute ourselves. It's included in OS 3.0.1, though.

Also nice. You should make the enemy a bit larger though, so it's a bit easier to see, and make the difficulty so it increases at a good speed, like the enemy shooting more and more or losing more energy as the game progresses. Here's a screenshot for those who want to see how it looks like. It has about 8-10 FPS with scrolling. Btw we can move diagonaly and shoot while moving, which made me happy because this means for platformers controls would be much easier.
Title: Re: nFighter - The Fourth Lua Game for Nspire
Post by: Goplat on April 23, 2011, 01:30:36 am
The Nspire emu can be found at http://ourl.ca/93605 . You need a copy of Boot2 though, which we can't distribute ourselves. It's included in OS 3.0.1, though.
That version of boot2 will not work in the current released version of nspire_emu. You need boot2 1.4 (present in OSes 1.4 to 2.1)
Title: Re: nFighter - The Fourth Lua Game for Nspire
Post by: ingalls on April 23, 2011, 06:11:01 am
Thanks for all the feedback, I will increase the enemy size today. I was thinking about doing it, they are rather hard to see! I will also be making levels, so the game will get harder and harder... Shooting faster is an idea I hadn't thought of!

@Goplat - Thanks, I 'll see if I can find a copy, I was messing around with the emu for about an hour last night trying to get it to work. This will make life much easier!

Cheers
Ingalls
Title: Re: nFighter - The Fourth Lua Game for Nspire
Post by: ingalls on April 23, 2011, 06:12:49 am
@apcalc - Yes I do plan on adding color. I didn't want to work on the color version until I got an emulator or purchased a CX though as currently I have no way to see how it looks except in B&W
Title: Re: nFighter - The Fourth Lua Game for Nspire
Post by: ingalls on April 23, 2011, 07:11:51 am
@DJ_O 10-12 FPS sounds right. I have the refresh set to 0.10s. I don't see why I couldn't increase that speed though. I'll have to give it a try today :)
Title: Re: nFighter - The Fourth Lua Game for Nspire
Post by: ingalls on April 23, 2011, 09:15:45 am
@DJ_O Just wanted to let you know that I redesigned the enemies to be larger. Hopefully that will make them slightly easier to find :)

Cheers
Ingalls
Title: Re: nFighter - The Fourth Lua Game for Nspire
Post by: jnesselr on April 23, 2011, 12:05:11 pm
Whoa, Quadruple post.  This actually looks pretty good!
Title: Re: nFighter - The Fourth Lua Game for Nspire
Post by: DJ Omnimaga on April 23, 2011, 10:46:50 pm
Holy triple-post, batman!

EDIT: Woah, even quadruple? And ninja'd

Also nice to hear.
Title: Re: nFighter - The Fourth Lua Game for Nspire V2
Post by: ingalls on April 29, 2011, 06:54:34 pm
I'm proud to release the next version of nFighter.
This version includes:
~Animated Death Screen
~Shield Crates (Explained in the readme)
~Remapped keys so one can play on touch/clickpad or by using the num pad
~If playing with the num pad one can go diagonally

And most notably:
All of the crates are now animated!
They will be generated on the left side of the screen and then slowly drift to the right!
Title: Re: nFighter - The Fourth Lua Game for Nspire
Post by: DJ Omnimaga on April 29, 2011, 07:16:44 pm
Awesome! Glad to see new progress on this. :)

EDIT: Wow that dying animation with the TV-like static is awesome! O.O
Title: Re: nFighter - The Fourth Lua Game for Nspire
Post by: Lionel Debroux on April 30, 2011, 01:57:03 am
Good :)
Title: Re: nFighter - The Fourth Lua Game for Nspire
Post by: ingalls on April 30, 2011, 06:21:58 am
Thanks guys :)

@DJ_O - I even made it random so it will be different everytime!