Search found 419 matches

by darkfrei
Sun Nov 22, 2020 5:17 pm
Forum: Games and Creations
Topic: Small Ray Tracing (or RayCasting)
Replies: 6
Views: 7152

Small Ray Tracing (or RayCasting)

Hi all!

I've made small tool: it checks where is the first nearest point on the line (https://love2d.org/wiki/love.graphics.line) from given ray source.
by darkfrei
Sat Nov 21, 2020 11:01 am
Forum: Games and Creations
Topic: [WIP] N-Ring, 2D racing or cars
Replies: 3
Views: 7374

Re: [WIP] N-Ring, 2D racing or cars

Added car, wheels (no collisions yet)
by darkfrei
Tue Nov 17, 2020 9:15 pm
Forum: Games and Creations
Topic: Particles
Replies: 5
Views: 4249

Re: Particles

Would you care to share what the "more complex rules" are? All particles have same mass by this simulation. See Gravity simulation for various masses: https://love2d.org/forums/viewtopic.php?f=14&t=89764 This rules are not mine, just my implementation of them; There is 3x9 = 27 types ...
by darkfrei
Tue Nov 17, 2020 9:06 pm
Forum: Games and Creations
Topic: [WIP] N-Ring, 2D racing or cars
Replies: 3
Views: 7374

[WIP] N-Ring, 2D racing or cars

Right now just the track, with zoom and grid.
by darkfrei
Sun Nov 15, 2020 5:58 pm
Forum: Games and Creations
Topic: Particles
Replies: 5
Views: 4249

Re: Particles

New version, a lot of changings.

Image
particles-1-03.love
(3.67 KiB) Downloaded 184 times
by darkfrei
Sat Nov 14, 2020 10:41 pm
Forum: Games and Creations
Topic: Particles
Replies: 5
Views: 4249

Particles

Small project about particles, that can attract and repel each other. Based on the Gravity, but here is more complex rules.

Yes, it looks like some fishes.
by darkfrei
Thu Nov 12, 2020 9:17 pm
Forum: Support and Development
Topic: Zoom
Replies: 1
Views: 2294

Re: Zoom

Try this one
by darkfrei
Thu Nov 12, 2020 11:44 am
Forum: Support and Development
Topic: Can someone help me with this piece of code?
Replies: 4
Views: 3267

Re: Can someone help me with this piece of code?

With this preset is much better:
Image
Image
So, your spritesheet cannot be right cropped, it's too small. Also, you can make the 9x3 tiles, not 7x4-1.
by darkfrei
Wed Nov 11, 2020 10:38 pm
Forum: Games and Creations
Topic: Gravity simulation
Replies: 0
Views: 3946

Gravity simulation

Hi!

I've made small simulation of gravity. No collisions, but you can simulate up to 1000 bodies with up to 14 fps. Such big simulation need about half million of interactions with each other body.

By default only 30 bodies, relative huge gravitational constant.