Search found 38 matches

by NoAim91
Mon Dec 14, 2020 8:22 am
Forum: Support and Development
Topic: Looking for someone who can write a shader [with compensation]
Replies: 2
Views: 1438

Re: Looking for someone who can write a shader [with compensation]

Hey, I was down for some days because of corona. Sorry for the late response. All the grass will be drawn with one spritebatch which only holds gras tiles. ~here comes your shader ~here i draw the spritebatch ~here I set back the shader to the default one Also, the "wind-waves" shouldn´t b...
by NoAim91
Thu Dec 10, 2020 12:58 pm
Forum: Support and Development
Topic: Looking for someone who can write a shader [with compensation]
Replies: 2
Views: 1438

Looking for someone who can write a shader [with compensation]

Hello Everyone! Maybe some of you already know me or the game I create with my team (Feudal Kingdoms) but here is a quick first impression: https://twitter.com/No_Aim91/status/1319537678392741889?s=20 I´m currently looking for someone who could write a "wind"-Shader similar to this one: ht...
by NoAim91
Sun Jan 20, 2019 6:41 pm
Forum: General
Topic: Splitscreen Camera Modul?
Replies: 0
Views: 2954

Splitscreen Camera Modul?

Hello there! Does anyone know a good camera tool for creating a game with a splitscreen mode? .. or at least a guide how I would create one? Currently I´m using humpcamera, which is not a good option for a splitscreen I guess. The "problem" I have is: I don´t like to draw unnecessary thing...
by NoAim91
Wed Aug 16, 2017 10:41 am
Forum: General
Topic: Suggestion: Doubleclick callback
Replies: 3
Views: 2100

Suggestion: Doubleclick callback

Hi there

it would be cool to have a love.mouse.doubleclick funtion, like the other love.mouse.(mousemoved / mousepressed / mousereleased) callback functions.

I have made the funciton myself, but it would be cool to have it build in love directly :D
by NoAim91
Sat Jun 17, 2017 7:29 am
Forum: Support and Development
Topic: How works love.threads?
Replies: 14
Views: 10065

Re: How works love.threads?

@zorg: nope. The thread starts and the main thread should update itself while the thread is doing its thing ... its not directly waiting. If I use 1.000 as input it works. The Table is created with 1000x1000 entrys. But If I choose 10.000 it dies. However ... I could need something which prevents th...
by NoAim91
Fri Jun 16, 2017 8:54 pm
Forum: Support and Development
Topic: How works love.threads?
Replies: 14
Views: 10065

Re: How works love.threads?

okay, I thought I could solve my problem with threads, but it doesn´t work. My problem -> game freeze because the for loop is too big. main.lua function love.load() t = love.thread.newThread("thread.lua") c1 = love.thread.newChannel() input = 10000 c1:push(input) t:start(c1) output = 0 end...
by NoAim91
Fri Jun 16, 2017 4:10 pm
Forum: Support and Development
Topic: How works love.threads?
Replies: 14
Views: 10065

Re: How works love.threads?

@zorg: yeah, the print doesn´t work ... and it should not return 10, it should return 13.... I guess the output = c1:demand() takes the c1:push(input) befor the thread input = c1:demand() can take the variable.
by NoAim91
Fri Jun 16, 2017 3:56 pm
Forum: Support and Development
Topic: How works love.threads?
Replies: 14
Views: 10065

Re: How works love.threads?

@bartbes: this code doesn´t work :-/ I changed something that it work, but it is not finaly right: main.lua function love.load() t = love.thread.newThread("thread.lua") c1 = love.thread.newChannel() input = 10 c1:push(input) t:start(c1) end thread.lua local c1 = ... input = c1:demand() pri...
by NoAim91
Fri Jun 16, 2017 3:25 pm
Forum: Support and Development
Topic: How works love.threads?
Replies: 14
Views: 10065

Re: How works love.threads?

thank you! :-)

Ok, now how I get the resault ( a ) out of the thread? XD
by NoAim91
Fri Jun 16, 2017 3:04 pm
Forum: Support and Development
Topic: How works love.threads?
Replies: 14
Views: 10065

Re: How works love.threads?

Code: Select all

local input = input

function test(input)
  a = input
  a = a + 3
  print(a)
  return a
end

test(input)
Thread error!
thread.lua:5: attempt to perform arithmetic on global 'a' (a nil value)

line 5 is a = a + 3

so what?! define a = input is fine but after that a is unknown?! o.O