i have a "spawn" issue...

QbAnYtOQbAnYtO Member Posts: 523
edited November -1 in Working with GS (Mac)
soooooo i have this message that spawns right? when you die,... well NOT YOU but the character in my game lol duh!

it displays "you are dead" i want it to FADE in.

i have INSIDE the "you are dead" actor:

change attribute - self- color-alpha-0

TIMER-after 1 second
--INSIDE TIMER--
change attribute-self-color-alpha-1-duration 1 second.

now this DOES work, but when it spawns the actor its supposed to spawn invisible, then FADE into color right?

but what happens is, when u die, for s SPLIT second u SEE the "you are dead" pop up and disappear at a blink of an eye...THEN if fades in... almost as its not processing fast enough.

funny thing is, i have thee same exact rules on another actor but without the issues..

any suggestions?

Comments

  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    in the you are dead text actor, dont change the alpha to zero at the begining, have it set to 0 from the start.

    You should have a attribute decting when you die to trigger all this so im gonna call it die as a example.

    when die=1 have a timer after 1 second with run to completion checked, then have interpolate attribute self color alpha to 1 with a duration of 1, then where you see it says linear click that and select ease in instead.

    that should work for ya
  • QbAnYtOQbAnYtO Member Posts: 523
    ah i see.... you know something john, maybe its bcuz i stay late (i'm insomniac) but i'ma give you a special kind of "thank you" when i finish my game. u've helped me alot :)

    yea..yea..

    i think i'ma send u a zombie :)
  • QbAnYtOQbAnYtO Member Posts: 523
    another issues i have is when my player dies and it restarts the level, it doesn spawn enemies anymore,
    i have rules and attributes for it ofcourse, but nothing i'm doing workings. ONE STEP FORWARD, TWO STEPS BACK...ALL WEEK

    heres what i have

    on the level actor, which is basically the floor i have:"

    "change attribute game.enemiespawn to YES

    then on the spawner actor itself i have:

    when game.enemiesspawn is YES
    spawn enemies every whatever seconds i have there

    its works first time around, but when i die and restart the level, it seems to die out, it wont spawn enemies :/
  • QbAnYtOQbAnYtO Member Posts: 523
    yup. thats that attribute i'm relying on to spawn my enemies lol still not working tho.
  • QbAnYtOQbAnYtO Member Posts: 523
    tshirtbooth said:
    Before you reset the scene did you change it back to YES?

    _________________________________________________________________________________

    FREE YOUTUBE VIDEOS HERE
    Cut the Rope Style menu Template HERE
    Menu System #2 Template HERE
    Cover Flow and level unlock Template HERE
    Missile Command Template HERE
    Tiki Totem style template HERE
    Labyrinth TemplateHERE

    yes i did. but it wasnt working.

    i'm tried something different. i have it set up so that when the level starts the floor actor will spawn the spawner actor at the top right. this was everytime the level start FORSURE there should b a spawner there to throw enemies at me. but this isn't working either. every time i die and restart, it doesnt spawn anymore enemies at me :(
  • QbAnYtOQbAnYtO Member Posts: 523
    QbAnYtO said:
    ah i see.... you know something john, maybe its bcuz i stay late (i'm insomniac) but i'ma give you a special kind of "thank you" when i finish my game. u've helped me alot :)

    yea..yea..

    i think i'ma send u a zombie :)

    hm.. i finally tried this but it still flashes...
  • QbAnYtOQbAnYtO Member Posts: 523
    JohnPapiomitis said:
    in the you are dead text actor, dont change the alpha to zero at the begining, have it set to 0 from the start.

    You should have a attribute decting when you die to trigger all this so im gonna call it die as a example.

    when die=1 have a timer after 1 second with run to completion checked, then have interpolate attribute self color alpha to 1 with a duration of 1, then where you see it says linear click that and select ease in instead.

    that should work for ya

    i meant to quote this.. sorry... but yea i tried this and it didn't work :/ it still flashes
  • StormyStudioStormyStudio United KingdomMember Posts: 3,989
    on the actor to be spawned.

    - open it, in its attributes, click colour, alpha, and set it to 0.

    - As a test keep your spawn behavior, but delete the fade transparency up to 1 rule.

    Preview, when it should be spawned, it should be invisible. If it is visible for one frame, or fades in you've got another rule doing something somewhere.

    - If it works, and it does not blink for a frame, add a rule in the spawned actor, interpolate attribute color alpha to 1 over 1 second.

    No reason I can think why this would not be working.

    If it still does not work, delete your spawn actor and remake it...
Sign In or Register to comment.