PNG File Format?

20 views
Skip to first unread message

LouisB

unread,
Jun 5, 2010, 11:27:14 PM6/5/10
to ReplicaIsland Coding Community
Anyone know if there's a certain PNG format/type that the game engine
is looking for when displaying with hardware buffers? Reason I ask -
the PNG I'm using displays good on the emulator, but when I load it on
my G1 all it displays are white blocks. However - If I replace my PNG
with grass.png from replicaIsland it displays the portions of the
image perfectly.

LouisB

unread,
Jun 6, 2010, 10:23:14 PM6/6/10
to ReplicaIsland Coding Community
scratch that - I think maybe my PNG was just a hair too small

Brad Larson

unread,
Jun 7, 2010, 9:18:17 AM6/7/10
to ReplicaIsland Coding Community


On Jun 6, 9:23 pm, LouisB <louisbhi...@gmail.com> wrote:
> scratch that - I think maybe my PNG was just a hair too small

If I remember the code correctly, ReplicaIsland doesn't do any texture
atlas work, so all textures need to be powers-of-2 pixels on each
side.

Bart Hirst

unread,
Jun 7, 2010, 9:20:12 AM6/7/10
to replica-island-...@googlegroups.com
AH!  I bet that's it .  Thank you!!  That one really had me scratching my head :)
Reply all
Reply to author
Forward
0 new messages