Search found 36 matches

by NoAim91
Mon Feb 27, 2017 10:50 am
Forum: Support and Development
Topic: Jumper Pathfinding node:getX problem
Replies: 7
Views: 1952

Jumper Pathfinding node:getX problem

Hallo again,

I try since 3 days to implement a Pathfinding libary and i get frustred now. :-(

I copy/paste the Jumper example and it doesn´t work. The Error is "attempt to call method 'getX' (a nil value)

I don´t know how to get the path information out of the method.

Thanks for help again.
by NoAim91
Thu Feb 23, 2017 12:10 pm
Forum: Support and Development
Topic: table & for loop
Replies: 5
Views: 1951

Re: table & for loop

thank you both :-)
by NoAim91
Thu Feb 23, 2017 11:26 am
Forum: Support and Development
Topic: table & for loop
Replies: 5
Views: 1951

table & for loop

Hi, I have no clue why the following dosn´t work: function createGraph() for i=1, 60 do graph = {} graph = {id= i, x=40*i, y=65} return graph end end createGraph() print(graph[1].x) --> print 40, all fine here print(graph[2].x) --> gives me a error, because nil value :-( but why??? I like to create ...
by NoAim91
Tue Feb 21, 2017 9:36 am
Forum: Support and Development
Topic: Some noob questions
Replies: 6
Views: 1772

Re: Some noob questions

Thank you SUIT looks fine :-)

another question ... when/why I use " : " in lua?
by NoAim91
Mon Feb 20, 2017 8:20 pm
Forum: Support and Development
Topic: Some noob questions
Replies: 6
Views: 1772

Re: Some noob questions

thanks for the reply ... like every time my problem was something other. But I solved it.

But I have a new Question :-)

What GUI should i use? Should i write my own at the very beginning?

edit: is there any good GUI Tutorial für lua (and probebly löve?)
by NoAim91
Mon Feb 20, 2017 10:39 am
Forum: Support and Development
Topic: Some noob questions
Replies: 6
Views: 1772

Some noob questions

Hello, I try since several hours and i don´t get it, so i´m sorry for this simple questions but i can´t figure out how to do it. 1.) I have a function with some if statements, and at the last if statement i like to set a global variable from true to false. I know how to change is in the local, but h...