The Daily Click ::. Forums ::. Klik Coding Help ::. help me out with strange lag (download file)
 

Post Reply  Post Oekaki 
 

Posted By Message

Lönnemyr



Registered
  30/06/2008
Points
  69
31st October, 2009 at 00:36:13 -

Ok I just started creating a basic topdown engine, and obviously I`m not a Klickguru.. becuse I`ve already done something wrong. There is nothing fancy, really. It`s very simple, just a tiny game I`m doing for a friend.

It could be my laptop (which is ...9years old) but I don`t have any other computer to try it on right now so please, check it out and maybe someone of you find something I did wrong.

The problem

Try walking around (arrow keys, you could try holding down shift while walking if you like).. I want it to scroll "smoothly" (ofc), but I experience alot of lag.. which is strange since I just started and I can`t see how these few events and actives could make the game lag.


I use mmf2.. and sorry about megaupload, I didn`t know any other place to upload it.

http://www.megaupload.com/?d=9DKLTIMJ



 
-

AndyUK

Mascot Maniac

Registered
  01/08/2002
Points
  14586

Game of the Week WinnerSecond GOTW AwardHas Donated, Thank You!VIP Member
31st October, 2009 at 02:55:36 -

the problem seems like your laptop simply isnt powerful enough to scroll a window the size of 660x500 in 16 million colours mode. Its not that your laptop is crap or anything, just that MMF2's runtime is a bit inefficient at scrolling.

First things first see if using less colours speeds it up a bit. If its still too slow you might want to consider using a smaller in game resolution.

 
.

Assault Andy

Administrator
I make other people create vaporware

Registered
  29/07/2002
Points
  5686

Game of the Week WinnerVIP Member360 OwnerGOTM JUNE - 2009 - WINNER!GOTM FEB - 2010 - WINNER!	I donated an open source project
31st October, 2009 at 05:02:48 -

I used to get lag on my desktop when I scrolled in MMF 1.5. That computer is about 9 years old aswell. So it is probably just your laptop, like AndyUK said.

 
Creator of Faerie Solitaire:
http://www.create-games.com/download.asp?id=7792
Also creator of ZDay20 and Dungeon Dash.
http://www.Jigxor.com
http://twitter.com/JigxorAndy

Lönnemyr



Registered
  30/06/2008
Points
  69
31st October, 2009 at 16:06:10 -

Thanks guys! If it`s my laptop (I figured it was), it´s not really a problem since I`m not the one who is supposed to play the game. Playtesting might be a pain in the *** though.. =

Now when you mention it I don`t think I`ll need 16million colors since I`ll try go for an oldschool feeling anyway. If that does not cut it I guess I use another resolution as you said.

Does anyone of you exactly which colors the snes used? I`d like it to look snes..


Thanks agan!

 
-

UrbanMonk

BRING BACK MITCH

Registered
  07/07/2008
Points
  49667

Has Donated, Thank You!Little Pirate!ARGH SignKliktober Special Award TagPicture Me This Round 33 Winner!The Outlaw!VIP MemberHasslevania 2!I am an April FoolKitty
Picture Me This Round 32 Winner!Picture Me This Round 42 Winner!Picture Me This Round 44 Winner!Picture Me This Round 53 Winner!
31st October, 2009 at 16:33:26 -

8 bit, 256 colors

 
n/a
   

Post Reply



 



Advertisement

Worth A Click