Search found 4 matches

by TheCaptain
Sun Jun 26, 2011 8:39 pm
Forum: Support and Development
Topic: 1 Pixel more needs +98% CPU
Replies: 11
Views: 4934

Re: 1 Pixel more needs +98% CPU

Sure. Just plain simple though. With 513x256px image for 1a.jpg, its getting hot in here. require("lua/AnAL.lua") function love.load() image = love.graphics.newImage("images/bg/1a.jpg") player = love.graphics.newImage("images/run/c2.jpg") anim = newAnimation(player, 45,...
by TheCaptain
Sun Jun 26, 2011 8:21 pm
Forum: Support and Development
Topic: 1 Pixel more needs +98% CPU
Replies: 11
Views: 4934

Re: 1 Pixel more needs +98% CPU

Yeah, i read something about the PO2_Syndrome, but graphic card is not that old. I found the problem. Seems that cutting off background images to the size of the screen is extremely inefficient. If the image extends screen.width or screen.height set in conf.lua, then CPU goes crazy. The 513px image ...
by TheCaptain
Sun Jun 26, 2011 8:02 pm
Forum: Support and Development
Topic: 1 Pixel more needs +98% CPU
Replies: 11
Views: 4934

Re: 1 Pixel more needs +98% CPU

Likewise is 1024x512, but this also gives 99% CPU. Definitely not a normal behaviour, and I'm just using the examples.
by TheCaptain
Sun Jun 26, 2011 7:37 pm
Forum: Support and Development
Topic: 1 Pixel more needs +98% CPU
Replies: 11
Views: 4934

1 Pixel more needs +98% CPU

Hi, first of all, very impressive engine. Some HowTos more would be nice, i struggled finding out theres an animation framework for löve. BTW don't google for "AnAL Löve", it won't give you any useful results :) My Problem is that a background-image with 512x256px is using about 0-1% of CP...