Author Topic: My Nspire contest entry - nZombie - a zombie FPS game  (Read 16994 times)

0 Members and 1 Guest are viewing this topic.

Offline fb39ca4

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1749
  • Rating: +60/-3
    • View Profile
Re: My Nspire contest entry - Zombie FPS game
« Reply #15 on: July 09, 2011, 11:20:04 pm »
Still, I wouldn't find it acceptable for a program I use to crash my calc, and I'm sure points would be deducted if it happened in the final version.

Offline pianoman

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 426
  • Rating: +24/-0
  • ♪♫ ♪♫ ♪♫ ♪♫ ♪♫ ♪♫ ♪♫
    • View Profile
Re: My Nspire contest entry - Zombie FPS game
« Reply #16 on: July 26, 2011, 12:32:13 pm »
How's this going?

Offline fb39ca4

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1749
  • Rating: +60/-3
    • View Profile
Re: My Nspire contest entry - Zombie FPS game
« Reply #17 on: July 27, 2011, 05:03:20 pm »
I was out of state last week and I haven't done anything since I got back. I was actually going to start working on it again after I check out the new posts on omni.

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: My Nspire contest entry - Zombie FPS game
« Reply #18 on: July 29, 2011, 02:12:32 pm »
I was out of state last week and I haven't done anything since I got back. I was actually going to start working on it again after I check out the new posts on omni.

If you're still participating, please go here and tell us that you will, so we know how many entries there'll be.

Offline fb39ca4

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1749
  • Rating: +60/-3
    • View Profile
Re: My Nspire contest entry - Zombie FPS game
« Reply #19 on: August 06, 2011, 06:31:37 pm »
I am still making progress on this, I am trying to fix those graphical glitches I had earlier, but it isn't really working:

Offline fb39ca4

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1749
  • Rating: +60/-3
    • View Profile
Re: My Nspire contest entry - Zombie FPS game
« Reply #20 on: August 06, 2011, 10:23:46 pm »
Yay, I fixed those issues, it turns out I had mixed up some variable names. :banghead:
I'm going to add textures tonight.

Offline fb39ca4

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1749
  • Rating: +60/-3
    • View Profile
Re: My Nspire contest entry - Zombie FPS game
« Reply #21 on: August 07, 2011, 08:32:02 pm »
Textures didn't quite work out, but I did almost get sprites working. The problem is, they move up and down when I turn the camera :P
EDIT: I fixed that, it turns out I had a typo so the onscreen x coordinate of the sprite was being used for both the x and the y coordinates when I actually went and drew the sprite. Also, sprite clipping used to not work, if a sprite went partially off the top or left edge of the screen, it used to start drawing from the upper left corner, instead of from the middle like it should. But that is now fixed.
« Last Edit: August 07, 2011, 11:17:22 pm by t0xic_kitt3n »

Offline fb39ca4

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1749
  • Rating: +60/-3
    • View Profile
Re: My Nspire contest entry - Zombie FPS game
« Reply #22 on: August 08, 2011, 01:39:19 am »
Here's multiple sprites! I still need to get a proper z buffer system though Z buffering is too slow when a sprite is right in front of you, so I'm going to have to sort the sprites back to front, the only reason those were drawn correctly was that they happened to be drawn back to front because of the order they were defined in.
« Last Edit: August 08, 2011, 01:53:23 am by t0xic_kitt3n »

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: My Nspire contest entry - Zombie FPS game
« Reply #23 on: August 08, 2011, 04:39:27 am »
Nice Toxic ^^

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: My Nspire contest entry - Zombie FPS game
« Reply #24 on: August 08, 2011, 05:08:04 am »
Are you using NCaster as a base?

Looking good so far, but don't forget you have to work quick to get enemies, otherwise it's just a raycasting engine ;)
« Last Edit: August 08, 2011, 06:14:53 am by ephan »

Offline fb39ca4

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1749
  • Rating: +60/-3
    • View Profile
Re: My Nspire contest entry - Zombie FPS game
« Reply #25 on: August 08, 2011, 11:57:25 am »
I'm using this tutorial as a base, adding optimization and improvements as I need. Now that I have multiple sprites, I just need to give them velocity vectors and update the position accordingly, and then the AI will periodically update the vectors, and spawn new zombies. Shooting will be a simple hitscan that is calculated when the sprites are rendered.

EDIT: Moving sprites is working!
« Last Edit: August 08, 2011, 01:06:12 pm by t0xic_kitt3n »

Offline fb39ca4

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1749
  • Rating: +60/-3
    • View Profile
Re: My Nspire contest entry - Zombie FPS game
« Reply #26 on: August 08, 2011, 02:39:44 pm »
Shotgun! :w00t:

Offline pianoman

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 426
  • Rating: +24/-0
  • ♪♫ ♪♫ ♪♫ ♪♫ ♪♫ ♪♫ ♪♫
    • View Profile
Re: My Nspire contest entry - Zombie FPS game
« Reply #27 on: August 08, 2011, 02:43:00 pm »
Oh my god that is awesome!
Is this for ndless?

Offline fb39ca4

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1749
  • Rating: +60/-3
    • View Profile
Re: My Nspire contest entry - Zombie FPS game
« Reply #28 on: August 08, 2011, 02:44:55 pm »
Yes. Oh, and don't pay attention to the garbled area on the bottom of the screen. It was like that when the screenbuffer got allocated, and I haven't drawn over it, it is going to be where the HUD is.

Offline shmibs

  • しらす丼
  • Administrator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2132
  • Rating: +281/-3
  • try to be ok, ok?
    • View Profile
    • shmibbles.me
Re: My Nspire contest entry - Zombie FPS game
« Reply #29 on: August 08, 2011, 02:47:50 pm »
fantastic! where are you getting your gun sprites from?