News:

MFG's Character of the Month: October 2026 Nominations

Main Menu

Having a problem adding a certain animation

Started by Navana, March 10, 2011, 07:54:58 AM

Previous topic - Next topic

Navana

Currently I am trying to add a star animation to my stage, and for some reason, it isn't showing up.
Here is my code:
Spoiler (click to show)

;                        EDITED STAGE
;=============================================================
;  STAGE INFORMATION :
;
;  Game of Origin :
;  Resolution : 640 * 480
;  Mugen Version : Mugen 1.0 only
;
;  CREDITS :
;
;  Base code generated by Cybaster's automated program :
; --> Website : www.mugenguild.com/cybaster
;
;=============================================================
[Info]
name =""
displayname =""
versiondate =3/9/2011
mugenversion =04,14,2001
author =""
pal.defaults=1,2,3,4,5

[Camera]
startx = 0
starty = 0
boundleft = -192
boundright = 192
boundhigh = -160
boundlow = 0
tension = 100
verticalfollow = .75
floortension = 200
overdrawhigh = 120
overdrawlow = 120
cuthigh = 0
cutlow = 0

[PlayerInfo]
p1startx = -140
p1starty = 0
p1facing = 1
p2startx = 140
p2starty = 0
p2facing = -1
p3startx = -200
p3starty = 0
p3facing = 1
p4startx = 200
p4starty = 0
p4facing = -1
leftbound = -2000
rightbound = 2000

[Bound]
screenleft = 30
screenright = 30

[StageInfo]
zoffset = 474.0
autoturn = 1
resetBG = 0
localcoord = 640, 480
xscale = 1
yscale = 1

[Scaling]
topz      = 0
botz      = 50
topscale = 1
botscale = 1.2

[Shadow]
color = 0,0,0
yscale = .2

[Music]
bgmusic =
bgvolume = 255

[BGdef]
spr = stages/Moonlight_Land.sff
debugbg = 0

[BG image]
type  = normal
spriteno = 0, 0
start = 0,-160
delta = 1,1

[BG image]
type  = normal
spriteno = 0, 1
start = 0,-160
delta = 1,1
trans = add

[BG image]
type  = normal
spriteno = 0, 2
start = 0,-160
delta = 1,1
trans = add

[Files]
sprite=
sound=
anim=
cmd=
cns=
st=
stcommon=
[Arcade]
intro.storyboard=
ending.storyboard=
[BG FOG]
type = normal
spriteno = 1,0
layerno = 1
start = 0,0
delta = 2.25,2
tile = 1,0
tilespacing = 1, 1
mask = 1
trans = add
ID = 2
[BGCTRLDEF 2]
ctrlID=2
[BGCTRL 2,VEL]
type=velset
time=0
x=-.9
[BG stars]
type = normal
spriteno = 2,0
layerno = 1
start = 0,0
delta = 2.25,0
tile = 1,0
tilespacing = 1, 1
mask = 1
trans = add
ID = 3
[BGCTRLDEF 3]
ctrlID=3
[BGCTRL 3, VEL]
type=velset
time=0
x=-.9
Hopefully I can get some assistance on this, thank you in advance.

Cyanide

Why is this in there?

Quote[Files]
sprite=
sound=
anim=
cmd=
cns=
st=
stcommon=
[Arcade]
intro.storyboard=
ending.storyboard=
That shouldn't be there at all. Are you editing stage0.def here? Your position is 0,0 that's top left, does that match with the alignments of your sprites.

Lastly, confirm you have actually given it a palette.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.

Cybaster

He used my stage tool without entering a name for the stage nor his author name.
The next piece of code indeed has nothing to do here.

I have no idea why you're using an ID to apply a simple velset... Try making the sprite appear with no velocity before going to more complex coding.

Riptide

Or just comment all the fancy stuff out until you fix the problem.

Cobra Caddie

Morrigan, if you send the stage to me I'll take a look at it and help you fix it.

Er since my name is changed right now, I'm Caddie and I've made like a billion stages. :P

Cyanide

nuuuuu, needs to learn to fix it themself. Fixing it for them, even if you tell them what was wrong doesn't help that much.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.

Cobra Caddie

For this particular problem, even though I haven't gone over the coding thoroughly yet, I'm taking a wild guess and thinking that it's in the sff file. The only reason I offered to help that way this time is because that's a problem that is hard to fix over a forum. :-X

Navana

Quote from: Bad Mugen Contributor on March 11, 2011, 09:57:51 PM
For this particular problem, even though I haven't gone over the coding thoroughly yet, I'm taking a wild guess and thinking that it's in the sff file. The only reason I offered to help that way this time is because that's a problem that is hard to fix over a forum. :-X
Sent a request on MSN to talk to you.  :)