Lag within the menu in battle.

Bugs that are fixed (or that we think are fixed) will be moved into this sub-forum for organizational purposes. If you find that one of these bugs is still active, please start a new thread in the main bug report forum and link to the older thread in this sub-forum. Thanks!

Lag within the menu in battle.

Postby mardracula » Tue Feb 14, 2012 4:13 pm

Don't know if this is a bug per say, but during battles on the menu where you select characters, spells, etc... it always seems to lag when the pointer is used on this menu.
By lag I mean the pointer slows and skips around the screen when I move it, instead of flowing smoothly like it does when just clicking on units placed on the map and such.

I eventually just made myself use the keys because I could not get used to the skipping issues. Just wondering if this will be fixed or is it just something that can't be fixed?
"World Without War?........ No Fun"

Flying Is Simple, You Just Throw Yourself At The Ground, Then Miss.
User avatar
mardracula
 
Posts: 58
Joined: Tue Feb 14, 2012 3:28 pm
Location: Canada, Ontario

Re: Lag within the menu in battle.

Postby larsiusprime » Tue Feb 14, 2012 4:15 pm

Just to clarify - is it only over certain areas of the screen? Such as, when mouse-overing various characters or buttons, etc?

That was the very first thing I ever coded, so it's entirely possible there's some less than efficient stuff in there. It's probably something that can be fixed if I hack at it enough and remember what's going on in the guts of it.
larsiusprime
 
Posts: 810
Joined: Mon Feb 13, 2012 10:13 am

Re: Lag within the menu in battle.

Postby mardracula » Tue Feb 14, 2012 4:24 pm

It acts differently for me at specific points, but during any battle at any point whenever I go to select a character on the menu to place on the field it skips around, specifically when hovering over a character portrait. I think when highlighting characters it is taking time to retrieve the data and display it that it's effecting the mouse.

So basically the only consistent lag is highlighting a new character on the character and spell select menu on the side of the screen during battles.
"World Without War?........ No Fun"

Flying Is Simple, You Just Throw Yourself At The Ground, Then Miss.
User avatar
mardracula
 
Posts: 58
Joined: Tue Feb 14, 2012 3:28 pm
Location: Canada, Ontario

Re: Lag within the menu in battle.

Postby zenchronus » Tue Feb 14, 2012 4:37 pm

I've definitely noticed the same issue. It seems that the more new units I lay down while paused, the worse the lag gets. I'll usually lay down 5 or 6, unpause for a second to let the glowy "just placed" animation fade, then pause and place more. There have also been times when the game bogs to a standstill while in pause mode and using the overlay, but again unpausing fixes this.

-zenchronus
zenchronus
 
Posts: 24
Joined: Tue Feb 14, 2012 2:40 pm

Re: Lag within the menu in battle.

Postby mardracula » Tue Feb 14, 2012 4:42 pm

I'm not sure how reliant the game is on Flash, but with bigger and heavier games the lag issues can't be fixed at all because of flash not being able to handle heavy loads. Though I don't know if it's flash uncooperative, or just cluttered code or something along those lines.
"World Without War?........ No Fun"

Flying Is Simple, You Just Throw Yourself At The Ground, Then Miss.
User avatar
mardracula
 
Posts: 58
Joined: Tue Feb 14, 2012 3:28 pm
Location: Canada, Ontario

Re: Lag within the menu in battle.

Postby larsiusprime » Tue Feb 14, 2012 4:49 pm

The game uses the flixel engine, so it can definitely handle more than your regular flash engine, it just might need some optimization. In the future we'll be moving to HaXe, which should get us even faster performance as we can compile that to C++ for the download versions, and still create a flash browser demo.
larsiusprime
 
Posts: 810
Joined: Mon Feb 13, 2012 10:13 am

Re: Lag within the menu in battle.

Postby mardracula » Tue Feb 14, 2012 5:00 pm

Flixel I see now, I have made a couple small things with Flixel, and eventually getting this to C++ would be better, especially since people wouldn't be able to just copy your own code through Sothink. Guessing now since you're using Flixel it is just something in the code.
"World Without War?........ No Fun"

Flying Is Simple, You Just Throw Yourself At The Ground, Then Miss.
User avatar
mardracula
 
Posts: 58
Joined: Tue Feb 14, 2012 3:28 pm
Location: Canada, Ontario

Re: Lag within the menu in battle.

Postby Hueyk » Tue Feb 14, 2012 11:42 pm

I was not able to use the cursor in-game. It lagged a lot whenever I enabled it. I'm on an HP "gaming" laptop (which means it can run high quality graphics games with the settings cranked to ultra-low :P ).

It ran fine when I clicked to use the hardware cursor instead.
Hueyk
 
Posts: 4
Joined: Tue Feb 14, 2012 11:31 pm

Re: Lag within the menu in battle.

Postby flkk » Wed Feb 15, 2012 1:08 am

The flixel cursor is kinda infamous for being laggy. I also disabled it and noticed a decrease in laggyness.
User avatar
flkk
 
Posts: 10
Joined: Tue Feb 14, 2012 7:53 pm

Re: Lag within the menu in battle.

Postby mardracula » Wed Feb 15, 2012 3:39 am

@Hueyk I'm on an HP laptop that can actually run quality games on higher settings, and never had a problem with the mouse. Possibly in could have something to do with the mouse settings in the computer itself that won't let your mouse be changed.
"World Without War?........ No Fun"

Flying Is Simple, You Just Throw Yourself At The Ground, Then Miss.
User avatar
mardracula
 
Posts: 58
Joined: Tue Feb 14, 2012 3:28 pm
Location: Canada, Ontario

Re: Lag within the menu in battle.

Postby larsiusprime » Fri Feb 17, 2012 12:59 pm

I fixed the input lag when mousing over characters. The lag was at about 250 ms before the fix, and I got it down to ~50 ms. Not perfect, but definitely an improvement. You can still notice that the lag is there, but it should be waaaaaay better than it was before, and you can now smoothly "swipe" across all the character buttons.

The fix will be in version 0.8.9
larsiusprime
 
Posts: 810
Joined: Mon Feb 13, 2012 10:13 am

Re: Lag within the menu in battle.

Postby mardracula » Fri Feb 17, 2012 1:02 pm

Thank you, this wasn't a big issue but was annoying at times. Hope that 0.8.9 is released soon. Keep up the good work :)
"World Without War?........ No Fun"

Flying Is Simple, You Just Throw Yourself At The Ground, Then Miss.
User avatar
mardracula
 
Posts: 58
Joined: Tue Feb 14, 2012 3:28 pm
Location: Canada, Ontario

Re: Lag within the menu in battle.

Postby larsiusprime » Fri Feb 17, 2012 1:11 pm

The new schedule is to put new patches out on Mondays, so I have time over the week to deal with any issues that come up and help people who have trouble getting the update.

So this patch should be out on Monday!
larsiusprime
 
Posts: 810
Joined: Mon Feb 13, 2012 10:13 am


Return to Fixed Bugs

Who is online

Users browsing this forum: No registered users and 0 guests