Search found 79 matches

by MrFariator
Tue Sep 04, 2018 8:31 am
Forum: Support and Development
Topic: How to call upon a table?
Replies: 3
Views: 144

Re: How to call upon a table?

While using a 'pairs' for loop also works, do keep in mind that the syntax issue with your original code was that you didn't define the first two expressions of your for loop properly. The following would be the correct way to write what you tried to do. love.graphics.setColor( 1, 0, 0 ) -- we don't...
by MrFariator
Sat Jun 16, 2018 12:02 pm
Forum: General
Topic: What's everyone working on? (tigsource inspired)
Replies: 1641
Views: 329218

Re: What's everyone working on? (tigsource inspired)

MrFariator wrote:
Sat Apr 21, 2018 11:29 am
...
Refined the hookshot's combat applications, namely that you can aim the throw in any 8 directions, plus some additional enemies.

Image
by MrFariator
Sun Jun 10, 2018 10:29 am
Forum: Support and Development
Topic: simple log library crashes love without notice
Replies: 2
Views: 294

Re: simple log library crashes love without notice

local timestamp = os.date("%F-%R:%S") This particular line seems to be at fault; I checked the lua docs for the usage of os.date and it did not list %F or %R as legible arguments, which for a reason or another results in lua runtime to instantly hang up. I changed the line to something like the fol...
by MrFariator
Mon Jun 04, 2018 10:05 pm
Forum: General
Topic: Love on Mac w/o OpenGL
Replies: 10
Views: 1758

Re: Love on Mac w/o OpenGL

The post for the uninitiated: https://developer.apple.com/macos/whats-new/ Deprecation of OpenGL and OpenCL Apps built using OpenGL and OpenCL will continue to run in macOS 10.14, but these legacy technologies are deprecated in macOS 10.14. Games and graphics-intensive apps that use OpenGL should no...
by MrFariator
Sun May 20, 2018 10:04 pm
Forum: Support and Development
Topic: Bullets gain speed and dissapear when another is shot
Replies: 2
Views: 266

Re: Bullets gain speed and dissapear when another is shot

Couple of notes: - You are not using the 'local' keyword inside your spawnMissile function. Because lua is global by default, this has the effect of you overriding the global 'missile' table every time a missile is spawned, effectively replacing whatever it was holding before (in this case, replacin...
by MrFariator
Mon Apr 23, 2018 4:20 pm
Forum: Support and Development
Topic: [Solved] Problem with love.filesystem.write and read
Replies: 6
Views: 465

Re: Problem with love.filesystem.write and read

Example usage of zorg's code (just put the serialize function somewhere where it's accessible in scope, like at the top of main.lua): local myTable = { myValue = 1, mySecondValue = 3, myThirdValue = 4 } -- Serialize the table into a string with the function local myString = serialize(myTable) -- myS...
by MrFariator
Sun Apr 22, 2018 9:37 pm
Forum: Support and Development
Topic: [Solved] Problem with love.filesystem.write and read
Replies: 6
Views: 465

Re: Problem with love.filesystem.write and read

Can you show your love.load in question?
by MrFariator
Sun Apr 15, 2018 9:42 pm
Forum: Support and Development
Topic: Strange pixel blur
Replies: 2
Views: 279

Re: Strange pixel blur

Someone on Discord not too long ago had similar scaling issues because they had DSR (Dynamic Super Resolution) enabled on their graphics card.
by MrFariator
Tue Mar 13, 2018 6:57 pm
Forum: General
Topic: LOVE users map
Replies: 182
Views: 33765

Re: LOVE users map

Oulu, Finland