Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

 
Advanced search

1359020 Posts in 63138 Topics- by 54984 Members - Latest Member: Voni

April 19, 2019, 01:20:57 AM

Need hosting? Check out Digital Ocean
(more details in this thread)
TIGSource ForumsCommunityTownhallForum IssuesArchived subforums (read only)Archived ProjectsBalding's Quest (Moderator: BMcC)I need help with animating tiles.
Pages: [1]
Print
Author Topic: I need help with animating tiles.  (Read 3617 times)
Krack
Level 0
**



View Profile
« on: February 18, 2009, 07:59:04 PM »

Bunch of numbers. I don't know what they represent.

Code:
Tiles/Tile_RedLight01
8 8 0 0
1
0
0 6 0 0
0 3 1 3 2 3 3 3 4 3 5 3
 

I'm guessing the first line is the location of animation.
Help please.
Logged

Krack Kills.
BMcC
Senior Editor, Hero,
Moderator
Level 10
******


Brandon McCartin


View Profile WWW
« Reply #1 on: February 18, 2009, 08:41:43 PM »

Yo!  I should post the file formats somewhere...

Anyway, animated tiles use the same animation file type as any animation in the game (though, the sprite size should be 8x8).

The format goes:
sprite_width sprite_height global_offset_x global_offset_y
number_of_animations
animation_number
loop_animation number_of_frames animation_offset_x animation_offset_y
frame_number frame_length ...
...

I hope this helps!
Logged

Krack
Level 0
**



View Profile
« Reply #2 on: February 19, 2009, 06:14:11 AM »

Thanks!
Logged

Krack Kills.
BMcC
Senior Editor, Hero,
Moderator
Level 10
******


Brandon McCartin


View Profile WWW
« Reply #3 on: February 20, 2009, 07:39:44 AM »

No prob!  You got it working?
Logged

Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic