Show Achievement in game...

sebmacflysebmacfly Member Posts: 1,018
edited November -1 in Working with GS (Mac)
Hi Gamesaladers! :)

I was wondering on how to show achievements (on the top of the screen), with a banner.

I'm doing it very well for 1 achievement.
But if i have 2 achievements at the same time, my banner is showing the 2 banners at the same time...
I need to show 1 banner and after 10 seconds, the second banner.

In the scene i have only 1 banner that go down to show, and after 2 seconds this banner is going up (for hide).

I have a display text on this banner for every achievement.
So, in case you have 2 achievements at the same time, 2 display text are on the banner and you can't read it good of course.)

Thanks for any help!

Cheers

Comments

  • sebmacflysebmacfly Member Posts: 1,018
    Solution here?
  • sebmacflysebmacfly Member Posts: 1,018
    I'm getting mad, i can't make it work :(
  • LumpAppsLumpApps Member Posts: 2,881
    Make an game attribute (real) and name it bannertime (ore whatever you like0

    In the scene somewhere (could be in the first banner, interpolate can't be stopped so your cool) do
    interpolate game.bannertimer to 10 in 10 seconds (for example depending on how many banner and how long you want to show them).

    Then in banner one:
    rule
    when game.bannertimer = 0.2
    show

    rule
    when game.bannertimer = 2 (so after 2 seconds)
    hide

    In banner 2
    rule
    when game.bannertimer = 2
    show

    rule
    when game.bannertimer = 4
    hide banner

    And so on for all your banners.

    Good luck and don't get mad ;)
  • sebmacflysebmacfly Member Posts: 1,018
    Thanks Ludwig but the problem is not to show the banner...

    In my example, i can have 2 achievements at the same time (exemple 3 stars on 20 levels + 15000 points).

    I need to show the first banner, and after that, i can show the second banner (not at the same time).
  • sebmacflysebmacfly Member Posts: 1,018
    Finally i got it...

    It's a really really cool achievement banner...
    If anybody want the code i can explain it
  • BlackbirdStudiosBlackbirdStudios Member Posts: 493
    sebmacfly said:
    Finally i got it...

    It's a really really cool achievement banner...
    If anybody want the code i can explain it

    I'd like to hear what you did.
  • sebmacflysebmacfly Member Posts: 1,018
    I'm making a project to share it
  • sebmacflysebmacfly Member Posts: 1,018
    How to share a project in the gamesalad.com site?
Sign In or Register to comment.