Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

The "four colours only" rant Sticky

A topic by Polyducks created Sep 04, 2022 Views: 896 Replies: 19
Viewing posts 1 to 7
Jam HostSubmitted(+8)

This is a popular fixture of the GBJAM - please enjoy it in its fullest form here.

You can only have four colours on the screen at once. Black is a colour. The four colours include all shades, all tones, all hues. Gameboy does not support semi-opacity. The four colours apply to the whole screen, including sprites. You cannot have one four colour palette for your background and another for sprites. This jam does not allow for a fifth experimental colour like 'default screen background'. Four is the total amount of colours you are allowed. You may use three or two. Five is right out.

The four colours you choose do not have to be the default palette you've found on Wikipedia. Lospec.com has loads of four colour palettes you could try. You can even make your own.

You can change your palette mid-game so long as the new palette is four colours. You cannot change your colours mid-scan-line or any other sneaky trickery. If you have more than four colours on the screen at any one time it is not obeying the rules.

Yes, the gameboy had three colours plus transparency on sprites. No, this is not a restriction you need to obey in your competition entry.

You can change the palette with a light switch or when it's night time so long as there are only four colours on the screen at one time. Are there four colours on the screen? Yes? Congratulations, you abide by the rules. Are there five colours? Do two of the colours blend with opacity to make a new colour? Wow buddy, looks like you're in more than four colour territory!

Do you quickly flip the palettes to make an extra colour? Does it have an extra colour on the screen? Welcome to five coloursville friendo, population: you. If you want to argue how your five colours are special, do it in your game jam submission. I'm sure the reviewers (your fellow game jammers) will understand... 馃憖

If your next question starts with "but what if" the answer is no. No, you can't do your special idea. It breaks the rules.

"Can I use shaders?" Does your game have four colours? Is the resolution 160x144? Does your game art adhere to the spirit of the jam - i.e. does it look and feel like it's on a gameboy? Yes? Go ahead.

"But-"

 Then no.
  
 'Four colours maximum' means 'four unique colours'. A colour is a unit measured by its unique properties such as hue, saturation and value (or whatever other colour system you subscribe to). You could have red, blue, green and yellow on your screen, but 'a slightly darker shade of red' would count as a new colour. You could not have fifty shades of blue and argue that you're only using 'one colour'.

What about using a transparency effect to represent sprite flickering (of course it could only be 50%) but is that allowed? So like I'm very positive that sprites can flicker in the GameBoy, like the NES. Would doing this flickering trick be counted as more than four colors?

Jam HostSubmitted (1 edit) (+3)
Do two of the colours blend with opacity to make a new colour? Wow buddy, looks like you're in more than four colour territory!

This is covered in the four colour rant.

That said, Gameboy games would try to avoid this flickering as best as possible as it indicates the sprite limit is exceeded (eight* sprites per scanline) - even when it did flicker it would only show one sprite or the other, or sections of a scanline - but never a transparency. There's a hazy line between "the game has four colours" and "the final render has more than four colours" - use your best judgement here, but be aware that people who are rating the games will be using their own best judgement.

*Ten sprites per scanline

(+1)(-2)

alright the palette rules seem really weird and arbitrary, and first of all are we speaking DMG flicker or MGB flicker? the DMG LCD was "smeary", mixing the last frame with the current, which with clever use of flicker would display as a 5th, 6th, 7th, or even 10th unique color.  the MGB doesnt blend as much

> Gameboy games would try to avoid this flickering as best as possible as it indicates the sprite limit is exceeded (eight sprites per scanline)

game boy games do not "avoid" it in any way shape or form, sprite shuffling* is done at all times as there is no* way to tell when the sprite limit is hit
sometimes flicker is intentional, but im too lazy to look for the point in a 4 hour video of links awakening where you show the ghost thier house. maybe you should play the game and see it for yourself :3

> (eight sprites per scanline)
GB has 10 sprites per scanline, the SMS and NES have 8.

> palette can be changed

thats a feature of the super game boy, shouldnt this also mean SGB borders should be allowed? and why only one palette? SGB compatibile could have 4 at once split into 8x8 nonscrolling regions

