The Dink Network

Reply to Re: Its been awhile...

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
March 16th 2004, 03:51 PM
custom_king.png
redink1
King He/Him United States bloop
A mother ducking wizard 
Merlin, freaking think.

He wants to import a FULL COLOR sprite and tell Windemere "hey, make this grayscale for me".

And likewise, he wants to say "Hey Windemere, load this, say, 256 color bmp and make it 50% transparent".

Hard-coding these attributes into the images themselves leads to bloated file sizes, and much less flexibility.

Also, sometimes it is better to hard-code a frame rate so it is consistent... rather than wildly fluctuate between 30 and 90 FPS, it might be better to limit it to 30. Though this really isn't much of an issue with 2d games.