Abdizriel's Forum Posts

  • 14 posts
  • vee41

    It still isn't change :(

    When few sounds are playing they should be frame 1, when one of them end that one change frame to 0 rest of them if they're still playing stay on frame 1

    I tryied do loop for each,but I got js errors

  • vee41

    Event unfortanely don't work so good. When I press one button and sound is playing and then press other button, where song is shorter, both turn to sprite 0, not only that one which end but also that one which is still playing.

    If I understand you right with: ". I'd place different buttons as different animations to that single object."

    I've one sprite object with diffrent animation frames for all buttons like there: ge.tt/6vClebw/v/0

  • cvp

    Your solution is good for one button, but what, when each button will have other sound, and they are pressed on the same time?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Hey all, I'm rly idiot because I can't create simple event ><

    There's .capx file with my problem: ge.tt/6vClebw/v/0

    What I want to achieve is that when any user click on button, when sound is playing button frame on that time is number 1, but when it stop, it come back to frame 0

  • LittleStain

    Thanks! I haven't saw that there was "Pick by" event ;3

  • I leave "else: destroy checkbox_true" away and still got problem. I think it's because it check checkbox_false.UID number end even if condition is right it spawning checkbox_true on all checkbox_false.

    I don't know what condition I have to put to spawn checkbox_true on right checkbox_false.UID

    AngelEyes

    Yes all global variables are operating fine. I got onlu problem on start of layout in settings page with spawning checkbox_true

  • No problem, but you should chech number of each level properly, because first level got number 0 not as I thought 1 so I had to do trick with:

    "Level_" & (1+Levels_Button.level)

    When you change values start from 1 to 0, you can switch that action to:

    "Level_" & Levels_Button.level

    Maybe you know how I can solve my problem there: scirra.com/forum/spawn-object-on-start_topic78701.html

  • Hello,

    I've got problem with spawning object on start of layout on option menu, that you can check there: serwer1380436.home.pl/Tower%20Defence

    What I mean:

    I can check checkbox true/false and save settings to global variables but when i go back to player menu and come back to settings checkbox aren't checked, or both of them are checked when one of them is checked.

    What i've got wrong?

    There are screen of events:

    <img src="http://i.imgur.com/Xnm9Rcw.png" border="0" />

    <img src="http://i.imgur.com/hvuPgLv.png" border="0" />

  • I'm making Tower Defence game and I'm targeting PC. I think it'll be good to have one layout and control it via layers. Game menu wouldn't use many sprite, much more will be on each level, so I think each level should be on separate layout.

  • Hello,

    I'd like knwo your opinion about creating game title menu.

    Do you guys think it's better to have each "screen" on other layouts or all on one layout and each screen on other layout?

    I started creating game menu and start screen when user choose play is one layout, after he choose play he's send to log in layout, after that is send to plaer layout with options to choose, settings, upgrade etc that is next layout which send on each button to other layouts. It's good or better to create one layout and these "screens" on layers?

  • Hey,

    ge.tt/6BBGSJw/v/0

    I've fixed that. On every button of leve switch, you send player to first level:

    <img src="http://i.imagebanana.com/img/09u868g1/lvel.png" border="0" />

    It should look like this:

    <img src="http://i.imagebanana.com/img/8fdymniv/lvel.png" border="0" />

  • Paradox thanks for that advice, but I have still problem, when I go to other layout music is playing (when is on) but when I come back to start layout music start playing from begining.

    You can check this there:   http://ge.tt/6GiQqDw/v/0

  • Thanks for your help.

    I should do any global variable if I want have audio control in settings panel of game?

  • Hey all,

    I've got problem with audio.

    There is my .capx file:

    ge.tt/9nP5VAw/v/0

    I want to have on/off button to music. When player click music button, background music is off, and on that button will show mute icon, when he click again on that button, he got back music and mute icon is destroyed.

    I don't know how to fix that ;/

  • 14 posts