*the sprite priority is rotated each frame, as flicker is not a hardware feature, the hardware just doesnt render sprites past the 10th

*there is, prehistorik man does it

believe it or not but i know what im talking about, and if you dont believe, or wanna know how i know, check out https://gbdev.io, especially pandocs.

cheers!

Jam HostSubmitted(+2)

>the palette rules seem really weird and arbitrary

Yes. Welcome to GBJam.

Jam HostSubmitted (3 edits) (+1)

* Gameboy games do try to avoid the sprite flicker by trying not to overload the scanlines with more sprites than possible
* Some games utilise the sprite flicker
* Hardware blending and other tricks do not apply to the GBjam and we are not interested in explaining the subtleties of what is or isn't applicable for the competition.
* Render interrupt introduces more than four colours to the screen. The gameboy colour has more than four colours. Fingerpainting on the screen introduces more than four colours.
* Games made for GBJam have to display four colours on the screen at a resolution of 160x144 with the same limitations for input as the gameboy.
* SGB borders can be shown
* You are correct, it's ten sprites per scan line. I had forgotten.

The jam rules are as arbitrary as 1bit jam. Please accept this.

The GBJam is for all users at all levels of skill, and as such is very simplified. If you would like a more challenging jam, seek out Gameboy Compo when it returns.

(-1)

>Gameboy games do try to avoid the sprite flicker
i guess it depends on the game, usually theres not enough sprites to hit the limit
>[...]we are not interested in explaining the subtleties of what is or isn't applicable for the competition.

sounds reasonable to me

>Render interrupt introduces more than four colours to the screen.
(raster/STAT/LYC/scanline interrupt, first time hearing render interrupt, unless you mean vblank)

not really, the PPU still has the hardware limitation of 4, SGB is just post processing, and GBC isnt an "original" gameboy

>SGB borders can be shown

thats nice

>The jam rules are as arbitrary as 1bit jam. Please accept this.

i can accept that, i was just looking for anwsers as to why theyre so arbitrary

>If you would like a more challenging jam, seek out Gameboy Compo when it returns.

i have yet to finish a game in the first place, and the next compo is 2023, so no thanks

thanks for the quick reply, and have a nice day

Jam HostSubmitted

This is why it's important not to bog yourself down in details of technical implications. The jam is open and vague enough so that anyone can make a game using any tools available to them without worrying about technical specifications.

I hope you enter this year or next and give a go at making a simple game!

(-1)

> This is why it's important not to bog yourself down in details of technical implications.

thats kind of how i manage scope, especially since i really want to develop gameboy homebrew.

>[...]anyone can make a game using any tools available to them[...]

as of right now the tools available to me are :

- RGBDS, which is literally a gameboy assembler (even then my main issue is chasing meaningless cycles (overoptimizing))

- Godot, which i simply dont understand, and refuse to understand

>I hope you enter this year or next and give a go at making a simple game!

by the time 2023 rolls by ill forget about this. willing to bet ill forget within a week, and i doubt id be happy with 'simple'

also you replied 22 hours sooner than i expected :p

Hey i goyt a question how do i enter the game into the jam

Jam HostSubmitted

First you must enter the jam, then when the jam starts you may submit your game.

The jam hasn't started yet though, so any work you've already done is unusable.

Deleted 279 days ago
(+1)

Just want to make sure if changing the 4 color palette every full frame is allowed or not.

Jam HostSubmitted(+2)

It's allowed. If you were to do that I'd make sure you put a strobe warning on the game's description and at the start of the game.

(+2)

The changes in Palette won't be different enough to need a strobe warning, but thank you for clarifying, I look forward to the Jam!

Jam HostSubmitted(+2)

No worries! I look forward to your entry!

Submitted (1 edit)

Unexpected question: can my game have ONLY TWO colors?

Well, yes. The condition is only to have at most four colours at any point in time.

You may use three or two. Five is right out.

Is this a reference to Monty Python and the Holy Grail, by any chance?

Submitted(+1)

Why is it such a hard concept to grasp