Tenos's Recent Forum Activity

  • Hey everyone!

    I have a rather strange (according to me) issue. When i'm trying my game on different devices, everything works as intended, except for one thing. On iPad pro and on desktop the audio works fine. But on iPhone X there is a popping sound being present on some of my stages. The music that is playing makes strange random popping sounds as if the speaker was damaged. But this happens on every iphone X I try on. I also have other songs and they do not pop on the iPhone X.

    The only difference between the "popping" songs and the ones without the pop is the kHz. All of the popping songs are in 44.1 kHz and the ones without popping are in 48 kHz. Could this be a problem and are we recommended to use songs with 48 kHz instead of 44.1 kHz?

    I read this in the documentation

    "If you intend to use this value it is recommended to use an FFT size of 1024, because at a system sample rate of 44.1 KHz the value will update about 43 times a second. Games usually run at 60 FPS, and smaller FFT sizes may cause FFT windows to be missed since they change faster than the framerate."

    But I didn't understand how and what I should do with FFT size of 1024.

    Tagged:

  • ThatOneGuy32 Double click the sprite and check the "Loop" box :)

  • Seems like I need your username on Discord as well. Tried with plinkie#4434 but couldn't find you :p

  • You don't create separate sprites but rather you have 1 sprite object copied 3 or 4 times. You then use instance variables. So when you grab each object it links to 1, 2 or 3 of an array and then you make each sprite relate to those numbers. So the 3 sprites plus the 1 one smaller sprite are always in the layout view and you change how they look based on the items you picked from the array etc. Add me on discord #4434 if you want any more help or this will just become a lot of spam.

    Adding you now :D

  • When you first add the 15 items to an array, say at Y=0, you can add the related object at Y=1. So you have Object A at 0,0 and the related object at 0,1. Object B at 1,0 and related object at 1,1. When you pick and delete the object from Y=0 you can also pick the related object at Y=1, say you are doing it in a loop which is likely, the object is at loopindex,0 and related object at loopindex,1.

    Oh yes, this is great! But can I somehow spawn 3 of these 15 objects in 3 separate boxes away from each other and then spawn 1 of the related objects to those 3 in a fourth box below? I have 15 separate sprites for the objects and 15 separate sprites for the related object. Have I done it too complicated?

  • sizcoz I checked out your example. And I'm starting to get a hang of it. But what I still have a problem to figure out is how can I only spawn one of the related objects?

    For example: I have imported 15 different sprites. First I want the array to choose 3 of these 15 sprites and when that is done I want the game to choose 1 of the related items connected to that one specific character. So in this case I want the sprites to be placed in 3 different boxes (cat, horse and dog).

    When this is done I want one related item to be spawned in a different box below the 3 other boxes. The saddle for example. When the user sees the saddle they think "oh, this belongs to the horse" and when they press the horse they have finished the level. Is this possible to execute with arrays or have I done it too complicated?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • sizcoz I will check it out immediately. I'm so happy that you took your time giving me an example :)

  • Sorry for tagging you but you are the only one that has responded on my question.

    I have figured out how to put the objects into the array and how I choose and delete them after that.

    The only thing I can't figure out now is how to relate an item to the spawned object and how to add that one into another array. I can't find any tutorials going through this either. It's so frustrating to be stuck :P

  • This was pretty advanced. Do you have any suggestion on a good tutorial or any other example I can watch to try and learn more about arrays and my specific issue?

  • Thanks for your response! I have no idea how to execute it but I will try and read up on Arrays and see if I can make it happen. Is it ok if I tag you in this thread if I have any questions during my test? :)

  • Hey community!

    I would like to test an experiment but I don't really know how to create it in the first place and I hope perhaps someone here knows the answer :)

    So, I have 15 objects. Everytime the game level starts I want to spawn 3 random of these 15 objects, there can only by one of each object. All of the 15 objects have 1 unique item connected to itself and every time I spawn 3 random of these 15 objects I want there to be 1 unique item spawned below these 3 objects that have spawned. Does it make sense? The unique item has to be connected to one of these three that have already been spawned.

    It should be like, which one of these 3 objects owns this item? And then when you press on the correct one an animation starts and then you get a reward. Picture for visualization :P

  • Thank you so much! This solved my problem. I went with the Scale Outer and Cover options :)

Tenos's avatar

Tenos

Member since 10 Jan, 2019

Twitter
Tenos has 1 followers

Trophy Case

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

Progress

7/44
How to earn trophies