Loading...
154
3 years ago

Got lights working in 2d it is pretty easy because we just use Pythagorean theorem.

((light x - object x) * (light x - object x) + (light y - object y) * (light y - object y))

Hopefully i will code light with colors ;)




14 comments

Loading...

Next up

Redoing my 3d scratch engine completely.

Working on my game, doesn't have a name yet. It is being made in scratch, a kids programming language. How does it look for now?

Just revealing this for my physics engine, I made this in 3 days. It is going great so far, it is far more optimized than coding complicated stuff in engine, because it is being done without one block, not 2 not 10, just one block.

Our 2024 Advent Calendar has opened! Day 28: @Silentfaith is a great Creator and comic artist who also codes fan games! Accept the quest and give them a follow to get Coins and a seasonal sticker!

Guerilla wars is coming with another horror game in bundle. Guess what's in next game.

Btw it is 3D game made in scratch, a kids coding language

Happy #WIPWednesday!

Are you working on a game?

Making some art?

Practicing a song?

Something else?

Tell us in the comments!

Started tracing weapons for my game.

My game has changed a lot.

It is made in my engine using scratch, a kids programming language.

Happy #WIPWednesday!

Are you working on a game?

Making some art?

Practicing a song?

Something else?

Tell us in the comments!

I added fast textured triangles, this scene has like 4 triangles, this would work in 15 fps with rasterization, but with stamps, it works in like 29-30fps.