Play the games, create the levels

Topic, My new image format

Checkout our iPhone & iPad games!

You must register or log in to post a message.

gamelover101 13 years ago
  Can you make it so it doens't need SDL.dll?

And try this:

http://img821.imageshack.us/img821/6754/orbsold.jpg
Hexicube 13 years ago
  lol...easier for colours I cant tell what colour something is in normal numbers
one thing I noticed in my images is that the file size in bytes is always odd :P
allyally 13 years ago
  Hm, Never liked hexadecimals,
Hexicube 13 years ago
  no the colour ID references the stored list of colours in the file
if you open the file in a hex-editor it goes like this:
[1]width(2 bytes)
[2]1 byte and 3 byte colour, or if first byte is 01 then goto 3
[3]1 byte colour ID and 1 byte quantity
so for example:
00 05 00 ff ff ff 00 00 00 00 01 00 02 01 01 00 02
the width is 5(00 05)
there are 2 colours 0:ffffff 1:000000
the pattern goes 00 02, 01 01, 00 02
that pattern means use colour ID 0[ffffff] for 2 pixels, then colour I 1[000000] for 1 pixel, then 2 for another 2
putting in that code into a hex editor will actually make a readable file :P
gamelover101 13 years ago
  Colour id? You mean like #FFFFFF
MartinfraKongsberg 13 years ago
  OK, I misunderstood.
Never mind.
Hexicube 13 years ago
  no wtf is that o.O
this makes images smaller...could be by a LOT depending on the image...
MartinfraKongsberg 13 years ago
  Is it something like this?
PhotoPearls
Hexicube 13 years ago
  all in a days work :P
it did actually only take a day it was just tweaking parts of it afterwards :D
darkrai100 13 years ago
  wow they are cool
Hexicube 13 years ago
  im working on an image format, it works by making a list of all the colours in the image then making pairs of what colour ID and how many times to use it.
this is the program, it's a self-extracting archive that runs a registry file when done(if you dont permit access to the registry it wont work!)
I have the following images converted:
Leaderboard RedYellowGreenBlue CheckPoints

use this to convert BMP, PNG or TGA files to PLT(you download then drag a file onto it)

[<<] [1] [2] [3]

General

First post of the topic

Hexicube 13 years ago
  im working on an image format, it works by making a list of all the colours in the image then making pairs of what colour ID and how many times to use it.
this is the program, it's a self-extracting archive that runs a registry file when done(if you dont permit access to the registry it wont work!)
I have the following images converted:
Leaderboard RedYellowGreenBlue CheckPoints

use this to convert BMP, PNG or TGA files to PLT(you download then drag a file onto it)
Our free flash games   Games for your site   Games for your iPhone   Contact   Twitter @jpsarda & @bonuslevelorg