Space Invaders color overlay

Hello all, this is my newest post and question in 3-ish years.
I was on hiatus focusing on school, but now that i am having summer break, i started coding again

I’m making a Space Invaders replica, but i can’t seem to figure out the color overlay. You know, the actual taped(?) overlay on top of the CRT screens of Space Invaders machines?

How do i emulate that on GDevelop?

Extensions? or is it something already built in the base app?

Hello Ferid!

Can you give us more precisions or screens on what you are speaking? (i have a little idea however)

Xierra

something like this? this is the color overlay, but visible. it’s invisible in game, but the overlay makes it colorful

a few examples i can think of: the UFO is actually white, but with the color overlay, it’s red. Also, when the aliens shoot or bomb, the color of the bomb is white until it reaches the “green” part of the overlay.

I already tried making an overlay sprite and lowering its opacity, but that doesn’t seem to work, just makes the background have color. The sprites however, are still white.

Ok.
I am not competent to give a response because not confronted to this aspect but i think there will have somebody on this forum who will can.
However, i don’t think a extension is absolutely needed for that. Look at effects by example.

A+
Xierra

No i’m not looking to emulate the CRT effect

I’m looking to emulate the color overlay.

can’t you just create a layer above the base layer and create two objects - a green rectangle and a red one. overlay them, and set the opacity to about 40 percent?

didn’t work, sprites are still white

tried multiple opacity values yet still no improvement

Use a white sprite. Stretch it across the screen area you want.

Change its opacity either via the properties panel or with events.

Set the tint of the sprite using events.

That should get you the colour overlay. If it doesn’t, then please screen shot your events and object’s property panel.

Will update in a few days, not home right now.

Wait do you mean like that plastic thing they slapped on screen?

If so then MrMen already solved your problem

Update : still doesn’t work. My sprites are still kinda white.

unrelated, something in the object effects menu caught my eye.

What does the color map do?

Can you screen shot the events? And screen shot your sprite object in the editor? This is something fairly simple that should work.

I can’t screenshot the screen so i’ll try my best to describe it

overlay’s Z order is set to 1000, opacity set to 100 out of 255, no effects on the overlay sprite.

it’s a singular sprite containing the overlay, just for simplicity

Why?

I can’t rely on descriptions. I’ve come across too many who describe what they think is happening, and not seeing what is actually happening.

I’ve just done it in a test project - added a sprite, reduced the opacity and changed the tint.

i’m not describing it, i’m literally typing out the values from the events tab

i don’t know what is wrong with my computer but for some reason it won’t send images.

So upload image to some site and paste link to that image

https://imgur.com/a/0BwLudH

Hold on, might take a few minutes

is it a Windows PC? What happens if you use Snipping Tool, snip an area of the screen and then paste (CRL + V) when the cursor is in this thread’s message?


But you’re not. You’ve omitted describing the events that check the variable color variable of colorsw and then potentially change the animation of the overlay sprite. What do those animations look like?


BTW, you do not need a trigger once on a “Beginning of scene” event. By definition, the beginning of scene only happens once whenever the scene starts up.