We're on Discord! Please join our server now if you don't want to miss anything! (More info) | Join the UCC4 contest! (More info)

* WalrusIRC & Discord main room

If you have a forum account, have more than 4 posts and are not part of a restricted usergroup, then you can chat in our main Discord server room directly from here and continue using the forums at the same time. Or you can join our server directly and access many more discussion rooms!

Author Topic: Mode 7 test project  (Read 2161 times)

0 Members and 1 Guest are viewing this topic.

Offline tr1p1ea

  • Full User
  • Join Date: Feb 2015
  • Location:
  • Posts: 277
  • Post Rating Ratio: +5/-1
Mode 7 test project
« on: January 03, 2018, 02:25:39 am »
For some reason I thought I had a Mode 7 topic here, but I cannot find it (If a mod finds it please merge etc)

I have been messing with Mode 7 style effects for the calcs for ages and have recently ported some code over to the CE to see how it runs. At this stage it seems to work ok, but there is a lot of room for improvement as always.

Here is a test screenshot, note that the test sprite is only 3 frames so it looks weird when turning, but it is just a test:



Note that I'm not sure if I'll actually finish anything with this as I have a terrible record for that. And if I do it wont feature any Mario Kart graphics directly, the sprites are just for testing ... Maybe I can feature a Walrii Kart?!



Offline c4ooo

  • Pedanticity prevents ambiguity
  • Super User
  • CW Contest II Winner
  • *
  • Join Date: Aug 2015
  • Location: 127.0.0.1
  • Posts: 1036
  • Post Rating Ratio: +13/-4
  • Advanced forumer
  • Gender: Male
Re: Mode 7 test project
« Reply #1 on: January 03, 2018, 02:57:41 am »
Wow,! this is awesome :D
A walrii cart game would be cool to see :)

Offline Juju

  • aka Yuki Kagayaki aka J̵̭͕͇ù̞̭̝̯̦j̴̭̙̗͖͡ù͏͓̲̕
  • CodeWalrus Staff
  • Super User
  • Server Maintenance
  • Moderator
  • Forum Maintenance
  • Original 5
  • CodeWalrus Supporter
  • *
  • Join Date: Nov 2014
  • Location: Inside a walrus
  • Posts: 3265
  • Post Rating Ratio: +39/-2
  • Couch potato
    • jul.savard
    • juju2143
    • @juju2143
    • juju2143
    • @julosoft
    • juju-kun
    • /u/juju2143
    • juju2143
    • @juju2143
    • Juju's shed
  • Gender: Female
  • WalriiPoints: 99999
Re: Mode 7 test project
« Reply #2 on: January 04, 2018, 06:32:30 pm »
That would be pretty cool indeed.
  • Calculators owned: TI-83+ (dead?), Casio Prizm (also dead???)
  • Consoles, mobile devices and vintage computers owned: A lot
Read Zarmina!
YUKI-CHAAAANNNN
In the beginning there was walrii. In the end there will be walrii. All hail our supreme leader :walrii: --Snektron

if you wanna throw money at me and/or CodeWalrus monthly it's here

Offline xlibman

  • Omni founder & CW co-founder
  • CodeWalrus Staff
  • Super User
  • Moderator
  • Forum Maintenance
  • Original 5
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 19074
  • Post Rating Ratio: +101/-5
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • DJ Omnimaga music store
  • Gender: Male
Re: Mode 7 test project
« Reply #3 on: January 04, 2018, 07:35:48 pm »
Looks very smooth tr1p1ea! I agree that a :walrii: game would be cool, especially that I had some Walrii kart sprites somewhere
  • Calculators owned: TI-84 Plus C Silver Edition, TI-84 Plus CE, Casio fx-CG10
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nintendo Switch, Playstation TV

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)

Offline 123outerme

  • Super User
  • Join Date: Jan 2015
  • Location: In spaaace! Well, the Earth is anyhow.
  • Posts: 733
  • Post Rating Ratio: +8/-0
  • Professional Unpaid Intern
    • @UCx1XQoxAm-ZTz-lwyUqbs0w
    • 123outerme
    • 113/11355
  • Gender: Male
Re: Mode 7 test project
« Reply #4 on: January 04, 2018, 07:38:04 pm »
Looks great! Did you have to compress or downscale the map at all? Would an increasing size or detail of the map lead to a slower framerate? How about adding collision? I'm really curious to see if anyone could pick this up or make some SNES port like a Mario Kart game.
  • Calculators owned: TI-84+CSE, TI-nspire Clickpad, TI-84+SE

Offline tr1p1ea

  • Full User
  • Join Date: Feb 2015
  • Location:
  • Posts: 277
  • Post Rating Ratio: +5/-1
Re: Mode 7 test project
« Reply #5 on: January 05, 2018, 06:53:43 am »
Thanks! This is just a testmap and I dont plan on using any actual SNES maps etc - all maps need to be specifically made properly - but the tracks are just 2D tilemaps. I should also note that the engine is running at half-half resolution for the track ... which is why it can look lowish quality when up close, but it's for speed.

Minor update - I was tossing up between sprite scaling at runtime or pre-sized sprites. The old speed vs size ... I really didnt like the idea of KB's and KB's of sprite data but I was a bit skeptical of runtime scaling. The results thus far are promising for scaling as shown here:



At present I can have 8 of these 24x24 sprites on screen and still maintain 32fps. Of course there is no collision detection, HUD, AI or anything which would slow things down further. I only plan on having 4 player races for speed reasons.

I also added a scrolling background as well to make things look a little more like a proper racing game:


