Springin'.

Posted by Charlie Carlo on April 10, 2014, 2:32 p.m.

This band is my spirit animal.

Anyways haven't blooged in a while I figured I should update you on this abomination I'm scrambling together for the contest I learned existed a few days ago.

Let it be known that Taizen and I are now too lazy to get proper screenshots and will be shoving puushes in your face until that site fails.

The working title is Inspectre. This game is gonna be like a spooky collectathon/point-and-click adventure with only 8 colors.

Making a lighting engine for a restricted color palette is fun. I ended up making two sets of assets, one darker than the regular set. What I do is draw the screen to 3 different surfaces at once, one entirely black (well it's like dark blurple), one dim and one at full light, and then I mask the surfaces and shove them on top of eachother.

I'll post more things when more things exist.

Comments

Toast 10 years, 7 months ago

It's a cool effect, couldn't you do it with those new fangled blend modes game maker has? Removes the need for two sets of the same sprites

Charlie Carlo 10 years, 7 months ago

Quote:
couldn't you do it with those new fangled blend modes game maker has?
Not if I wanted to retain the color palette, no. Or at least, I have no idea how I would do that.

Castypher 10 years, 7 months ago

If you use a single-color overlay, you should be able to retain a palette even when using blend modes. They'll only give you glowy effects if you stack them.

Something or other about messing with the source and destination modes, though at that point I'd think that your current method would be simpler.

EDIT: Your palette is a little more complex than I thought. Ignore me.

Toast 10 years, 7 months ago

It's simpler to auto-colour sprites than to manually colour every sprite twice and draw them twice, especially in game maker where you can't group such things into objects

The point of the blending is changing one particular colour to another particular colour so I thought it would basically let you change sprite palettes dynamically. But not sure.

Charlie Carlo 10 years, 7 months ago

No there's no way to change the sprite palettes with blend modes other than what I've done here. Blending in GM is just different ways of applying a color to another color, and that would require more effort than its worth to achieve this effect.

Toast 10 years, 7 months ago

I'm getting my terms mixed up, game maker's new SHADERS should let you do palette swaps, not blends.

proof:

http://gmc.yoyogames.com/index.php?showtopic=587773

Haven't used them myself though

Charlie Carlo 10 years, 7 months ago

That is seriously bitchin'.

However I don't believe that's a feature of GM7, which is what I use.

Castypher 10 years, 7 months ago

I've been avoiding GMS like the plague and after seeing that, I don't think I can anymore.

Sadly I really don't develop in GM as much as I used to, but it might be nice for the days when I just want to crank something out.

LoonOfNature 10 years, 7 months ago

The little creepers in your banner, seem to be dancing with the music, breeding a new form of terror.

Also you should have doors that are just cardboard panels on the wall. It would go well with that examine text.