Page 1 of 2

Corrida Nebososa 2

Posted: Sun Feb 06, 2022 5:43 pm
by Kilo
Hey guys,

At the moment I am working on a 2nd part of the legendary racing game.
Basically the graphics and the engine remains the same.
However, I have put the selection of the number of players in the options menu and in the main menu you can now choose between "Single Race" and "Championship".

Championship consists of 10 races of 9 laps each. After each race a score screen appears. You get 1 point for each race you win.

This is already fun. But I am not finished yet. Because imagine, you drive a championship season not against 1 opponent, but against 5. So I will still add the one or other opponents.

Of course with cutbacks due to space problems. A few things will probably fly out like the credit screen, the horn function, etc.
uzem_000.jpg
uzem_000.jpg (39.04 KiB) Viewed 4314 times

Re: Corrida Nebososa 2

Posted: Mon Feb 07, 2022 3:49 pm
by Kilo
Argh... got some problems, adding a third car. The sprite starts flickering the most time.
Don't know why, there are only 3 sprites at all. :cry:

Can't find the issue. It must be possible. Anyway. Ahh

Re: Corrida Nebososa 2

Posted: Tue Feb 08, 2022 5:30 pm
by Kilo
Ok,
I dismissed the idea of ​​multiple opponents for now.
But I've already uploaded a new version. Now you can drive a whole season and collect points.

http://uzebox.org/wiki/Corrida_Nebososa_2

Re: Corrida Nebososa 2

Posted: Tue Feb 08, 2022 7:51 pm
by D3thAdd3r
Hey good to see someone working on a game.

I bet your flickering and sprite issues are related to the makefille settings for sprites and ram tiles. See:

Code: Select all

KERNEL_OPTIONS += -DMAX_SPRITES=2 -DRAM_TILES_COUNT=8
I don't know what the ram budget is, but I would frequently push 30+ sprites and 35+ ram tiles in games. Try increasing those numbers, and rebuild and you should be able to make the flickering go away.

I will check out your progress when I get a chance.

Edit- I would also check out some other options, see this example from Zooming Secretary to use some of the newer features that came out after CN

Code: Select all

KERNEL_OPTIONS  = -DINTRO_LOGO=0 -DTRUE_RANDOM_GEN=1
KERNEL_OPTIONS += -DSOUND_MIXER=1 -DSOUND_CHANNEL_5_ENABLE=1
KERNEL_OPTIONS += -DVIDEO_MODE=3 -DSCREEN_TILES_V=25 -DFIRST_RENDER_LINE=36 -DMAX_SPRITES=24 -DRAM_TILES_COUNT=37 -DTRANSLUCENT_COLOR=0xC7
KERNEL_OPTIONS += -DRESOLUTION_EXT=1 -DVRAM_TILES_H=32

Re: Corrida Nebososa 2

Posted: Tue Feb 08, 2022 8:47 pm
by Kilo
Hey...
Ah thank you! Yes I could try this. But I'm very very low of flash.
For now I am happy with the new version of the game and the championship mode. I will try to get some more enemies in the future.

Re: Corrida Nebososa 2

Posted: Fri Feb 11, 2022 12:14 am
by uze6666
A game update, nice! :) Lee's solution looks like the fix you need and it does not cost any flash.

Re: Corrida Nebososa 2

Posted: Fri Feb 11, 2022 8:55 am
by Kilo
yepp I will try it. Maybe for a Corrida Nebososa 3 :lol:

At the moment I have reworked the 2nd part of the game, removed a few bugs and made the wiki entry.
Through all the testing I got better and better and could even beat the opponent in the HARD level all the time. Damn. The game then became too easy for me. So I had to adjust the difficulty levels a bit. :lol:

Right now the game is pretty damn fun as it is with the season and the points.

About the other opponents I make me the days times thought.

Re: Corrida Nebososa 2

Posted: Fri Feb 11, 2022 1:51 pm
by Kilo
So, the changes on the Makefile worked.
It was possible to add a third car. Buuuut, gameplay is slowing down especially when the cars enter the turns. Argh...

So for now I will stay on the "normal" version.
Btw, I have to re-program the ending of the champion season because of accidently overwriting some part of my code in AVR studio. Daaaaaamn.

Re: Corrida Nebososa 2

Posted: Tue Feb 15, 2022 10:02 pm
by uze6666
Can you post a link to the sources please (ideally as a Github repo) ?

Re: Corrida Nebososa 2

Posted: Wed Feb 16, 2022 7:39 pm
by Kilo
Hey Uze,
I guess you used the "old" mainscreen picture of CN2 on your page.
Also the Championship mode changed. The wiki entry is the current state.

Ehm, could I send you the sources via email? I never used Git in the past. :?