News:

MFG's Character of the Month: October 2026 Nominations

Main Menu

Stage Problem

Started by Leo116, October 20, 2012, 07:17:12 PM

Previous topic - Next topic

Leo116

Well I read Cybaster's tutorial and started coding stages, I am stuck on a thing.

Spoiler (click to show)

See the kfm standing on the left side, there is a gap in the log which i can't seem to fill. The gap appears there for a second or two then the log appears
Here is my code for the logs:

[BG Boat]
type  = normal
spriteno = 1, 0
layerno = 0             
start = 0, 420
delta = 1.7, 2
mask = 1
velocity = .5, 0
tile = 1, 0
tilespacing = -70, 0

Markpachi

#1
Try changing the boundleft and boundright.

Rest in peace, Tamez. Thank you for everything.

Cybaster

This is a Mugen bug that has a stupid fix : in the SFF, realign your log X-wise to something like x=-50 (or x=+50, try both).
Modify the start parameter in the DEF file if needed, but since you're using tiling here, it doesn't look like it's the case.

Leo116

@[user id=54631]MarkPachi[/user]: Nope, I tried changing boundleft and boundright that didn't work.
@[user id=6590]Cybaster[/user]: I tried the aligning and changed the start position, It still doesn't work.

Cybaster

It should. Realign in the SFF to another value then. Put it really far on the left or far on the right (try both).

Leo116

Still there is a small gap, like for a second.

Markpachi

Are those logs Animated in any way?

Rest in peace, Tamez. Thank you for everything.

Arias

probably because of the negative tilespacing, as retarded as it sounds .........(I've came across with a lot of retarded problems like these), realining the position in the sff usually works if the tilespacing is 0, but for some reason, not anymore with negative values.

I want to suppose each boat is a single sprite right?, then edit the sprite to loop so you can tile it with 0 instead of "-70". if you still have the same problem apply Cybaster's solution, it should work by then.



Leo116

Thanks megatroid, It was because of the tile spacing. I just made the sprite to loop as you said. Pretty much appreciated. Problem solved.