Author Topic: TI84+C Bundle  (Read 20212 times)

0 Members and 1 Guest are viewing this topic.

Offline AssemblyBandit

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 374
  • Rating: +60/-1
  • ~AssemblyBandit~
    • View Profile
    • briandm82.com
TI84+C Bundle
« on: August 15, 2013, 05:05:46 pm »
I've decided to bundle Tunnel with 2 other games. A demo video on Tunnel (thanks to Hayleia) will be released as soon as I fix a line routine . One other game will be Frogger and the other (oldschool) game will not be mentioned until I put out the demo and I'm confident that it can run at a decent speed and fit with the other 2.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55941
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: TI84+C Bundle
« Reply #1 on: August 15, 2013, 10:52:00 pm »
A Frogger game would be nice. There is already one in BASIC that is extremely popular, so you would have some serious competition, but a brand new one with actual sprites (maybe inspired from the SNES Frogger?) and color would definitively be great.

As for the other game besides the Tunnel, is it a DOOM port? :trollface:

Offline AssemblyBandit

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 374
  • Rating: +60/-1
  • ~AssemblyBandit~
    • View Profile
    • briandm82.com
Re: TI84+C Bundle
« Reply #2 on: August 18, 2013, 01:41:57 am »
 I paused work on Tunnel to focus on Frogger. I will have to rewrite Tunnel's random routine because now it runs faster and the old random routine can't keep up. Unfortunately Frogger can't fit in with Tunnel and they will be separate games.

DJ: I only wish that the 84+C could run a decent port of DOOM! I'm not even sure that Frogger will run at the speed I want it to. The Frogger sprites weren't inspired by the SNES version but I think they're lookin pretty good. I had made a mistake in the dimensions of my mock up with the sprites coming in at 32x32 pixels instead of the planned 16x16, right now I'm just going to go with it.

Spoiler For Spoiler:
I know I'm dreaming with this, but here's what I want it to look like:
Spoiler For Spoiler:

Offline tr1p1ea

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 647
  • Rating: +110/-0
    • View Profile
Re: TI84+C Bundle
« Reply #3 on: August 18, 2013, 06:19:57 am »
Wow looks really good :).

Mockups on the 84C are pretty fun to make, they are a good incentive to start coding imo.

Hopefully you can find the time to knock this one out pretty quickly, cant wait :).
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."


Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55941
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Re: TI84+C Bundle
« Reply #4 on: August 18, 2013, 12:06:23 pm »
Yeah it looks very nice indeed. I hope you can get good speed from it, which I assume it's hard due to how many stuff that can move around on the screen in Frogger.

Offline AssemblyBandit

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 374
  • Rating: +60/-1
  • ~AssemblyBandit~
    • View Profile
    • briandm82.com
Re: TI84+C Bundle
« Reply #5 on: August 18, 2013, 05:44:58 pm »
tr1p1ea: Thanks! I make mockups to figure out where to place stuff and get a jump on creating the graphics. Then I use IViewer converter to convert the sprites to asm files.

DJ Omnimaga: Thanks! I chose Frogger because it has a static background and that helps a lot with the speed.

I take advantage of the static background and it uses 160 mode. Also the road and water are one color so no background copying and pasting necessary for the vehicles and logs. Because the frog has to jump on logs and stuff it requires transparency and background copying to erase it. The slow part comes when he has to jump on a log, that means I have to redraw the frog constantly or copy the background where hes at and redraw it constantly as it scrolls around. I may make the road three lanes and the water 2 'lanes' to speed it up. Hopefully I'll have a demo video up by tonight.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55941
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: TI84+C Bundle
« Reply #6 on: August 18, 2013, 05:47:56 pm »
Yeah my worry was more about the many sprites moving around. That said, if everything scrolled around in the same direction, you could have used the built in scrolling support to save speed (which I assume you do in your Tunnel), but sadly in Frogger it would be impossible. Good luck!

Offline AssemblyBandit

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 374
  • Rating: +60/-1
  • ~AssemblyBandit~
    • View Profile
    • briandm82.com
Re: TI84+C Bundle
« Reply #7 on: August 18, 2013, 06:21:05 pm »
The sprite count is definitely the biggest problem and will slow it down significantly, I try not to think about it ;) I can make a small number of sprites go faster or large number go slower. I was also thinking about not letting the logs come on screen until the road was passed, then stop the vehicles. Maybe even have the road on one screen, then scroll up to water part. There is also the possibility of having the screen horizontal to take advantage of the hardware scrolling for that. But for now, I use the edges of the screen for borders so I don't have to draw any partial sprites (the sprites scroll completely off the screens sides out of view). Tunnel does use the hardware scrolling and with Hayleia's suggestion for scrolling multiple frames it helps out a lot. I scroll it at 16 pixels now (the width of the ship) which is essentially drawing the ship as an aligned sprite. Before, when the ship got to the edge of the screen, I had to draw part of it on one side and the rest on the other. That really killed its speed. For certain games that might be necessary, but Tunnel doesn't need the extra resolution. Now it scrolls so fast that the hardware scrolling itself is the bottleneck. I have to purposely slow it down so that when it scrolls, the ship sprite is drawn at the right place instead of ghosting it in front of its position.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55941
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: TI84+C Bundle
« Reply #8 on: August 18, 2013, 06:33:48 pm »
In the worst case scenario, you can always only draw every two line like if the game had scanlines, but then it would probably look weird (kinda like a Sega Game Gear or Atari Lynx screen).

By the way what might prevent the games from being bundled together? Is Frogger already 16 KB large? ???

Offline AssemblyBandit

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 374
  • Rating: +60/-1
  • ~AssemblyBandit~
    • View Profile
    • briandm82.com
Re: TI84+C Bundle
« Reply #9 on: August 18, 2013, 09:02:44 pm »
The Frogger background image is almost 7,000 bytes compressed, and every sprite is about 256 bytes, font data is over 1,000 bytes (it's not in use but will be). I can get the background down to around 2,000 bytes if I break it up. In the end, it will probably be around 8,000 to 10,000 bytes for 20 sprites and background data.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55941
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: TI84+C Bundle
« Reply #10 on: August 18, 2013, 11:40:02 pm »
Ah I see now. Data can be quite large on those color calcs >.<

Offline AssemblyBandit

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 374
  • Rating: +60/-1
  • ~AssemblyBandit~
    • View Profile
    • briandm82.com
Re: TI84+C Bundle
« Reply #11 on: August 19, 2013, 01:55:12 am »
Here's a demo video on Frogger. Right now its at 10,737 bytes.


Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: TI84+C Bundle
« Reply #12 on: August 19, 2013, 03:38:36 am »
Awesome work !
I seriously can't wait to see this come out, it looks really great and fast !
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55941
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Re: TI84+C Bundle
« Reply #13 on: August 19, 2013, 01:59:43 pm »
Darn that is fast! Can't wait to see the game in its fully functional state. :)

Offline Eiyeron

  • Urist McEiyolobster
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1430
  • Rating: +130/-10
  • (-_(//));
    • View Profile
    • Rétro-Actif : Rétro/Prog/Blog
Re: TI84+C Bundle
« Reply #14 on: August 19, 2013, 03:39:34 pm »
Oh, that's very fast. Very fast...