When you skip the "setTileOffset(x, y)" parameter and combine it with a color shadow, it looks like a glass panel. I think i will make more separated examples in the future, because the actual demo is brimful.Ranguna259 wrote:Love all the new work, but can you make the refraction/reflection shader still ?
In it's current state it just lookes like water, to make it look like glass it needs to be fixed, can you do that ?
Löve "Light vs. Shadow" Engine [0.4.3]
Re: Löve "Light vs. Shadow" Engine [0.3.3]
- silver_hawk
- Prole
- Posts: 36
- Joined: Mon Feb 27, 2012 2:19 pm
Re: Löve "Light vs. Shadow" Engine [0.3.3]
Nice, been following this engine for some time now, really LÖVE the previews you have added, they neatly show the powerful and awesome features of your engine, keep it up!
I will try adding your engine soon in my game editor, will post screens if I get it to run properly!
Have a nice day sir!
I will try adding your engine soon in my game editor, will post screens if I get it to run properly!
Have a nice day sir!
Re: Löve "Light vs. Shadow" Engine [0.4.0]
All shadow bodys (circle, rect, image etc...) are now combined to one object, so you can use all options like glow, alpha, color on all types. The initializations stay the same. Body types and shadow types are now separated, so you can now create an image body and set the shadow type to circle for example.
I also added image shadows over transformation. You can change the color and alpha of the shadow, too.
Image shadows:
Code:
I also added image shadows over transformation. You can change the color and alpha of the shadow, too.
Image shadows:
Code:
Code: Select all
function love.load()
-- create a shadow body (default shadow: rectangle)
shadowBody = lightWorld.newImage(img, x, y, width, height, offsetX, offsetY)
-- change the shadow type to circle
shadowBody.setShadowType("circle", range, offsetX, offsetY)
-- change the shadow type to image
shadowBody.setShadowType("image", pivotX, pivotY, fadeStrength)
end
Re: Löve "Light vs. Shadow" Engine [0.4.0]
Every time you update I keep thinking to myself "WOW, this is sooo cool, now it cant get any better" And then you just keep coming out with these updates that just blow my mind. Really well done!PriorBlue wrote:All shadow bodys (circle, rect, image etc...) are now combined to one object, so you can use all options like glow, alpha, color on all types. The initializations stay the same. Body types and shadow types are now separated, so you can now create an image body and set the shadow type to circle for example.
I also added image shadows over transformation. You can change the color and alpha of the shadow, too.
Image shadows:
Code:Code: Select all
function love.load() -- create a shadow body (default shadow: rectangle) shadowBody = lightWorld.newImage(img, x, y, width, height, offsetX, offsetY) -- change the shadow type to circle shadowBody.setShadowType("circle", range, offsetX, offsetY) -- change the shadow type to image shadowBody.setShadowType("image", pivotX, pivotY, fadeStrength) end
Re: Löve "Light vs. Shadow" Engine [0.4.1]
Ok, i added a material system for objects with higher detail. Just make a color sphere and combine it with your normal map. There are a few examples in the demo (press: "3"). You can use transparency, too.
Functionality:
Preview
Code
Functionality:
Preview
Code
Code: Select all
shadowBody.setMaterial(imgSphere)
Re: Löve "Light vs. Shadow" Engine [0.4.1]
Wow. The progress you are making on this is incredible. This allows for some really great design.
Only thing I can possibly think to "improve" of would be porting this to android and iOS later.
Keep up the awesome work!
Only thing I can possibly think to "improve" of would be porting this to android and iOS later.
Keep up the awesome work!
Re: Löve "Light vs. Shadow" Engine [0.4.1]
It's definitely shaping up! 'm loving the refraction and such, really nice touch.
I'm definitely interested in seeing the shader/gpu side of things here. :B
I'm definitely interested in seeing the shader/gpu side of things here. :B
- Ranguna259
- Party member
- Posts: 911
- Joined: Tue Jun 18, 2013 10:58 pm
- Location: I'm right next to you
Re: Löve "Light vs. Shadow" Engine [0.4.1]
Jesus man.. I never thought that this would go this far, the progress is just incredible !
You actualy simulate some form of 3D in a 2D framework and you managed to apply a whole bunch of textures to it, just awesome
You actualy simulate some form of 3D in a 2D framework and you managed to apply a whole bunch of textures to it, just awesome
Re: Löve "Light vs. Shadow" Engine [0.4.2]
I just added a few postshader effects, have fun! (Press F10 to toggle the shader)
Preview: 4-Color(Gameboy) / BW-Noise / Scan lines(TV) / Tilt–shift(Miniature scene)
Preview: 4-Color(Gameboy) / BW-Noise / Scan lines(TV) / Tilt–shift(Miniature scene)
Re: Löve "Light vs. Shadow" Engine [0.4.2]
Holy crap, this is amazing. If only I had more time to make games...
My game called Hat Cat and the Obvious Crimes Against the Fundamental Laws of Physics is out now!
Who is online
Users browsing this forum: No registered users and 1 guest