Search found 36 matches

by drikdrok
Sun Oct 30, 2016 3:25 pm
Forum: Support and Development
Topic: Need help with quad bleeding
Replies: 9
Views: 2855

Re: Need help with quad bleeding

you should OVERLAP the tiles. Now u have 16x16 tiles. Add extra row and column to each tile -> 17x17 and draw them as you did for 16x16. Visually you won't see any differences because all the "extra" pixels of your tiles are covered with their neighbour tiles. Do not worry, some people have the sim...
by drikdrok
Sun Oct 30, 2016 9:54 am
Forum: Support and Development
Topic: Need help with quad bleeding
Replies: 9
Views: 2855

Need help with quad bleeding

I must have spent atleast 10 hours with this problem... And I have now decided it's time to ask for help. I'm drawing a world inside a sprite batch, and at certain points, black lines appear between tiles. I'm pretty sure this is caused by "quad bleeding". I have tried flooring multiple variables at...
by drikdrok
Wed Aug 17, 2016 9:30 am
Forum: Support and Development
Topic: Help with procedurally generated worlds
Replies: 3
Views: 1011

Re: Help with procedurally generated worlds

airstruck wrote:Try adding more "octaves" of noise. Instead of just one noise generator, combine the output of 3 or 4 at different scales.

Here's a terrain generator I started working on once and never finished, maybe it will give you some ideas.
tt.png
Thanks! I will take a look :awesome:
by drikdrok
Tue Aug 16, 2016 6:06 pm
Forum: Support and Development
Topic: Help with procedurally generated worlds
Replies: 3
Views: 1011

Help with procedurally generated worlds

I am working on a game where I need to generate a rather big/infinite world with vast oceans, and big islands. After many hours of research I found that the way to do it, is through something called perlin noise. I have managed to create somewhat of an ocean, but I am not satisfied with the result, ...
by drikdrok
Thu Apr 21, 2016 7:47 pm
Forum: Libraries and Tools
Topic: Simple Buttons
Replies: 8
Views: 4250

Simple Buttons

While playing around with some code I figured that i needed to make buttons with ease and quickly. So i made a simple library and I am here to share it with you! I made it in about an hour, and I would be glad if it even just saved one person that hour. Installation is simple: Just type this in, in ...
by drikdrok
Fri Mar 11, 2016 5:46 pm
Forum: Libraries and Tools
Topic: Light, a shadow system for LÖVE
Replies: 16
Views: 5855

Re: Light, a shadow system for LÖVE

I got it to work after a little break, it was only because i forgot to "love.graphics.clear()" :) Do lights that are off the screen work too ? Are there any glitches, for example, lights appearing and disappearing ? Another question: I remember "Light Vs Shadows" made things far away from light dar...
by drikdrok
Sat Feb 27, 2016 12:57 pm
Forum: Libraries and Tools
Topic: Light, a shadow system for LÖVE
Replies: 16
Views: 5855

Re: Light, a shadow system for LÖVE

Another question:
I remember "Light Vs Shadows" made things far away from light darker. Is it possible with this?
by drikdrok
Sat Feb 27, 2016 12:54 pm
Forum: Libraries and Tools
Topic: Light, a shadow system for LÖVE
Replies: 16
Views: 5855

Re: Light, a shadow system for LÖVE

Ranguna259 wrote:
drikdrok wrote:Thank you very much! I will look for a solution too :)!
You are welcome, if you find anything post here or PM me :)
I got it to work after a little break, it was only because i forgot to "love.graphics.clear()" :)
by drikdrok
Sat Feb 13, 2016 6:46 pm
Forum: Libraries and Tools
Topic: Light, a shadow system for LÖVE
Replies: 16
Views: 5855

Re: Light, a shadow system for LÖVE

Wow, this works really well. Even under some stress test didn't seem to slow down. got to about 70+ lightsources until I saw fps drop. Thanks, I'm pretty proud of the render method myself since it can handle a lot of lights before it reaches a bottleneck state. It's really efficient given that the ...
by drikdrok
Sat Feb 13, 2016 5:34 pm
Forum: Libraries and Tools
Topic: Light, a shadow system for LÖVE
Replies: 16
Views: 5855

Re: Light, a shadow system for LÖVE

This looks really nice! I noticed that this does not Work with cameras like hump. What would a solution to that be? I suspect it has something to do with the canvas. But i have never worked with the love canvas before...