Description

Download demo: https://drive.google.com/open?id=0B2aQ5BkGahEicm9MV21HN1VjVzQ

Forum thread: https://forum.yoyogames.com/index.php?threads/2d-block-lighting-free.3297/

This asset lets you implement 2D block lighting for your game.

Although the included example also visualizes blocks, this asset's focus is on the lighting specifically (for block visualization I recommend my other asset: https://marketplace.yoyogames.com/assets/2211/autotiling-tilemap-shaders).

Remember to read the asset's EULA:

End User Licence Agreement (EULA).

Changes in 2.0.0

Much easier to implement. Much more organized. Better commenting. Modular design.

Version 2.0.0. Published November 15, 2015

Created with GameMaker: Studio v1.4.1657

Age Rating: 4+

Average Rating

Your review

You can only review assets you've bought.


Gravatar

Anonymous 20 November 2018


Gravatar

Anonymous 20 November 2018


Gravatar

orbis s 09 June 2018


Gravatar

Victor L 21 January 2018


Gravatar

Nasir G 25 September 2017

Well. its worth a try

Logo

Mytino (Publisher) 20 August 2017

I'm sorry you are experiencing problems. If you want assistance, you can make a post in the forum thread in the description.
The switching of the block shading was removed in an update. I will update the screenshots.
I'm not sure what causes the out of memory errors. I'm not getting them. Maybe it is the video memory? If you have more details, please post them in the forum thread.


Gravatar

Anonymous 28 August 2016

I think it's good but hard to implement...

I would find this to be perfect for my game, but I am too noob to implement it. Would be good to have a tutorial with it.

I will edit the review as I feel appropriate.

Logo

Mytino (Publisher) 25 September 2017

Hi, there's a link in the description to the asset's forum thread. You can send me a PM there or post a reply and I'll try to help you out.


Gravatar

Samuel M 09 January 2016

Very great but seems to crash on my computer

I am not sure if it's just my computer or not but the shader sometimes crashes and has issues :/

Logo

Mytino (Publisher) 10 January 2016

Send me a mail at asbjorn.lystrup@gmail.com or a message to Dragon47 on the GMC, and I'll see if I can help you.


Gravatar

Anonymous 04 August 2016

AWESOME!

it's coooool dude! :D


Gravatar

Fabian H 29 November 2015

Awesome lighting system, but a little problem.

Hey! This is a great lighting system and i didn't have any problem implementing it, but i have a little problem tho:
How would i make it go smoothly between chunks?

Logo

Mytino (Publisher) 29 November 2015

Thanks! There are several ways. One way is to create each BL rectangle slightly bigger than the chunk size and use a grid that covers a bit of the surrounding chunks so that it will blur the edges correctly. A more elegant way (although possibly slower) is to have a BL rectangle that covers the screen (+ some extra) and then make sure to update a separate grid accordingly with the content of the chunks. You can send me a mail or a PM on the GMC for more info.


Gravatar

Anonymous 28 October 2015

Well Done 6 Of 5 Star's :)

This review was left for a previous version of this asset.


Gravatar

davide m 27 October 2015

Love it!

I was asking myself how lights and shadows are created in games like Terraria, and this asset is the perfect explanation.
To the users who gave a low rating only cause "it's difficult to implement" i would say: this publisher uses advanced code in a brilliant way, you can't just take this asset and pour it in your game expecting it will magically work, if you don't possess the knowledge to understand how it works. I give an example: if i had to rate the last asset published by Mytino (Graphics Utilities) based on what i can do right now with it, i should put 2 stars out of 5, cause i understand less than half of the contents it includes. Would it be fair? Absolutely NO, cause it's a great asset that can be used to create awesome things, if you have the right knowledge to do so. And if you don't have it (like me) you can still learn a lot from it!

This review was left for a previous version of this asset.


Gravatar

Jayden D 12 October 2015

Looks nice, but is difficult to implement

So from what i understand you keep all the block info and where they are in the room in a Included file instead of just creating something like obj_wall

This review was left for a previous version of this asset.

Logo

Mytino (Publisher) 15 November 2015

Hi! I just published a new version (2.0.0) which should be much easier to implement. Better organization and commenting following a modular design.


Gravatar

Alec A 30 March 2017

Looks nice, but is difficult to implement

The lighting system looks great and performs great but it's very hard to implement it into my game. There are also some bits that could use more comments.

EDIT 1/11/16:
Thanks for the response, will check out the update and update my review once I explore the new features

EDIT 1/12/16:
How do you implement the lighting system to object-based terrain?

EDIT 3/29/17
So the system doesn't autoassign light values? I.E. when a block is broken, environmental light, etc?

Logo

Mytino (Publisher) 02 April 2017

Hi! I just published a new version (2.0.0) which should be much easier to implement. Better organization and commenting following a modular design.
(And sorry if something happens to your review; I misclicked "Report" when I was about to reply.)

EDIT 1/27/16:
You can organize the objects' light values into a grid. So if you have e.g. 3x3 blocks where everything is dirt except the top row, then you can create a grid where the top row is 0, and the rest is for example 1.

EDIT 4/2/2017:
You have to call bl_rectangle_update to tell the extension what blocks have to update. This offers the user a bit more control than if it was automatic. By the way, you can send me mail on asbjorn.lystrup@gmail.com if you have any further questions, I don't get notifications here.


Gravatar

Anonymous 23 August 2015

Doesn't work

Just BG colour.
EA 1.99.420

This review was left for a previous version of this asset.

Logo

Mytino (Publisher) 23 August 2015

I'm not sure what it is, maybe a marketplace or import bug, but it seems like you have to add obj_main to the room yourself. Go to the room, find obj_main and place it somewhere, and I think it should work.


Gravatar

Elliot T 26 July 2015

gr8 m8

Just looks awesome.
However, when importing everything into a larger world (2000000 blocks in my case), things get more or less complicated. Especially if you don't know anything about shaders, like me. :PPpPp I ended up finding an easier way of implementing lighting in my game while trying to figure out how to use this.

Still though, this is the absolute best engine i could find out there!

This review was left for a previous version of this asset.


Gravatar

Anonymous 12 March 2015

NICE!!!

I wanted to do some lighting like this for a while in one of my games, thank you SO MUCH!!!

This review was left for a previous version of this asset.


Gravatar

Anonymous 20 November 2014

Pretty good

The effects are great, it looks really nice
The one thing it could do is some (more) comments.

This review was left for a previous version of this asset.

Logo

Mytino (Publisher) 15 November 2015

Hi! I just published a new version (2.0.0) which should be much easier to implement. Better organization and commenting following a modular design.


Gravatar

Colin T 20 November 2014

Very Nice Example

I really appreciate this example because it gives me something to chew on. It provides a way to learn glow and interpolating effects. If you expect to drop this into a game, the code must be modified to work with a grid-based block collision system. If you don't know what that means, this asset might be more difficult than you bargained for.

For more hits, I suggest moving this asset to the Demos or Shaders section rather than extensions.

This review was left for a previous version of this asset.

Package contents

Loading, please wait

What is the issue?

Back to Top