Search found 11 matches
- Sun Sep 20, 2015 4:30 pm
- Forum: Support and Development
- Topic: Boundary limit for < 0 doesn't work?
- Replies: 4
- Views: 2750
Re: Boundary limit for < 0 doesn't work?
Holy crap, I stared at those lines a million times and didn't see that. Should have posted this to the "questions that don't deserve their own thread" post. Thanks.
- Sun Sep 20, 2015 3:05 am
- Forum: Support and Development
- Topic: Boundary limit for < 0 doesn't work?
- Replies: 4
- Views: 2750
Boundary limit for < 0 doesn't work?
Hi. This might be a little pointless since there's gonna be collision boxes blocking the way, but it's bothering me and I feel like it's gonna come back to bite me in the ass if I don't take care of it now. It's your average "keep the character from running off the screen". I used this exa...
- Tue Aug 04, 2015 3:57 am
- Forum: Support and Development
- Topic: Something that's confusing me in goature's tutorial
- Replies: 3
- Views: 2569
Re: Something that's confusing me in goature's tutorial
I see! Am I right in assuming then that the reason why we still need to use require("entities") is because the functions in entities.lua are in the shape of function ents.Startup() meaning that they're "methods" inside of the table ents? In which case, the "require" is ...
- Tue Aug 04, 2015 1:43 am
- Forum: Support and Development
- Topic: Something that's confusing me in goature's tutorial
- Replies: 3
- Views: 2569
Something that's confusing me in goature's tutorial
Hey all. I was here briefly about a year ago, and now I'm trying to get back into game making. Last time I used josefnpat's tutorial to learn and it was great, but this time as I try to refresh my memory I decided to use a different tutorial so I went with goature. It's great, but there's something ...
- Sun May 18, 2014 10:12 am
- Forum: Support and Development
- Topic: Using a string to call another file's function
- Replies: 10
- Views: 4781
Re: Using a string to call another file's function
I uploaded it before I posted that reply. Sorry, looking at it now it looks like I'm saying I won't upload it. It's actually in the post I had made previously. I originally forgot to upload it and then I went to check for answers I noticed there was no attachment. So it's there if you'd like to take...
- Sat May 17, 2014 10:59 pm
- Forum: Support and Development
- Topic: Using a string to call another file's function
- Replies: 10
- Views: 4781
Re: Using a string to call another file's function
Now that I've read your reply, I'm not sure how useful my .love file is going to be. I ended up deleting everything that was on room_1.lua except for the drawing of the background. The content of player.lua used to be inside of room_1, so the content of player.load() was what was in room_1.load(). S...
- Sat May 17, 2014 9:43 pm
- Forum: Support and Development
- Topic: Using a string to call another file's function
- Replies: 10
- Views: 4781
Re: Using a string to call another file's function
EDIT: I forgot to actually attach it the file. Sorry, fixed now. It's hard to tell without a .love, but it looks like you don't have access to the rooms there. Are they required? And how? Er, I'm a little embarassed to attach this because of how messy it looks, both the code and the game itself. Act...
- Sat May 17, 2014 6:31 pm
- Forum: Support and Development
- Topic: Using a string to call another file's function
- Replies: 10
- Views: 4781
Re: Using a string to call another file's function
I get the blue screen with this error:So what's wrong with:
CODE: SELECT ALL
rooms = {room_1, room_2}
current_room = rooms[1]
current_room.load()
?
No loadstring needed.
game.lua:21:attempt to call field 'load'(a nil value)
- Sat May 17, 2014 11:31 am
- Forum: Support and Development
- Topic: Using a string to call another file's function
- Replies: 10
- Views: 4781
Using a string to call another file's function
Hey all, I looked for other questions similar to this one by searching "call function from another file", but I didn't find any that had this particular problem. It's a Lua problem. Here's the thing: I have a series of rooms that I'm storing in a table. Inside game.lua, I create the table ...
- Sun Apr 27, 2014 2:35 am
- Forum: Support and Development
- Topic: No LOVE folder, how to install LOVE on Mac?
- Replies: 3
- Views: 2678
Re: No LOVE folder, how to install LOVE on Mac?
I see! Thanks for clearing that up. However, how do I find out what value I should give t.identity (inside love.conf) then? Or do I just give it any string I want and it will accept that?