## Search found 222 matches

Sun Apr 25, 2021 6:51 pm
Forum: General
Topic: Favourite unique games
Replies: 12
Views: 2799

### Re: Favourite unique games

Of course Factorio
Fri Apr 23, 2021 9:11 pm
Forum: Games and Creations
Topic: Particle collisions (with cache)
Replies: 2
Views: 1147

### Re: [WIP] Particle collisions (with cache)

Second version:

Thu Apr 22, 2021 9:17 pm
Forum: Games and Creations
Topic: Particle collisions (with cache)
Replies: 2
Views: 1147

### Particle collisions (with cache)

Hi all! I've made some easy simulation about moving particles, it was very interesting to unterstand how to use cache grid to make such simulations faster. The first version without collisions, but squares show where I need to check this collisions :) Yellow: no collision, green: two circle bodies i...
Thu Apr 22, 2021 12:25 pm
Forum: Support and Development
Topic: Love doesnt wanna accept my structure
Replies: 8
Views: 1444

### Re: Love doesnt wanna accept my structure

You can use the cycles as: local levels = {} -- or level? :) for y = 1, 16 do levels[y] = {} -- you are need to define empty table here for x = 1, 16 do -- your code here, for example value 0, 1 or 2: levels[y][x] = math.random (0, 2) end end Wait I don't understand, I have the table predefined, I ...
Thu Apr 22, 2021 12:08 pm
Forum: Support and Development
Topic: Love doesnt wanna accept my structure
Replies: 8
Views: 1444

### Re: Love doesnt wanna accept my structure

You can use the cycles as:

Code: Select all

local levels = {} -- or level? :)
for y = 1, 16 do
levels[y] = {} -- you are need to define empty table here
for x = 1, 16 do
-- your code here, for example value 0, 1 or 2:
levels[y][x] = math.random (0, 2)
end
end
Thu Apr 22, 2021 11:32 am
Forum: Support and Development
Topic: Love doesnt wanna accept my structure
Replies: 8
Views: 1444

### Re: Love doesnt wanna accept my structure

{tileset = love.graphics.newImage("tiles_blue") map = map} Don't forget the comma! {tileset = love.graphics.newImage("tiles_blue"), map = map} Lua starts from 1: local currentLevel = 1 local row = 1 local collumn = 1 -- maybe column? :) local value = levels[currentLevel][row][co...
Thu Apr 22, 2021 12:30 am
Forum: Games and Creations
Topic: Neural Network: drones
Replies: 3
Views: 1015

### Re: Neural Network: drones

Intriguing. They learn? I tried to write a nn in Love (twice) but couldn't get smart enough. Your bots get smart? Yes, at the start they are totally random, but you can press space to make the learning process much faster. On the screen it takes about 300k targets :) :ehem: Cheat: The max speed mus...
Wed Apr 21, 2021 7:00 pm
Forum: Games and Creations
Topic: Neural Network: drones
Replies: 3
Views: 1015

### Neural Network: drones

Hi all!

I've made a small program with bots, that must take targets. Bots are using the neural network with Genetic Algorithm.
Tue Apr 20, 2021 3:44 pm
Forum: Support and Development
Topic: [SOLVED] Changing frequency while synthesising sine wave
Replies: 7
Views: 2017

### Re: [SOLVED] Changing frequency while synthesising sine wave

How it works?
Mon Apr 19, 2021 4:02 pm
Forum: General
Topic: Using love for a battle demonstrator
Replies: 10
Views: 2314

### Re: Using love for a battle demonstrator

Another bezier-clicker with zoom-to-mouse: