Author Topic: [C w/ Mode 7] Unknown project  (Read 17167 times)

0 Members and 2 Guests are viewing this topic.

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: [C] Unknown project
« Reply #15 on: March 26, 2014, 02:41:23 am »
Wow that looks fast! Also since that calc is 58 MHz or so, this gives you much more freedom when this will be optimized, so you could experiment with small pre-rendered sprite scaling such as trees or pipes like in Mario Kart. :D
No, it's 22 MHz, we can get to "~55" only by overclocking! :p, but yeah, I'll test adding sprites to see if that doesn't slow down the game.
Oh I thought it was the SH4 model and I thought that SH4's all ran at 58 by default like the PRIZM. Didn't the SH3 models run at 29 MHz, though, not 22? ???

Offline Eiyeron

  • Urist McEiyolobster
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1430
  • Rating: +130/-10
  • (-_(//));
    • View Profile
    • Rétro-Actif : Rétro/Prog/Blog
Re: [C] Unknown project
« Reply #16 on: March 26, 2014, 04:01:43 am »
Yeah, sorry, it's 29 MHz. I don't remember the exact frequency. But I know that's the Prizm is clocked to 58.
« Last Edit: March 26, 2014, 04:03:55 am by Eiyeron »

Offline Eiyeron

  • Urist McEiyolobster
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1430
  • Rating: +130/-10
  • (-_(//));
    • View Profile
    • Rétro-Actif : Rétro/Prog/Blog
Re: [C] Unknown project
« Reply #17 on: March 28, 2014, 04:10:05 pm »
Yay, update, and what an update!

Offline Matrefeytontias

  • Axe roxxor (kinda)
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1982
  • Rating: +310/-12
  • Axe roxxor
    • View Profile
    • RMV Pixel Engineers
Re: [C] Unknown project
« Reply #18 on: March 28, 2014, 06:19:15 pm »
Nice :D I understand you halved the resolution, right ? (you use 2*2 pixels)

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: [C] Unknown project
« Reply #19 on: March 28, 2014, 06:39:21 pm »
Hey, that looks pretty awesome Eiyeron! :D

Offline Eiyeron

  • Urist McEiyolobster
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1430
  • Rating: +130/-10
  • (-_(//));
    • View Profile
    • Rétro-Actif : Rétro/Prog/Blog
Re: [C] Unknown project
« Reply #20 on: March 29, 2014, 04:37:53 am »
Nice :D I understand you halved the resolution, right ? (you use 2*2 pixels)

Haha, I have to say no: it runs at 128*32 perfectly! I have just scaled up the screen is! :p

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: [C] Unknown project
« Reply #21 on: March 29, 2014, 12:06:20 pm »
Edit nvm I just realized the lower res was because mode 7 isn't fullscreen so my question about half-res mode doesn't apply (I can't see the screenie from this wifi hotspot). :P
« Last Edit: March 29, 2014, 12:09:34 pm by DJ Omnimaga »

Offline Eiyeron

  • Urist McEiyolobster
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1430
  • Rating: +130/-10
  • (-_(//));
    • View Profile
    • Rétro-Actif : Rétro/Prog/Blog
Re: [C] Unknown project
« Reply #22 on: March 29, 2014, 02:33:54 pm »
I changed a little bit the routine to use the whole screen and render modes.
THe current calculation calcs the distance. If the distance < 0, we're drawing a "ceiling", so what's new : You can choose to draw ceiling (z-inversed mode 7), floor (normal one), or both at the same time. I fixed too the horizon. The horizon parameter is the horizon's offset in the screen. At -32, it draws the horizon at the screen's middle (the both plans will converge to the horizon if you understand).


I'm designing a start of a tileset for testing tilemapping. I attached too a preview of the both plan mode. Obviously is slower at a ratio of 0.5. and the whole routine is slightly sowed down because the distance check.


EDIT : well, the project is getting quite clearer.
« Last Edit: March 30, 2014, 04:10:25 pm by Eiyeron »

Offline Eiyeron

  • Urist McEiyolobster
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1430
  • Rating: +130/-10
  • (-_(//));
    • View Profile
    • Rétro-Actif : Rétro/Prog/Blog
Re: [C] Unknown project
« Reply #23 on: April 02, 2014, 05:20:33 am »
Update : Go see the first post, I linked to a demo addin. Go try test 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: [C] Unknown project
« Reply #24 on: April 05, 2014, 02:49:43 am »
Awesome! As for the ceiling, to make things more realistic, if, for example, someone uses a sky background with clouds, will it be possible to make the sky scroll slower than the floor?

Offline Eiyeron

  • Urist McEiyolobster
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1430
  • Rating: +130/-10
  • (-_(//));
    • View Profile
    • Rétro-Actif : Rétro/Prog/Blog
Re: [C] Unknown project
« Reply #25 on: April 05, 2014, 06:50:15 am »
It'll need a second render, for the sky. It's a unintended effect from the routine, but I'll do something to improve it.

Offline Eiyeron

  • Urist McEiyolobster
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1430
  • Rating: +130/-10
  • (-_(//));
    • View Profile
    • Rétro-Actif : Rétro/Prog/Blog
Re: [C] Unknown project
« Reply #26 on: August 14, 2014, 09:13:00 am »
Nom.

Offline Matrefeytontias

  • Axe roxxor (kinda)
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1982
  • Rating: +310/-12
  • Axe roxxor
    • View Profile
    • RMV Pixel Engineers
Re: [C] Unknown project
« Reply #27 on: August 14, 2014, 11:15:43 am »
Wow, great progress O.O can't wait to see the final result :)

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: [C] Unknown project
« Reply #28 on: August 14, 2014, 01:00:00 pm »
I love those graphics. Will there be a background in future versions? You could make it 96x64 with an HUD on the side so that you have more room for a background by zooming the whole thing out. F-Zero or Mario Kart would definitively be great with such engine. :)

Offline Eiyeron

  • Urist McEiyolobster
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1430
  • Rating: +130/-10
  • (-_(//));
    • View Profile
    • Rétro-Actif : Rétro/Prog/Blog
Re: [C] Unknown project
« Reply #29 on: August 14, 2014, 07:35:27 pm »
Siapran is working on the graphics, don't worry about them. They are coming later! ^^