Offline Lionel Debroux

  • Full User
  • Join Date: Jan 2015
  • Location:
  • Posts: 241
  • Post Rating Ratio: +11/-0
    • debrouxl
    • 58/5891
Re: Mode 7 test project
« Reply #6 on: January 05, 2018, 08:08:00 am »
Looks pretty nice :)
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TIEmu and TILP.
Co-admin of TI-Planet.

Offline critor

  • Full User
  • Join Date: Dec 2014
  • Location:
  • Posts: 206
  • Post Rating Ratio: +6/-0
Re: Mode 7 test project
« Reply #7 on: January 05, 2018, 08:13:54 pm »
Awesome ! :)

Offline mazhat

  • Full User
  • Join Date: Mar 2017
  • Location:
  • Posts: 195
  • Post Rating Ratio: +8/-0
  • Edelweiss. Edelweiss.
    • /u/Mazhat
    • Mazhat
    • @Mazhat
    • MOS
  • Gender: Male
Re: Mode 7 test project
« Reply #8 on: January 05, 2018, 10:32:33 pm »
You guys never stop amazing me with your abilities.

  • Calculators owned: TI-83Plus, TI-84Plus
  • Consoles, mobile devices and vintage computers owned: Samsung TAB A (Cheap), DSI, Rasperry PI 3
The Mogami River.

Offline Adriweb

  • Full User
  • CodeWalrus Supporter
  • *
  • Join Date: Jan 2015
  • Location: France & Canada
  • Posts: 433
  • Post Rating Ratio: +7/-1
    • Adriweb
    • @Adriweb
    • Adriweb
    • @UC-UIrbk5SuaUCvnV6SQvt-Q
    • /u/Adriweb
    • Adriweb
    • TI-Planet.org
  • Gender: Male
Re: Mode 7 test project
« Reply #9 on: January 06, 2018, 09:06:29 am »
Looks terrific!
  • Calculators owned: TI-Nspire CX CAS, TI-Nspire CX, TI-Nspire CAS (x3), TI-Nspire (x2), TI-Nspire CM-C CAS, TI-Nspire CAS+, TI-80, TI-82 Stats.fr, TI-82 Plus, TI-83 Plus, TI-83 Plus.fr USB, TI-84+, TI-84+ Pocket SE, TI-84+ C Silver Edition, TI-84 Plus CE, TI-89 Titanium, TI-86, TI-Voyage 200, TI-Collège Plus, TI-Collège Plus Solaire, 3 HP, some Casios
Co-founder & co-administrator of TI-Planet and Inspired-Lua

Offline Ranman

  • Full User
  • Safe-haven access
  • Join Date: Feb 2017
  • Location:
  • Posts: 78
  • Post Rating Ratio: +4/-0
  • Gender: Male
Re: Mode 7 test project
« Reply #10 on: January 07, 2018, 12:30:33 am »
Outstanding sir!!! Well done my friend.   :thumbsup:
  • Calculators owned: TI-89 HW1, TI-92+, Casio 9860G Slim, Casio fx6300, Tandy PC7
Ranman
Bringing Randy Glover's Jumpman to the TI-89 calculator. Download available at Ticalc.

Offline tr1p1ea

  • Full User
  • Join Date: Feb 2015
  • Location:
  • Posts: 277
  • Post Rating Ratio: +5/-1
Re: Mode 7 test project
« Reply #11 on: January 07, 2018, 12:33:43 pm »
Appreciate the encouragement!

After a lot of difficulty I finally got object rendering working with sufficient accuracy:



Note that I'm driving slow so I can properly look at the object as it approaches.

This was one of the harder things on the ToDo list, so I'm glad I've made progress :).

Offline xlibman

  • Omni founder & CW co-founder
  • CodeWalrus Staff
  • Super User
  • Moderator
  • Forum Maintenance
  • Original 5
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 19074
  • Post Rating Ratio: +101/-5
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • DJ Omnimaga music store
  • Gender: Male
Re: Mode 7 test project
« Reply #12 on: January 08, 2018, 03:54:41 pm »
You should keep those graphics, but with walruses in addition to Oiram. They look very cool and PICO-8-like ^^

I like the speed too
  • Calculators owned: TI-84 Plus C Silver Edition, TI-84 Plus CE, Casio fx-CG10
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nintendo Switch, Playstation TV

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)

Offline tr1p1ea

  • Full User
  • Join Date: Feb 2015
  • Location:
  • Posts: 277
  • Post Rating Ratio: +5/-1
Re: Mode 7 test project
« Reply #13 on: January 09, 2018, 04:39:15 am »
Very good observation as coincidentally I'm using the PICO-8 palette for now :).

I also added direction sprites and some other minor fixes:




Offline _iPhoenix_

  • Custom title
  • Super User
  • Join Date: Mar 2017
  • Location: Location
  • Posts: 669
  • Post Rating Ratio: +16/-1
  • ███████ ▼ ♪ Best music ♫
    • @dj_iPhoenix
    • @UCytgMNPxAMDsxjimvxHf01w
    • Legend-of-iPhoenix
    • @the-legend-of-iphoenix
    • My website.
  • Gender: Male
Re: Mode 7 test project
« Reply #14 on: January 09, 2018, 11:26:58 am »
I actually think you should make a 3d mario kart game. Call it “tarkoiram” :P
  • Calculators owned: Two TI-84+ CE's
Please spam here: https://legend-of-iphoenix.github.io/spam/

"walruses are better than tuxedo chickens, all hail the great :walrii:" ~ me
Evolution of my avatar:

 


You can also use the following HTML or bulletin board code to share it on your page or forum signature!


Also do not forget to check our affiliates below.
Planet Casio TI-Planet Calc.news BroniesQC BosaikNet Velocity Games