Search found 129 matches

by drunken_munki
Tue Jun 05, 2018 1:08 pm
Forum: Support and Development
Topic: MacOS Dropping Support of OpenGL
Replies: 4
Views: 329

Re: MacOS Dropping Support of OpenGL

What they are doing sounds like pointing the barrel of a loaded gun at your own eye so you can see if it is jammed.
by drunken_munki
Thu May 24, 2018 2:30 pm
Forum: General
Topic: What do you think of 'Brackets' as an editor + How to use luacheck code linter
Replies: 4
Views: 428

Re: What do you think of 'Brackets' as an editor + How to use luacheck code linter

This isn't going well for me. Brackets has a distinct lack of support for languages like Lua that use words as brackets such as 'if then end' and 'function end'. This means there is no proper support for code folding and also no support for a function list without going into making a plug-in for it....
by drunken_munki
Mon May 21, 2018 10:28 am
Forum: Support and Development
Topic: love.graphics.setColor(nil, nil, nil, nil) [Solved]
Replies: 2
Views: 189

Re: love.graphics.setColor(nil, nil, nil, nil)

Ah you might be right. I'm using an example from the wiki that I modified to print out to a custom log file. I just commented this out and the default error handler works fine! Thanks for that, I will check what is causing me the issue in my code. Turns out I had a typo in my error handler code, all...
by drunken_munki
Mon May 21, 2018 10:05 am
Forum: Support and Development
Topic: love.graphics.setColor(nil, nil, nil, nil) [Solved]
Replies: 2
Views: 189

love.graphics.setColor(nil, nil, nil, nil) [Solved]

love.graphics.setColor(nil, nil, nil, nil) will cause LOVE (v11.1) to exit with no error handler callback in my code.

Anyone know why this might not propagate an error correctly?

Cheers, as always.
by drunken_munki
Sun May 20, 2018 9:27 am
Forum: General
Topic: What do you think of 'Brackets' as an editor + How to use luacheck code linter
Replies: 4
Views: 428

Re: What do you think of 'Brackets' as an editor?

I'm going to check how to create a run command today, and also possibly how to use the git integration; will report back soon. OK running a love project is easy File -> Extension Manager -> Search for "Run LÖVE" and install it. Restart the editor and you can use ctrl-shift-l or click the edit menu -...
by drunken_munki
Fri May 18, 2018 12:00 pm
Forum: General
Topic: What do you think of 'Brackets' as an editor + How to use luacheck code linter
Replies: 4
Views: 428

What do you think of 'Brackets' as an editor + How to use luacheck code linter

Been trying a few editors out, I usually use notepad++. What caught my eye was the 'luacheck' linting tool: https://github.com/mpeterv/luacheck Here I already tried out the tool manually which can create a report of your code issues... but then the section on integration with editors caught my other...
by drunken_munki
Thu May 17, 2018 10:08 am
Forum: Support and Development
Topic: need help !
Replies: 15
Views: 777

Re: need help !

zorg wrote:
Thu May 17, 2018 8:46 am
He asked about the "math.random(2) == 1" part though, from what i could tell.
Oh I see. Heh ok :D
by drunken_munki
Thu May 17, 2018 7:44 am
Forum: Support and Development
Topic: need help !
Replies: 15
Views: 777

Re: need help !

But his question is "why its equal to 1?" The tests I ran gave me -100 or 100, so I don't know why he is getting '1' unless he is modiying the var somewhere else.
by drunken_munki
Wed May 16, 2018 10:33 am
Forum: Support and Development
Topic: need help !
Replies: 15
Views: 777

Re: need help !

Looks fine to me. You must be modifying it somewhere else in your code.
by drunken_munki
Thu May 10, 2018 10:54 am
Forum: General
Topic: Need ideeas for a game!
Replies: 27
Views: 3108

Re: Need ideeas for a game!