StudioGJ's Recent Forum Activity

  • I've found the solution: I do need to set the size of the array on the start of the layout.

  • I have the following construction:

    On a start of a lay-out, I fill an array with a few values.

    In the lay-out on a given moment, a value gets removed:

    When I restart the lay-out, I want the array is refilled/ reset. However, the values that where removed don't show up again in the array. How can i make this work?

  • Thank you! This is great!

  • Hi blackhornet, thank you! Can you give me a more specific example how to achieve this? Thank you!

  • Hello,

    In my game I have an array with 3 values (10, 11, 12). These values correspondent with an instance value of a sprite (for example an enemy sprite with an instance value of EnemyID = 10).

    I would like the following: when an enemy is destroyed, I want the corresponding value removed from the array. So if enemy with EnemyID = 10 is destroyed, remove the index from the array where the value is 10.

    Is this possible? How can I achieve this?

  • Hello,

    I need some help with a mask. I've created a black sprite and set the blend mode to "Destination atop". Another sprite that overlaps this sprite is only visible on the part where they overlap.

    however, what I would like is that the black mask is also invisible (so the background becomes visible), while maintaining the mask effect . How do I achief this?

    See example:

    http://www.studiogj.nl/blend.PNG

  • Hello Everybody!

    I have a background music in my game, when the user wins, I want to stop the backgound music, and play a victory music. So I stop the music effect and start another. However, the result is just some noise playing. When i click a button to go to a next level, the music plays fine. Does anybody know what the problem is?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Wow, that was fast! I will look into the container option. However, just for curiosity: how can I achieve the same effect with the instance variables?

  • Hello there!

    In my game, I have 3 "pairs" of objects. What I would like to do, is when a object is destroyed a specific other object also gets destroyed. So:

    Object A - Object1

    Object B - Object2

    Object C - Object3

    When object A is destroyed, Object1 gets automatically destroyed. The same for Object B and 2 etc. How would I achieve this? Should I set an instance variable on Objects A, B, C with the UID of Objects 1,2,3, and then..?

    I hope I make sense

  • Thank you very much!

  • Thank you alextro! Can you give me an example how I would do that? Is there a way to detect wich layout is active? For example: if layout x is active then number of enemies = x?

  • Hi there!

    I'm working on my first game ever! So far i've created a basic game with a win condition and a lose condition. What I would like to do is to create multiple levels. What is the best way to do this? Should I create multiple lay-outs with the same Event sheet linked? If so, how can I set variables for that level like the number of enemies etc?

    Thank you very much!

StudioGJ's avatar

StudioGJ

Member since 17 Nov, 2016

None one is following StudioGJ yet!

Trophy Case

  • 8-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

10/44
How to earn trophies