Search found 250 matches

by xNick1
Tue Oct 16, 2018 7:06 am
Forum: Support and Development
Topic: Mousepressed not working?
Replies: 27
Views: 632

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: 337

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: 225

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: 380

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: 627

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: 380

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: 380

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: 380

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
by xNick1
Mon Aug 27, 2018 7:14 pm
Forum: Games and Creations
Topic: Aarstider
Replies: 21
Views: 11420

Re: Aarstider

Still working on the graphics!
Screenshot from 2018-08-27 20-26-10.png
Screenshot from 2018-08-27 20-26-10.png (281.97 KiB) Viewed 337 times
Screenshot from 2018-08-27 20-29-32.png
Screenshot from 2018-08-27 20-29-32.png (849.07 KiB) Viewed 337 times

https://www.youtube.com/watch?v=S-H3dO1yKks

by xNick1
Thu Mar 22, 2018 4:13 pm
Forum: Games and Creations
Topic: Aarstider
Replies: 21
Views: 11420

Re: Aarstider

The game has a bug. When I press [left] & [right] keyboard button at the same time, the background movement is somewhat awkward. The game returned error after the character flying & I click the house. BTW, the game resokution is too high. My display resolution is 1366x768, and the bottom part of th...