Users browsing this thread: 3 Guest(s)
Koh's New Sprite Joint
#30
If you're referring to the graphics, regardless of the graphics option people choose to use, to scale properly with full screen or such, that's taken care of automatically. But if you're referring to using a filter like hq2x to get the higher res graphics for the other options, no, that's not happening. That filter does not have good output. The graphics will be separated into three separate files. For example, Koh0.png, Koh1.png and Koh2.png, which are Lo, Mid and Hi respectively. The game imports the proper files based on the graphics setting the player chooses (because the variable itself is just a value between 0-2, inclusive).

As for what each file would look like, to minimalize or totally negate the kind of roundabout coding you'd need to do to accommodate the use of extra frames for the higher resolutions, the lower resolutions just repeat frames as necessary, and are scaled up to their requisite size in the file. So for example, walking, as established earlier in the thread, consists of 4 frames for Lo (which needs x4 scaling), 8 for Mid (whih needs x2 scaling) and will have 16 for Hi (which doesn't require any scaling). This means in the Lo file, each of the 4 frames repeats 4 times. In the Mid file, each of the 8 frames repeats 2 times. For Hi, all of the frames would be unique.

The filesizes themselves actually don't get that large, since PNG is a file format that is the best suitable for sprites, due to having an alpha channel and no quality loss. BMPs are huge, and JPGs/GIFs get nasty compressions.

When the game first starts, it'll go through a "First Launch" routine, that asks you to choose which graphics option you want. From there on, it'll read from the options data file. The setting can be changed at any time, even mid-game.

EDIT: I am getting an idea that might negate the need to repeat the frames in the lower resolution, and their pre-scaling actually. It involves a little fun with some algebra, but I'm wondering if it'll work out graphically.
[Image: tamerkoh.gif?9][Image: DevBanner.png][Image: Youtube.gif]DLBROOKS33
Reply
Thanked by:


