Author Topic: nFighter - The Fourth Lua Game for Nspire  (Read 11276 times)

0 Members and 1 Guest are viewing this topic.

Offline ingalls

  • LV3 Member (Next: 100)
  • ***
  • Posts: 49
  • Rating: +4/-0
  • :)
    • View Profile
nFighter - The Fourth Lua Game for Nspire
« 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


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
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.
« Last Edit: April 29, 2011, 06:51:50 pm by ingalls »

Offline ingalls

  • LV3 Member (Next: 100)
  • ***
  • Posts: 49
  • Rating: +4/-0
  • :)
    • View Profile
Re: nFighter - The Fourth Lua Game in the World!
« Reply #1 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.


Ashbad

  • Guest
Re: nFighter - The Fourth Lua Game in the World!
« Reply #2 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

Offline ruler501

  • Meep
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2475
  • Rating: +66/-9
  • Crazy Programmer
    • View Profile
Re: nFighter - The Fourth Lua Game in the World!
« Reply #3 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...
I currently don't do much, but I am a developer for a game you should totally try out called AssaultCube Reloaded download here https://assaultcuber.codeplex.com/
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/CS/M/S d- s++: a---- C++ UL++ P+ L++ E---- W++ N o? K- w-- o? !M V?
PS+ PE+ Y+ PGP++ t 5? X R tv-- b+++ DI+ D+ G++ e- h! !r y

Offline ingalls

  • LV3 Member (Next: 100)
  • ***
  • Posts: 49
  • Rating: +4/-0
  • :)
    • View Profile
Re: nFighter - The Fourth Lua Game in the World!
« Reply #4 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?

Offline ruler501

  • Meep
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2475
  • Rating: +66/-9
  • Crazy Programmer
    • View Profile
Re: nFighter - The Fourth Lua Game in the World!
« Reply #5 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).
I currently don't do much, but I am a developer for a game you should totally try out called AssaultCube Reloaded download here https://assaultcuber.codeplex.com/
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/CS/M/S d- s++: a---- C++ UL++ P+ L++ E---- W++ N o? K- w-- o? !M V?
PS+ PE+ Y+ PGP++ t 5? X R tv-- b+++ DI+ D+ G++ e- h! !r y

Offline ingalls

  • LV3 Member (Next: 100)
  • ***
  • Posts: 49
  • Rating: +4/-0
  • :)
    • View Profile
Re: nFighter - The Fourth Lua Game for Nspire
« Reply #6 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!

Offline ingalls

  • LV3 Member (Next: 100)
  • ***
  • Posts: 49
  • Rating: +4/-0
  • :)
    • View Profile
Re: nFighter - The Fourth Lua Game for Nspire
« Reply #7 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.

Offline yunhua98

  • You won't this read sentence right.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2718
  • Rating: +214/-12
  • Go take a dive in the River Lethe.
    • View Profile
Re: nFighter - The Fourth Lua Game for Nspire
« Reply #8 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!  ;)

Spoiler For =====My Projects=====:
Minor setback due to code messing up.  On hold for Contest.
<hr>
On hold for Contest.


Spoiler For ===Staff Memberships===:






Have you seen any good news-worthy programs/events?  If so, PM me with an article to be included in the next issue of CGPN!
The Game is only a demo, the code that allows one to win hasn't been done.
To paraphrase Oedipus, Hamlet, Lear, and all those guys, "I wish I had known this some time ago."
Signature Last Updated: 12/26/11
<hr>

Offline apcalc

  • The Game
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1393
  • Rating: +120/-2
  • VGhlIEdhbWUh (Base 64 :))
    • View Profile
Re: nFighter - The Fourth Lua Game for Nspire
« Reply #9 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? :)


Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: nFighter - The Fourth Lua Game for Nspire
« Reply #10 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.

Offline Goplat

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 289
  • Rating: +82/-0
    • View Profile
Re: nFighter - The Fourth Lua Game for Nspire
« Reply #11 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)
Numquam te deseram; numquam te deficiam; numquam circa curram et te desolabo
Numquam te plorare faciam; numquam valedicam; numquam mendacium dicam et te vulnerabo

Offline ingalls

  • LV3 Member (Next: 100)
  • ***
  • Posts: 49
  • Rating: +4/-0
  • :)
    • View Profile
Re: nFighter - The Fourth Lua Game for Nspire
« Reply #12 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

Offline ingalls

  • LV3 Member (Next: 100)
  • ***
  • Posts: 49
  • Rating: +4/-0
  • :)
    • View Profile
Re: nFighter - The Fourth Lua Game for Nspire
« Reply #13 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

Offline ingalls

  • LV3 Member (Next: 100)
  • ***
  • Posts: 49
  • Rating: +4/-0
  • :)
    • View Profile
Re: nFighter - The Fourth Lua Game for Nspire
« Reply #14 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 :)
« Last Edit: April 23, 2011, 07:13:53 am by ingalls »