Search found 252 matches

by xNick1
Tue Oct 30, 2018 2:19 pm
Forum: Support and Development
Topic: Love.exe will stop responding after one update
Replies: 15
Views: 827

Re: Love.exe will stop responding after one update

As I said love will stop responding after it refreshes once It displays not responding in the corner and everything I tried this with just drawing a rectangle and it still stops this is all it needs to stop Function love.load end function love.update end function love.draw love.graphics.rectangle(“...
by xNick1
Sun Oct 28, 2018 7:42 am
Forum: Support and Development
Topic: bad argument #1 to '?' in function 'require' ERROR
Replies: 3
Views: 272

Re: bad argument #1 to '?' in function 'require' ERROR

Try with require("whatever"), that's how I do it and it works hehe
by xNick1
Tue Oct 16, 2018 7:06 am
Forum: Support and Development
Topic: Mousepressed not working?
Replies: 27
Views: 1736

Re: Mousepressed not working?

Are you calling the menu_mousepressed function from main.lua? Like: function love.mousepressed( x, y, button, istouch, presses ) menu_mousepressed(x, y, button, istouch, presses) end Othewise how would it know it has to call it? If so, are you sure it isn't calling it? Maybe the coordinates are wron...
by xNick1
Wed Oct 10, 2018 9:15 am
Forum: Support and Development
Topic: Building Love 11.1 on Android
Replies: 0
Views: 884

Building Love 11.1 on Android

Hi, I followed the instructions on the repo. I made a folder containing: "love-android-sdl2" cloned from the repo: (git clone https://bitbucket.org/MartinFelis/love-android-sdl2), "android-ndk-r14b" (x86_64 version), "tools" (sdk-tools-windows-4333796), "local.properties" it contains "ndk.dir="C:\Us...
by xNick1
Sat Sep 08, 2018 11:22 am
Forum: Support and Development
Topic: Love game no longer works on iPhone
Replies: 2
Views: 277

Re: Love game no longer works on iPhone

Afaik if you don't have a dev account you can only use self-made apps for a few days and then you will have to reinstall them
by xNick1
Sat Sep 08, 2018 6:25 am
Forum: Support and Development
Topic: High cpu usage [solved]
Replies: 7
Views: 417

Re: High cpu usage

I finally found the real problem.
I was running a twin with flux in an update function.
I didn't really need the other optimizations
by xNick1
Sat Sep 08, 2018 5:19 am
Forum: Support and Development
Topic: What Luajit Version does Löve 11.1 use?
Replies: 7
Views: 700

Re: What Luajit Version does Löve 11.1 use?

I should also mention that on linux it uses whatever your system provides, so if you have luajit 2.1.0-beta3 installed, it will use that. That's strange, because if i'm recalling right, i got an error on linux compiling with luajit and then running my love game. Maybe I mixed something up. Anyway, ...
by xNick1
Fri Sep 07, 2018 3:24 pm
Forum: Support and Development
Topic: High cpu usage [solved]
Replies: 7
Views: 417

Re: High cpu usage [updated, problems with the Audio]

Wops, I feel dumb now. The audio thing was one of the latest things I added, but the issue is still there after removing the music all together. The cpu usage increases regularly as I play the game. I spawn many objects while I play, but it's just simple sprites. I'm definitely doing something wrong...
by xNick1
Fri Sep 07, 2018 11:05 am
Forum: Support and Development
Topic: High cpu usage [solved]
Replies: 7
Views: 417

Re: High cpu usage

Check your FPS ... maybe you're running your game without vsync and so with a ridiculously high framerate resulting in your logic running, like 500 times a second. Hmm I'm using vsync, I have 60 stable fps. Does the audio impact much on the cpu? Edit: It seems I'm messing something up with the audi...
by xNick1
Fri Sep 07, 2018 8:01 am
Forum: Support and Development
Topic: High cpu usage [solved]
Replies: 7
Views: 417

High cpu usage [solved]

Hi guys,
My game has a high CPU usage: ~25%.
I think it's a little too high for a pixel art game.
I don't know what could cause it, the game is pretty big already.

What are the operations which could take a high amount of CPU?
I make a lot of calculations but it's simple math