Author Topic: Snake TI84+C  (Read 8832 times)

0 Members and 1 Guest are viewing this topic.

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: Snake TI84+C
« Reply #15 on: September 30, 2013, 07:04:06 am »
that speed O.O

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: Snake TI84+C
« Reply #16 on: September 30, 2013, 12:22:43 pm »
That ^ *.*

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: Snake TI84+C
« Reply #17 on: September 30, 2013, 03:13:58 pm »
DJ: Maybe....

Runer112: I disable the base image while drawing so the user doesn't see it, the speeds you mention sound pretty accurate for normal drawing :(
Is it in 320 mode, though? If we can disable the screen content while drawing by turning the screen white or black, it might be an handy feature for xLIB.

Offline AssemblyBandit

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 374
  • Rating: +60/-1
  • ~AssemblyBandit~
    • View Profile
    • briandm82.com
Re: Snake TI84+C
« Reply #18 on: September 30, 2013, 04:20:42 pm »
Yeah, Snake is 320x240. For 160 mode you normally disable the base image and enable partial image 0 and 1. The only color you get though is white. Remember in Buttonz how I turned off the backlight to make it 'black'? Unfortunately, that resets the contrast, so you would have to save and restore it. IViewer does the same thing so that users cant see the image loading, it would be nice if I could write some text to it!

Offline AssemblyBandit

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 374
  • Rating: +60/-1
  • ~AssemblyBandit~
    • View Profile
    • briandm82.com
Re: Snake TI84+C
« Reply #19 on: October 03, 2013, 08:43:36 pm »
Project complete.

I've uploaded the game to ticalc.org and added the download in Omnimaga, heres a video of it. Now to finish Pacman and start Scarface.

« Last Edit: October 03, 2013, 10:33:39 pm by AssemblyBandit »

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: Snake TI84+C
« Reply #20 on: October 04, 2013, 01:49:30 am »
So awesome :o
« Last Edit: October 04, 2013, 01:49:40 am by Sorunome »

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

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: Snake TI84+C
« Reply #21 on: October 05, 2013, 04:44:14 pm »
I downloaded this but didn't have time to try it because I am pretty sick (I slept through most of it), but I might do so later. :)

Offline AssemblyBandit

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 374
  • Rating: +60/-1
  • ~AssemblyBandit~
    • View Profile
    • briandm82.com
Re: Snake TI84+C
« Reply #22 on: October 05, 2013, 05:51:12 pm »
Even though its a simple game, overall I'm proud of it. It's pretty hard at the later levels and I haven't beat level 10 yet! Graphically, its nice, there probably aren't going to be too many games that use 16bit images at full resolution. Not one byte is left to add anything. I had to remove 3 textures and optimize it for size to get all the necessary stuff in. The title itself is pretty small and it has a bug. I wrote the wrong length of the image in the drawing routine but it looked better than the normal image, so I kept it in! Originally you got a point for every time you moved. To keep players from looping infinitely collecting those points, I had planned to add in a hawk that appeared after a while and follow the player around to keep them dodging and moving. It would be nice to dim and set the screen to low color on pause, but there just wasn't any room, so I left it out. After Pacman, I will probably start doing multi-page games. 16k isn't enough for me :)

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: Snake TI84+C
« Reply #23 on: October 05, 2013, 05:53:11 pm »
wha, that sounds like you surley used your space well! :D

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline AssemblyBandit

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 374
  • Rating: +60/-1
  • ~AssemblyBandit~
    • View Profile
    • briandm82.com
Re: Snake TI84+C
« Reply #24 on: October 06, 2013, 08:38:58 pm »
When I start off I code more towards speed and then towards the end if necessary, I'll go back and optimize for speed. There is still a few things I could do like move routines around so jr works everywhere. I think that is probably my biggest code space saver, because I always use jp. Optimizing code doesn't really free up that much space though, I'd say about 100-200 bytes. It's good enough to fit in a small feature, but when I need lots of space, I can remove graphics, which I hate doing! The graphics are what this calc is good at. Oh, and from mockup to finish, it only took me about 10 days! Not too bad!
« Last Edit: October 06, 2013, 08:39:23 pm by AssemblyBandit »

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: Snake TI84+C
« Reply #25 on: October 06, 2013, 11:21:23 pm »
I just tried this and this is really great! I like the features. However how did you manage to get 2500+ points?? O.O

Offline AssemblyBandit

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 374
  • Rating: +60/-1
  • ~AssemblyBandit~
    • View Profile
    • briandm82.com
Re: Snake TI84+C
« Reply #26 on: October 06, 2013, 11:34:00 pm »
Thanks DJ! Start from level 0 and every time a bug shows up eat as many spiders as you can! They're worth 50 points and can rack up points faster than eating the mice and frogs.

*Going to play it right now!
« Last Edit: October 06, 2013, 11:35:09 pm by AssemblyBandit »

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: Snake TI84+C
« Reply #27 on: October 07, 2013, 12:09:58 pm »
One suggestion I have would be to make the game so that when you lose a life, your score doesn't reset back to zero. It kinda sucks if I have an amazing run, only to see the score of my last remaining life be saved. D:

Also speed modes would be cool.

Offline AssemblyBandit

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 374
  • Rating: +60/-1
  • ~AssemblyBandit~
    • View Profile
    • briandm82.com
Re: Snake TI84+C
« Reply #28 on: October 07, 2013, 04:39:36 pm »
That will definitely be changed! Its enough to lose a life not lose the points too! And its hard enough just to get through the level alone, and when you're doing really good, thats when you die! I will probably remove the skip level, and add options for length and speed.

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: Snake TI84+C
« Reply #29 on: October 07, 2013, 10:39:50 pm »
Actually after posting that last comment, I just realized that we could already finish levels. I thought we couldn't at first because they were so long lol. XD