Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - guillaumeD

#1
Game art & music / Re: FF Tiles and sprites
August 23, 2015, 04:45:00 PM

I suppose that color palette is used to limit amount of memory used and be able to speed up layers drawing on screens.
a dedicated alpha channel for transparency means 25% more data and more computation time also.
A dedicated color to do so was an easy way to skip pixel drawing, and also an easy way to edit sprites.

Ok, nowadays those arguments do not count anymore. We got Terabyte storage, Gigabyte of memory and Ghz of cpu clock ...
Moreover, we got dedicated hardware (graphic cards) optimized for this computation :)

#2
Game art & music / Re: FF Tiles and sprites
August 20, 2015, 10:43:49 AM

For the moment it is just some java source files configured for my needs.
I Use it to extract tiles, not animation right now.
On a screenshot, it take a piece of 8x8 pixel, store them as a tile and continue on the next one ... If a tile already exists it is skipped.

I Use the "disable layer X" on zsnes to improve some tile overlay when needed (tiles with transparency). So that screenshot got black background. I notice that black color (0x000000) is not used on tiles. Maybe used as a transparency marker ?

For animations, sources can be modified easily to detect main character tile changes between two or more screenshot
Actualy, Character or any other tile animation. As far as the tiles are on the same position.

I will do more configurable options and try to publish sources on github if it can help others.

#3
Game art & music / FF Tiles and sprites
August 15, 2015, 04:48:00 PM
Tried to experiment Solarus and sprites.

I made a hero sprite of Terra from Final Fantasy 3 (US/snes).


And here the walking definition.
animation{
  name = "walking",
  src_image = "hero/walking.tunic.png",
  frame_delay = 200,
  frame_to_loop_on = 0,
  directions = {
    { x = 0, y = 30, frame_width = 16, frame_height = 24, origin_x = 8, origin_y = 21, num_frames = 4 },
    { x = 0, y = 90, frame_width = 16, frame_height = 24, origin_x = 8, origin_y = 21, num_frames = 4 },
    { x = 0, y = 60, frame_width = 16, frame_height = 24, origin_x = 8, origin_y = 21, num_frames = 4 },
    { x = 0, y = 0, frame_width = 16, frame_height = 24, origin_x = 8, origin_y = 21, num_frames = 4 },
  },
}



I'd like to prepare a resource pack for solarus with tiles and sprites of Final Fantasy.
I made a tool that load a screenshot and detect unique sprite (8x8) on it.
So I can play with a snes emulator, make so screenshot and create sprites quite easily ...

Solarus is really cool, even if a lot of things seems to be coded from zelda gameplay such as sprites names and animations (tunics, grabing, swimming ...)