MAMEWorld >> Programming
Previous thread Previous  View all threads Index   Next thread Next   Flat Mode Flat  

krick
Get Fuzzy
Reged: 02/09/04
Posts: 4235
Send PM
Re: lmao
09/03/09 10:35 AM


From the comments...


My favourite comes from an N64 game. Rendering all the text in the debug menu was slowing the game to a crawl, making it hard to debug other issues. The number of characters being rendered each frame had to be reduced.

What could be more obvious? Only render every second letter! But alternate, so that on even numbered frames, you render even-numbered letters, and on odd-numbered frames, you render odd-numbered letters!

This leaves you a flickery, but fast and usable, debug menu.



GroovyMAME support forum on BYOAC







Entire thread
Subject Posted by Posted on
* Dirty Coding Tricks Andrew 08/31/09 01:09 PM
. * Re: Dirty Coding Tricks Moose  12/23/09 06:14 AM
. * lmao Sune  09/03/09 05:12 AM
. * Re: lmao krick  09/03/09 10:35 AM
. * Re: lmao StilettoAdministrator  09/03/09 05:14 PM
. * Re: lmao keshbach1  09/03/09 11:12 PM
. * Re: lmao Moose  10/09/09 02:55 PM
. * Re: lmao R. Belmont  10/14/09 08:16 PM
. * Re: lmao AaronGiles  10/15/09 04:52 AM
. * Re: lmao GamesMaster  10/26/09 05:39 AM
. * Re: lmao Heihachi_73  11/03/09 01:49 PM
. * Re: lmao R. Belmont  10/15/09 04:22 PM
. * Re: lmao PiModerator  09/05/09 02:33 PM
. * Re: lmao JWallace  09/04/09 06:39 PM

Extra information Permissions
Moderator:  Pi 
0 registered and 39 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 5892