Search found 1186 matches

by darkfrei
Sat Dec 05, 2020 12:11 pm
Forum: Support and Development
Topic: Pokoh - A new exciting puzzle game
Replies: 6
Views: 6908

Re: Pokoh - A new exciting puzzle game

Why so glitch here?
by darkfrei
Fri Dec 04, 2020 10:42 pm
Forum: General
Topic: Hi, please help my about file manipulation
Replies: 1
Views: 3728

Re: Hi, please help my about file manipulation

I make the file savefile.lua and save here the global table. Your save file can be such as return {1, 2, {a="1, b=2"}} So you can save any amount of any variables just to one table. http://lua-users.org/wiki/SaveTableToFile https://github.com/gvx/Ser https://love2d.org/forums/viewtopic.php...
by darkfrei
Wed Dec 02, 2020 10:40 pm
Forum: Games and Creations
Topic: Small Ray Tracing (or RayCasting)
Replies: 8
Views: 13904

Re: Small ray tracing

noahnadai wrote: Wed Dec 02, 2020 2:51 pm Where were you three months ago when my game needed you? Good work!
I need that tool for my project too, that's why I wrote that.

Where are you need it?
by darkfrei
Wed Dec 02, 2020 11:55 am
Forum: General
Topic: STI and Making My 1st Platformer
Replies: 3
Views: 8036

Re: STI and Making My 1st Platformer

Such code maybe better:

Code: Select all

if love.keyboard.isDown("left") then
	map_x = map_x + 5*dt*60
elseif  love.keyboard.isDown("right") then
        map_x = map_x - 5*dt*60
end
On 60 fps the dt is about 1/60, but it goes up on the lower fps.
by darkfrei
Sun Nov 29, 2020 8:14 pm
Forum: Games and Creations
Topic: Universal topology neural network
Replies: 1
Views: 2443

Re: Universal topology neural network

My activation function:
by darkfrei
Sun Nov 29, 2020 8:06 pm
Forum: Games and Creations
Topic: Universal topology neural network
Replies: 1
Views: 2443

Universal topology neural network

Hi all! I've made my first neural network, with my own topology and activation function. This implementation searches the answer for XOR, it needs just 5 nodes: 2 input nodes; 2 middle (hidden nodes) 1 output node. Every nod has own "layer", but every node is connected to all previous node...
by darkfrei
Wed Nov 25, 2020 8:36 pm
Forum: Games and Creations
Topic: Small Ray Tracing (or RayCasting)
Replies: 8
Views: 13904

Re: Small ray tracing

My implementation ray tracing as a lib;

Please help me to fix it, I'm bad with objects. If possible, without metatables, I cannot understand them.
by darkfrei
Sun Nov 22, 2020 5:17 pm
Forum: Games and Creations
Topic: Small Ray Tracing (or RayCasting)
Replies: 8
Views: 13904

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: 4
Views: 45335

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: 6926

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 ...