Messages In This Thread
Koh's New Sprite Joint - by Koh - 07-06-2014, 04:32 PM
RE: Koh's New Sprite Joint - by Dazz - 07-06-2014, 04:50 PM
RE: Koh's New Sprite Joint - by Gors - 07-06-2014, 05:03 PM
RE: Koh's New Sprite Joint - by Gwen - 07-06-2014, 05:27 PM
RE: Koh's New Sprite Joint - by Koh - 07-06-2014, 05:45 PM
RE: Koh's New Sprite Joint - by Kelvin - 07-07-2014, 09:16 AM
RE: Koh's New Sprite Joint - by Koh - 07-07-2014, 10:13 AM
RE: Koh's New Sprite Joint - by Kelvin - 07-08-2014, 01:40 PM
RE: Koh's New Sprite Joint - by AuraLancer - 07-08-2014, 11:13 AM
RE: Koh's New Sprite Joint - by Dazz - 07-08-2014, 02:30 PM
RE: Koh's New Sprite Joint - by Koh - 07-08-2014, 02:34 PM
RE: Koh's New Sprite Joint - by Quotient - 07-08-2014, 03:12 PM
RE: Koh's New Sprite Joint - by Koh - 07-12-2014, 07:05 AM
RE: Koh's New Sprite Joint - by Paladin - 07-12-2014, 02:56 PM
RE: Koh's New Sprite Joint - by Vipershark - 07-12-2014, 03:59 PM
RE: Koh's New Sprite Joint - by Koh - 07-12-2014, 04:29 PM
RE: Koh's New Sprite Joint - by Koh - 07-15-2014, 09:36 PM
RE: Koh's New Sprite Joint - by nicktheslayer - 07-15-2014, 09:41 PM
RE: Koh's New Sprite Joint - by Koh - 07-16-2014, 12:00 PM
RE: Koh's New Sprite Joint - by TheShyGuy - 07-16-2014, 02:35 PM
RE: Koh's New Sprite Joint - by Koh - 07-16-2014, 03:55 PM
RE: Koh's New Sprite Joint - by TheShyGuy - 07-16-2014, 05:08 PM
RE: Koh's New Sprite Joint - by Koh - 07-16-2014, 06:33 PM
RE: Koh's New Sprite Joint - by Kelvin - 07-17-2014, 09:56 AM
RE: Koh's New Sprite Joint - by Koh - 07-17-2014, 04:30 PM
RE: Koh's New Sprite Joint - by Koh - 07-17-2014, 07:43 PM
RE: Koh's New Sprite Joint - by Koh - 07-18-2014, 05:25 PM
RE: Koh's New Sprite Joint - by Kelvin - 07-19-2014, 09:42 AM
RE: Koh's New Sprite Joint - by Koh - 07-19-2014, 10:01 AM
RE: Koh's New Sprite Joint - by Kelvin - 07-20-2014, 09:52 AM
RE: Koh's New Sprite Joint - by Hoeloe - 07-26-2014, 04:21 AM
RE: Koh's New Sprite Joint - by Koh - 07-20-2014, 10:42 AM
RE: Koh's New Sprite Joint - by Koh - 07-26-2014, 08:05 AM
RE: Koh's New Sprite Joint - by Koh - 08-14-2014, 09:16 AM
RE: Koh's New Sprite Joint - by recme - 08-14-2014, 11:29 PM
RE: Koh's New Sprite Joint - by Koh - 08-15-2014, 07:04 AM
RE: Koh's New Sprite Joint - by recme - 08-15-2014, 12:15 PM
RE: Koh's New Sprite Joint - by Koh - 08-18-2014, 07:14 AM
RE: Koh's New Sprite Joint - by Koh - 08-22-2014, 01:25 PM
RE: Koh's New Sprite Joint - by Koh - 09-01-2014, 07:36 PM
RE: Koh's New Sprite Joint - by Gors - 09-02-2014, 06:55 PM
RE: Koh's New Sprite Joint - by Koh - 09-02-2014, 08:01 PM
RE: Koh's New Sprite Joint - by TheShyGuy - 09-02-2014, 09:09 PM
RE: Koh's New Sprite Joint - by Koh - 09-03-2014, 10:41 PM
RE: Koh's New Sprite Joint - by Neweegee - 09-04-2014, 02:27 PM
RE: Koh's New Sprite Joint - by Koh - 09-08-2014, 06:21 AM
RE: Koh's New Sprite Joint - by Koh - 09-25-2014, 10:58 AM
RE: Koh's New Sprite Joint - by E-Man - 09-25-2014, 11:25 AM
RE: Koh's New Sprite Joint - by Koh - 09-25-2014, 11:29 AM
RE: Koh's New Sprite Joint - by Koh - 09-28-2014, 05:53 PM
RE: Koh's New Sprite Joint - by DragonDePlatino - 09-28-2014, 09:24 PM
RE: Koh's New Sprite Joint - by Crappy Blue Luigi - 09-28-2014, 10:03 PM
RE: Koh's New Sprite Joint - by Koh - 10-21-2014, 05:26 PM
RE: Koh's New Sprite Joint - by recme - 10-21-2014, 07:01 PM
RE: Koh's New Sprite Joint - by Sevenstitch - 10-21-2014, 07:53 PM
RE: Koh's New Sprite Joint - by Koh - 10-21-2014, 08:37 PM
RE: Koh's New Sprite Joint - by Koh - 11-04-2014, 12:22 PM
RE: Koh's New Sprite Joint - by Koh - 11-07-2014, 07:53 AM
RE: Koh's New Sprite Joint - by Kelvin - 11-07-2014, 07:37 PM
RE: Koh's New Sprite Joint - by Koh - 11-08-2014, 06:47 AM
RE: Koh's New Sprite Joint - by Kelvin - 11-10-2014, 08:14 AM
RE: Koh's New Sprite Joint - by Koh - 11-10-2014, 10:10 AM
RE: Koh's New Sprite Joint - by Koh - 11-29-2014, 09:12 PM
RE: Koh's New Sprite Joint - by Koh - 11-30-2014, 08:58 AM
RE: Koh's New Sprite Joint - by recme - 11-30-2014, 01:13 PM
RE: Koh's New Sprite Joint - by Koh - 11-30-2014, 09:35 PM
RE: Koh's New Sprite Joint - by Kelvin - 12-01-2014, 04:33 PM
RE: Koh's New Sprite Joint - by Koh - 12-01-2014, 06:42 PM
RE: Koh's New Sprite Joint - by Pik - 12-01-2014, 06:46 PM
RE: Koh's New Sprite Joint - by Neweegee - 12-01-2014, 08:01 PM
RE: Koh's New Sprite Joint - by recme - 12-01-2014, 08:01 PM
RE: Koh's New Sprite Joint - by Kelvin - 12-01-2014, 08:09 PM
RE: Koh's New Sprite Joint - by Koh - 12-02-2014, 11:27 AM
RE: Koh's New Sprite Joint - by Koh - 12-06-2014, 08:14 PM
RE: Koh's New Sprite Joint - by Koh - 12-09-2014, 06:06 PM
RE: Koh's New Sprite Joint - by Koh - 12-09-2014, 11:18 PM
RE: Koh's New Sprite Joint - by recme - 12-10-2014, 03:57 PM
RE: Koh's New Sprite Joint - by Koh - 12-10-2014, 10:31 PM
RE: Koh's New Sprite Joint - by Kelvin - 12-11-2014, 02:58 PM
RE: Koh's New Sprite Joint - by recme - 12-11-2014, 05:10 PM
RE: Koh's New Sprite Joint - by Koh - 12-11-2014, 05:50 PM
RE: Koh's New Sprite Joint - by Koh - 12-13-2014, 08:40 PM
RE: Koh's New Sprite Joint - by Koh - 01-29-2015, 01:04 PM
RE: Koh's New Sprite Joint - by Gors - 01-29-2015, 02:37 PM
RE: Koh's New Sprite Joint - by Koh - 01-29-2015, 02:51 PM
RE: Koh's New Sprite Joint - by Koh - 01-31-2015, 10:32 AM
RE: Koh's New Sprite Joint - by Mors - 01-31-2015, 08:14 PM
RE: Koh's New Sprite Joint - by Koh - 02-02-2015, 06:54 AM
RE: Koh's New Sprite Joint - by DragonDePlatino - 02-02-2015, 05:40 PM
RE: Koh's New Sprite Joint - by Kelvin - 02-02-2015, 02:05 PM
RE: Koh's New Sprite Joint - by Koh - 03-23-2015, 02:45 PM
RE: Koh's New Sprite Joint - by Shade - 03-24-2015, 02:19 PM
RE: Koh's New Sprite Joint - by Koh - 04-24-2015, 04:51 PM
RE: Koh's New Sprite Joint - by Gors - 04-24-2015, 06:16 PM
RE: Koh's New Sprite Joint - by Koh - 05-18-2015, 09:17 PM
RE: Koh's New Sprite Joint - by Brutus - 05-19-2015, 12:26 PM
RE: Koh's New Sprite Joint - by Koh - 05-23-2015, 09:26 AM
RE: Koh's New Sprite Joint - by Quirby64 - 05-23-2015, 02:02 PM
RE: Koh's New Sprite Joint - by Koh - 08-23-2015, 10:27 AM

Forum Jump: