Search found 11 matches
- Mon Dec 10, 2012 2:31 pm
- Forum: Libraries and Tools
- Topic: Löve Frames - A GUI Library
- Replies: 406
- Views: 378011
Re: Löve Frames - A GUI Library
Thanks kindly, working great, not sure how I accidentally changed something, but unzipping a fresh copy fixed it first try. Now to get my hands dirty.
- Mon Dec 10, 2012 2:18 pm
- Forum: Libraries and Tools
- Topic: Löve Frames - A GUI Library
- Replies: 406
- Views: 378011
Re: Löve Frames - A GUI Library
ERROR libs/LoveFrames-master/int.lua:42: attempt to concatenate local 'dir' (a nil value) it is set up exactly as described, with the path I described. Gonna go over the whole thing again to be sure. Thanks for the quick response. and as I look at what I just posted the problem becomes immediately ...
- Mon Dec 10, 2012 12:20 pm
- Forum: Libraries and Tools
- Topic: Löve Frames - A GUI Library
- Replies: 406
- Views: 378011
Re: Löve Frames - A GUI Library
Here's to feeling stupid! I know, this is as trivial as it gets, but I am stuck on set-up here. My main.lua is in directory desktop/wip, and I have your library in /wip/libs/LoveFrames-master, exactly as in the zip, but I cannot for some reason get the Directory to work right in init.lua. How should...
- Sun Dec 09, 2012 1:49 pm
- Forum: Support and Development
- Topic: for loop seems to not work quite right
- Replies: 10
- Views: 5065
Re: for loop seems to not work quite right
wow, thanks a lot gonna have a look now. I was using labels, had a counter to count moves by each animal, it was a mystery. My approach is not there yet and likely all wrong so I will enjoy seeing how you did this. Thanks again, feedback forthcoming.
- Sun Dec 02, 2012 9:46 pm
- Forum: Support and Development
- Topic: for loop seems to not work quite right
- Replies: 10
- Views: 5065
Re: for loop seems to not work quite right
That does look promising, going to put it to work in a few minutes, see if that does it. If I need further help, code will be supplied. Thanks a lot Robin, I see you trying to help on almost every post I read, obviously a very kind and generous person.
- Sat Dec 01, 2012 10:55 pm
- Forum: Support and Development
- Topic: for loop seems to not work quite right
- Replies: 10
- Views: 5065
Re: for loop seems to not work quite right
Okay, so I think I have targeted the problem. Not at home, so I don't have my current code available, but it looks kinda like this. I have a table of animals. animals = { [0] = {blah blah blah}, [1] = {blah blah blah} } I am pretty sure my problem lies in building my second table containing the spaw...
- Fri Nov 30, 2012 7:59 am
- Forum: Support and Development
- Topic: for loop seems to not work quite right
- Replies: 10
- Views: 5065
Re: for loop seems to not work quite right
Didn't know that one thanks, this is my first project working with Lua, learning on the fly. I am actually pretty certain that whole block could be shrunken a lot and coded much nicer. I still have not found my solution, it seems to become almost random movement within a few tiles each move. Most ev...
- Wed Nov 28, 2012 11:38 am
- Forum: Support and Development
- Topic: for loop seems to not work quite right
- Replies: 10
- Views: 5065
for loop seems to not work quite right
What is intended here is that each animal in the table spawned moves once, either left, right, up, or down. Seems simple, code works fine with a couple animals, but once I get to a larger number, say 30 animals, they will begin moving at diagonals and skipping spaces. `test` was something I threw in...
- Wed Nov 14, 2012 8:14 am
- Forum: Support and Development
- Topic: Adding a table to my map table and accessing said table.
- Replies: 3
- Views: 2045
Re: Adding a table to my map table and accessing said table.
okay, I have worked over some things here, have created a new table that holds stats, basically an overlay of my map, full of info. I did this to keep my tilemap static and unchanged. I chose to maintain my randoms and tiles as personal preference being similar to c#. as you can see I make map{} and...
- Tue Nov 13, 2012 1:57 am
- Forum: Support and Development
- Topic: Adding a table to my map table and accessing said table.
- Replies: 3
- Views: 2045
Re: Adding a table to my map table and accessing said table.
Thats great man, thanks. I know my logic and structure are probably not perfect, this is my first project in Lua and I am using Love2D to learn it. Your examples were not the perfect solution for my problem but it sure did point out the things I was missing, so thank you very much, I am on the right...