Corrida Nebososa 2

Use this forum to share and discuss Uzebox games and demos.
User avatar
Kilo
Posts: 330
Joined: Wed Dec 19, 2012 3:43 pm
Location: AC, Germany

Corrida Nebososa 2

Post 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 4276 times
The last digit of Pi is 7! I calculated this, as I counted to infinity yesterday!
User avatar
Kilo
Posts: 330
Joined: Wed Dec 19, 2012 3:43 pm
Location: AC, Germany

Re: Corrida Nebososa 2

Post 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
The last digit of Pi is 7! I calculated this, as I counted to infinity yesterday!
User avatar
Kilo
Posts: 330
Joined: Wed Dec 19, 2012 3:43 pm
Location: AC, Germany

Re: Corrida Nebososa 2

Post 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
Attachments
cn2.uze
(57.48 KiB) Downloaded 227 times
The last digit of Pi is 7! I calculated this, as I counted to infinity yesterday!
User avatar
D3thAdd3r
Posts: 3221
Joined: Wed Apr 29, 2009 10:00 am
Location: Minneapolis, United States

Re: Corrida Nebososa 2

Post 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
User avatar
Kilo
Posts: 330
Joined: Wed Dec 19, 2012 3:43 pm
Location: AC, Germany

Re: Corrida Nebososa 2

Post 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.
The last digit of Pi is 7! I calculated this, as I counted to infinity yesterday!
User avatar
uze6666
Site Admin
Posts: 4801
Joined: Tue Aug 12, 2008 9:13 pm
Location: Montreal, Canada
Contact:

Re: Corrida Nebososa 2

Post by uze6666 »

A game update, nice! :) Lee's solution looks like the fix you need and it does not cost any flash.
User avatar
Kilo
Posts: 330
Joined: Wed Dec 19, 2012 3:43 pm
Location: AC, Germany

Re: Corrida Nebososa 2

Post 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.
The last digit of Pi is 7! I calculated this, as I counted to infinity yesterday!
User avatar
Kilo
Posts: 330
Joined: Wed Dec 19, 2012 3:43 pm
Location: AC, Germany

Re: Corrida Nebososa 2

Post 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.
The last digit of Pi is 7! I calculated this, as I counted to infinity yesterday!
User avatar
uze6666
Site Admin
Posts: 4801
Joined: Tue Aug 12, 2008 9:13 pm
Location: Montreal, Canada
Contact:

Re: Corrida Nebososa 2

Post by uze6666 »

Can you post a link to the sources please (ideally as a Github repo) ?
User avatar
Kilo
Posts: 330
Joined: Wed Dec 19, 2012 3:43 pm
Location: AC, Germany

Re: Corrida Nebososa 2

Post 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. :?
The last digit of Pi is 7! I calculated this, as I counted to infinity yesterday!
Post Reply