Search found 286 matches
- Tue Mar 27, 2018 2:18 am
- Forum: Support and Development
- Topic: Error With Object Oriented Things
- Replies: 13
- Views: 8676
Re: Error With Object Oriented Things
Thank you, that made it much easier to troubleshoot: As pedrosgali said, the problem was with the use of ":" where a "." was needed. So you need to change your Monster.TestMap function to this: function Monster:TestMap(x, y) if clone.map[self.grid_x / 32 + x][self.grid_y / 32 + y...
- Mon Mar 26, 2018 10:46 pm
- Forum: Support and Development
- Topic: Error With Object Oriented Things
- Replies: 13
- Views: 8676
Re: Error With Object Oriented Things
What pedrosgali says is true. As a side note, it would be much easier to troubleshoot if you upload a .love file, because trying to figure out where line 88 is is difficult.
- Sat Feb 10, 2018 7:07 pm
- Forum: General
- Topic: LÖVE Jam 2018
- Replies: 6
- Views: 6115
Re: LÖVE Jam 2018
Oh? Are you gonna participate this time though, kayle?
- Thu Feb 08, 2018 7:05 pm
- Forum: General
- Topic: LÖVE Jam 2018
- Replies: 6
- Views: 6115
Re: LÖVE Jam 2018
Super excited for this Thank you for hosting another love jam!
- Sat Feb 03, 2018 3:06 pm
- Forum: Games and Creations
- Topic: Space Delivery [Shoot'em Up]
- Replies: 2
- Views: 2744
Re: Space Delivery [Shoot'em Up]
Not really my type of game, but it seems pretty polished, especially if it was made within just 2 days.
The only problem I have, and it's a problem I have with most games in general, is that the sound is way too loud by default.
The only problem I have, and it's a problem I have with most games in general, is that the sound is way too loud by default.
- Fri Jan 26, 2018 1:11 pm
- Forum: General
- Topic: Hot reload plugin that actually works?
- Replies: 49
- Views: 30385
Re: Hot reload plugin that actually works?
That's what I do. I use Visual Studio Code with the LOVE extension which allows me to run my project by just pressing alt + l. I used to drag my project folder onto the love.exe to get it to run.
- Tue Jan 23, 2018 4:17 am
- Forum: Games and Creations
- Topic: Better Snake [1.0]
- Replies: 4
- Views: 5954
Re: Better Snake [1.0]
I can't speak from experience, but people have recommended checking out sheepolution for love2d specific tutorials: http://sheepolution.com/learn/book/0
With regards to the code you've written, works perfectly fine for me. Is your snake_icon.png image inside of your images folder?
With regards to the code you've written, works perfectly fine for me. Is your snake_icon.png image inside of your images folder?
- Fri Jan 19, 2018 6:59 am
- Forum: Support and Development
- Topic: vector 2 class?
- Replies: 6
- Views: 3936
Re: vector 2 class?
I spent a good little while trying to make .length thing work the way you mentioned it. I don't think I would recommend doing things this way, but here is the code if you're interested in seeing it! local Vec2 = {} function Vec2.__index(t, k) if k == "length" then return t:getLength() end ...
- Fri Jan 19, 2018 1:59 am
- Forum: Support and Development
- Topic: vector 2 class?
- Replies: 6
- Views: 3936
Re: vector 2 class?
Not sure how your class system works but lets just pretend that Vec2 is just a regular old table, here's how I would do it. local Vec2 = {} Vec2.__index = Vec2 setmetatable(Vec2, { __call = function(_, x, y) return setmetatable({ x = x or 0, y = y or 0 }, Vec2) end }) --Allows two Vec2 objects to be...
- Tue Jan 16, 2018 3:27 pm
- Forum: Games and Creations
- Topic: Space Opera Gravity
- Replies: 50
- Views: 38597
Re: Space Opera Gravity
That's a 5 year old thread you just necroed right there my friend.