Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[solved] How to change the background while doing a skill?
#1
I've began learning to DC , I wanna know how to change the background while performing a skill ?

like when I hit DVJ I want the background to change while my character is doing a skill ..

how?

EDIT : Example :

[Image: itachigenjutsu.gif]

how it changed to black?
Reply
Thanks given by:
#2


You opoint a t3(ball)/5 with no body and big pic while doing this attack. This ball will last for about 3-2 seconds I guess. use short vaule like meh 60/59 = 2 seconds.

Its need hit_j: 1 or mor eI think to make appear behind the character.

Edit: thanks.
Reply
Thanks given by: kane
#3
Actually, it would be hit_j: 1. But otherwise, what HappyHour said.
FOLLOW THE RULES!

LFE Forum Rules (Click to View)
Grand Fonic Hymn - Orchestral Arrangement. Arranged by me. I promise it's not horribad.
Reply
Thanks given by: kane
#4
hit_j: 1? i thought it should be around 45-49 or 51-54(i dunno wich one), so the ball will move upside the z edge and appear behind the character..
Reply
Thanks given by:
#5
hit_j: 1 to appear behind all the chars; what drahcir and happyhour said
[Image: UB2.gif]
FrozenFiren|Devid|Sprites

News of the day 19th Sep 10: Someone's back on track
Reply
Thanks given by: kane
#6
uhm... actually hit_j: 1 means the T3 is moving with 49 px speed per frame upwards.
I don't know whether it has a special "always display behind" effect, but if the wait is 2 or bigger, the pic will of course move to the upper edge ^^
My Creations: (Click to View)

Return (String) System.getNewsOfTheDay();
Barely active, expect slow responses. If at all.


Greetz,
Alblaka
Reply
Thanks given by:
#7
You can use hit_j: 49 too if you want.
Only thing that hit_j: 1 does is, that it move extremely fast. That way it looks like it immediatly appears on the highest z-value, a.k.a. background.
Reply
Thanks given by: Alblaka , kane
#8
(09-19-2010, 09:15 AM)Alblaka Wrote:  I don't know whether it has a special "always display behind" effect, but if the wait is 2 or bigger, the pic will of course move to the upper edge ^^

Objects will be drawn over each other in regard to their z-position. Only if they're on the same line (z-wisely), something weird will happen (I think, it'll then matter who spawned first. Don't drag me to court for that theory, tho).

So yeah, the method has been explained already. What I would like to amend is that large images can very likely crash the game during loading (note that it's not always; only from time to time). Just so you know what to expect.
Silverthorn / Blue Phoenix
~ Breaking LFE since 2008 ~

"Freeze, you're under vrest!" - Mark, probably.

» Gallery | » Sprites | » DeviantArt
Reply
Thanks given by: kane
#9
I just wanted to ensure "hit_j: 1" wasn't a special tag.
If it's not, it will cause the object to move behind everything behind (being displayed as background).

And if you keep the hit_j:1 in all frames, it should be displayed behidn everything permanently.

@the pic size:
I usually make pics of 1500x700 to cover whole screen, works fine ^^
Just load that pic and opoint it every 1500 px. That way the picsize isn't too large, but everything is still covered.
My Creations: (Click to View)

Return (String) System.getNewsOfTheDay();
Barely active, expect slow responses. If at all.


Greetz,
Alblaka
Reply
Thanks given by: kane
#10
Thanks everyone , I'll try to understand .
Reply
Thanks given by:




Users browsing this thread: 2 Guest(s)