trashgg's Recent Forum Activity

  • And what do you know, 20 seconds later I have figured it out. It was my own script just doing what I had told it to do - stop playing the music as soon as the "LoadMenu" variable changes and that happens when you click one of the buttons that is supposed to load a different layout except I hadn't yet made it load the layouts. Disregard this, sorry to bother.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'm building a menu and ran into a slight problem. My menu has background music that starts playing in loop when the layout is loaded but I added a click sound that plays once when you click on the menu buttons and now every time I click a button the music stops. The lick sound works fine though. I bet the issue behind this is tiny but I can't seem to find it. Any help would be appreciated.

  • I still believe that by using a container is more simple to do it, but here you go...

    Thank you. I'll have to try both versions and see how I can make use of them. As you can see I still have a lot to learn.

  • When you spawn, store the UID of the Circle in an instance variable of the Square. When you click the square, Pick the Circle by UID, and do your light-up code.

    I had already stored the UID of the spawned object but have no idea how to pick it by UID. Could you please be more specific? I'm still a bit confused by parameters.

  • I've been searching for hours for a solution to my problem but couldn't find anything. Maybe I need a more simple explanation or maybe I've just overlooked a very simple solution.

    Let's say I have several instances of a Square object in my layout and they each spawn a Circle object somewhere in a random location when the layout is loaded. Now how would I make it so every time a Square is clicked the circle it spawned will briefly light up? I know how to make the Square respond to a mouse click or mouse-over and I know how to make the Circle light up, I just don't know how to build that connection between them.

trashgg's avatar

trashgg

Member since 16 Apr, 2014

None one is following trashgg yet!

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies