News:

MFG's Character of the Month: September 2026 Voting

Main Menu

Loop after a certain time

Started by Charles_2011, August 19, 2020, 06:45:51 AM

Previous topic - Next topic

Charles_2011

Hello.

I´m added a code that makes the leaves going down, look:



But, I want to repeat that same effect in the same location, because it only happens once. Could you help me?

I´m using this code:

Spoiler (click to show)
[bg 0] ; Leaves - Front
        id=100
   type=normal
   spriteno=0,4
   start=10,40
   delta=.342857,0.5
   tile=1,0
   tilespacing=420,0
   mask=1
   velocity=-0.5,0.3
   ;---
   scalestart=1,0.5
   zoomdelta=0.5

[BGCtrlDef Pos2]
looptime=200
ctrlID=100

[bgctrl 0]
   type=sinx
   time=100
   value=12,900
[bgctrl 0]
   type=siny
   time=100
   value=10,800

Odb718

Going through my Muramasa stage, I find these 2 examples.

[BGCtrl 150x71 DL]
type = velset ;CONTROLLER_TYPE
time = 250,300,707;START_TIME, END_TIME, LOOPTIME
ctrlID = 187,185
x=-3
y=1.42 

[BGCtrl Start Up Spot]
type = posset ;CONTROLLER_TYPE
time = 0,1,787;START_TIME, END_TIME, LOOPTIME
ctrlID = 718,719,715,716
;x=3387 
;y= 290
x=-126;3387 
y=-96; 290

You may want to try and adjust your
Time =
to include 3 values.
vVv Gouken718 vVv SabreTooth718 vVv


Charles_2011

Thank you for the answer my friend, I´ll see what I can do with this code.