News:

MFG's Character of the Month: October 2026 Nominations

Main Menu

Stage problem

Started by ShiroTori, April 17, 2012, 02:09:50 AM

Previous topic - Next topic

ShiroTori

I'm trying to add animated water to my Collision Chaos stage, but I've run into a problem.

The animation won't tile like the floor of the stage would. Is there a different code for animations?

Here's the current code I'm using in case I need to change it:

[BG water]
type      = anim
actionno   = 1
start      = 0, 262
delta      = .8, 1
tile            = 1, 0
tilespacing     = 0, 0

Arias

#1
the tilespacing for animations should be the width in pixels of your sprites.

let's say........if the water animation is 200x100 pixels then:

[BG water]
type      = anim
actionno   = 1
start      = 0, 262
delta      = .8, 1
tile            = 1, 0
tilespacing     = 200, 0

Dr.Chapatín

If the animation disappears when the player jumps then it may be a small problem coordinates (some unresolved).
Perhaps in this case you have to do the tile yourself  :-\

I got same problem to do this stage. The flame animation dont have tile  --;
Spoiler (click to show)

ShiroTori

Quote from: Margatroid on April 17, 2012, 02:37:39 AM
the tilespacing for animations should be the width in pixels of your sprites.

let's say........if the water animation is 200x100 pixels then:

[BG water]
type      = anim
actionno   = 1
start      = 0, 262
delta      = .8, 1
tile            = 1, 0
tilespacing     = 200, 0

Hey, thanks! It's working properly now.