Maybe these can help:
http://theindiestone.com/forums/index.p ... tables/#II
https://www.youtube.com/watch?v=E1MGLTd ... B05A624D91
Search found 13 matches
- Sun Sep 14, 2014 3:37 am
- Forum: Support and Development
- Topic: Entity System
- Replies: 1
- Views: 2425
- Sun Sep 14, 2014 12:41 am
- Forum: Support and Development
- Topic: love.graphics.rectangle issue?
- Replies: 6
- Views: 5191
Re: love.graphics.rectangle issue?
Worked great. Thanks so much. Once I looked at the error that you pointed out, it made so much more sense!
- Sat Sep 13, 2014 11:44 pm
- Forum: Support and Development
- Topic: love.graphics.rectangle issue?
- Replies: 6
- Views: 5191
Re: love.graphics.rectangle issue?
Ahh, thank you Daedalus! I'll try it out and let you know my results!
- Sat Sep 13, 2014 7:38 pm
- Forum: Support and Development
- Topic: love.graphics.rectangle issue?
- Replies: 6
- Views: 5191
Re: love.graphics.rectangle issue?
Here it is!
Thanks for taking a look!
Note: It's very sloppy as I'm still learning about modules and inheritance. Each time I add something, I go back and remake the project from scratch and try to make it cleaner. Sorry if it's really messy!
Thanks for taking a look!
Note: It's very sloppy as I'm still learning about modules and inheritance. Each time I add something, I go back and remake the project from scratch and try to make it cleaner. Sorry if it's really messy!
- Sat Sep 13, 2014 7:13 pm
- Forum: Support and Development
- Topic: love.graphics.rectangle issue?
- Replies: 6
- Views: 5191
Re: love.graphics.rectangle issue?
Forgot to mention, this is my whole function ent:draw() in base_character.lua: Note: the ent.playerAnim:draw works fine... and both ent.alignX/ent.alignY and all my ent.hitbox variables come from the same place. Yet I still get the (number expected, got nil). local x = self.x local y = self.y g.setC...
- Sat Sep 13, 2014 6:48 pm
- Forum: Support and Development
- Topic: love.graphics.rectangle issue?
- Replies: 6
- Views: 5191
love.graphics.rectangle issue?
I'm probably doing this all wrong, however, I have a base_character.lua file drawing my character, and everything works fine. When I try to call its hitbox information, I get: (number expected, got nil) g.setColor(0, 200, 50, 100) g.rectangle("fill", 25, 25, 25, 25) -- (this one works) pri...
- Fri Sep 12, 2014 1:56 am
- Forum: Support and Development
- Topic: [SOLVED]Require all files in a folder
- Replies: 15
- Views: 19973
Re: [SOLVED]Require all files in a folder
Thanks kikito!
- Thu Sep 11, 2014 5:15 pm
- Forum: Support and Development
- Topic: [SOLVED]Require all files in a folder
- Replies: 15
- Views: 19973
Re: [SOLVED]Require all files in a folder
Hi kikito!
Well, my gamedir is benGame and i have an /entities off that. Do you need the entire path? c:\games\benGame\entities.
Thanks for the help!
Well, my gamedir is benGame and i have an /entities off that. Do you need the entire path? c:\games\benGame\entities.
Thanks for the help!
- Thu Sep 11, 2014 3:24 am
- Forum: Support and Development
- Topic: Proper Entity Inheritance Structure (Help Request)
- Replies: 3
- Views: 2718
Re: Proper Entity Inheritance Structure (Help Request)
Looks like my extra local = {} was causing some issues. Got my controls working in the base_character now. Maybe have other issues, will post back! =)
- Thu Sep 11, 2014 1:44 am
- Forum: Support and Development
- Topic: [SOLVED]Require all files in a folder
- Replies: 15
- Views: 19973
Re: [SOLVED]Require all files in a folder
OK!
Forgot to remove .lua, so that part works.
Now I just need to figure out how to get all files from a directory to be auto required.
Thanks in advance!
Forgot to remove .lua, so that part works.
Now I just need to figure out how to get all files from a directory to be auto required.
Thanks in advance!