Search found 216 matches

by darkfrei
Mon May 03, 2021 9:22 am
Forum: General
Topic: Using love for a battle demonstrator
Replies: 10
Views: 1760

Re: Using love for a battle demonstrator

yes, you ar right, I am ready to do it, now that I have all the tiles. the zoom level 13 weights 1.2Go. Do you think love2d can load such a big image ? My laptop has 16Go of RAM. It will be nice to load only needed images, cut big image to something like 4096x4096 pixel chunks, load what you see an...
by darkfrei
Mon May 03, 2021 7:35 am
Forum: General
Topic: Where do noob artists hang out?
Replies: 1
Views: 425

Re: Where do noob artists hang out?

I saw a lot of images on https://www.deviantart.com/

Sometimes you can find nice backgrounds, tilesets.
by darkfrei
Mon May 03, 2021 7:28 am
Forum: General
Topic: Using love for a battle demonstrator
Replies: 10
Views: 1760

Re: Using love for a battle demonstrator

If they are really huge, on zoom level 5 you can load image for zoom level 4 and 6, not other. By moving to the zoom level 4 you are need to unload zoom level 6 and load zoom level 3. Thanks for your answer, I do not understand exactly what you say. Tile images are about 1K size, of course there ar...
by darkfrei
Sun May 02, 2021 8:46 pm
Forum: General
Topic: Using love for a battle demonstrator
Replies: 10
Views: 1760

Re: Using love for a battle demonstrator

If they are really huge, on zoom level 5 you can load image for zoom level 4 and 6, not other.
By moving to the zoom level 4 you are need to unload zoom level 6 and load zoom level 3.
by darkfrei
Sun May 02, 2021 7:46 pm
Forum: Games and Creations
Topic: Sierpinski triangle
Replies: 1
Views: 543

Sierpinski triangle

Hi all!

Here is my try to make the Sierpinski Triangle.
by darkfrei
Sun May 02, 2021 5:39 pm
Forum: Games and Creations
Topic: Particle collisions (with cache)
Replies: 2
Views: 916

Re: [WIP] Particle collisions (with cache)

The last version, all collisions work as expected.

Here can be better static resolution: move circles back to the collision, calculate the rest dt and move particles in the new direction. Same as continuous collision detection.
by darkfrei
Thu Apr 29, 2021 9:35 am
Forum: General
Topic: [SOLVED] with making an OLD project work again
Replies: 8
Views: 949

Re: [SOLVED] with making an OLD project work again

Note that love.math.random(255)/256 never gives 0 or 1.

Maybe you are need love.math.random(0, 255)/255 instead.
by darkfrei
Thu Apr 29, 2021 8:56 am
Forum: Support and Development
Topic: Pixilated circle
Replies: 9
Views: 866

Re: Pixilated circle

Setting the default filter to nearest does not affect already created textures even if you do it in every frame. The correct solution was posted already, you just need to read more carefully. You are right, thanks! function love.load() scale = 32 width, height = love.graphics.getDimensions( ) canva...
by darkfrei
Thu Apr 29, 2021 8:10 am
Forum: Support and Development
Topic: Pixilated circle
Replies: 9
Views: 866

Re: Pixilated circle

I've made "nearest" and "rough", but this result is totally not what I've expected. function love.load() width, height = love.graphics.getDimensions( ) scale = 32 circle = {x=0.5, y=0.5, d=2} buffer = 0.5 buffer_limit = buffer canvas = love.graphics.newCanvas(width/scale, height/...
by darkfrei
Wed Apr 28, 2021 8:22 pm
Forum: Support and Development
Topic: Pixilated circle
Replies: 9
Views: 866

Re: Pixilated circle

I want something like that
Image

And I think that's possible to do it just with love.graphics.circle and than scale this picture up, where one pixel of original circle will be shown as 2x2 pixels square or 3x3 pixels square.