Search found 47 matches

by JJSax
Fri Jun 21, 2019 3:04 am
Forum: Support and Development
Topic: Radial Menu lines are acting odd.
Replies: 2
Views: 5532

Radial Menu lines are acting odd.

I'm in the early stages of making a radial menu and I'm having some weird lines out of my circle and can't figure out why. What is going on with this code to cause the lines. Also 6 segments and above has a missing section. I'm sure I could figure that one out but if you fix it in the process I woul...
by JJSax
Sat May 25, 2019 3:03 am
Forum: Support and Development
Topic: Gamera exaggerate minimap features
Replies: 1
Views: 2691

Gamera exaggerate minimap features

So I'm trying to make certain things in my minimap more exaggerated and scaled larger than they would be if calculated correctly. My code is super long so I'll spare you having to dig through all that, but if you want to show me how on the gamera-demo.love that would be perfect. Here is the link to ...
by JJSax
Fri Nov 09, 2018 8:08 am
Forum: Support and Development
Topic: Build crashes when dropping onto love.exe, but not through sublime
Replies: 4
Views: 2586

Re: Build crashes when dropping onto love.exe, but not through sublime

settings.lua uses io.open among other io functions. They won't work properly with LÖVE, in this example it's probably not finding relative paths due to the working directory not being correct. Use love.filesystem instead. I'd replace settings.lua entirely with a better serialization solution. oh. D...
by JJSax
Fri Nov 09, 2018 7:18 am
Forum: Support and Development
Topic: Build crashes when dropping onto love.exe, but not through sublime
Replies: 4
Views: 2586

Build crashes when dropping onto love.exe, but not through sublime

I use sublime to launch my program using ctrl+b. It works great. But when I drag and drop the folder onto love.exe, it crashes. This is a simplified section of the code the error is occurring at. function love.conf(a) a.console = true checkConfig() -- checkConfig is defined elsewhere config = table....
by JJSax
Fri Feb 20, 2015 1:12 am
Forum: Support and Development
Topic: How can I make this more CPU efficient
Replies: 5
Views: 2390

How can I make this more CPU efficient

Hey I am making a color picker program. I have 3 bars to indicate RGB and I have each bar show what the color would be if I moved the slider to whatever position. My method works, but kills the CPU. As of right now it basically goes through RGB like this for i = 0, 255 do love.graphics.setColor(i, g...
by JJSax
Fri Apr 04, 2014 8:07 pm
Forum: Support and Development
Topic: Calls table value as function. Can't seem to figure it out.
Replies: 3
Views: 1740

Re: Calls table value as function. Can't seem to figure it

Germanunkol wrote:Hi!

Welcome to the forums

==============
--SNIP--
==============
That did it. Good advice. Normally I try to use locals but in case the guy I was following had plans and needed them global I didn't.
by JJSax
Fri Apr 04, 2014 4:19 am
Forum: Support and Development
Topic: Calls table value as function. Can't seem to figure it out.
Replies: 3
Views: 1740

Calls table value as function. Can't seem to figure it out.

[spoiler] My first post, trying to figure out how to do spoilers for the future. anyone know how? please ignore this. [/spoiler] I have a super basic shooter game. I've just been loosely following a tutorial I found on Youtube to learn Love so most this code isn't mine. also if you have to look thro...