TwinBlazar's Forum Posts

  • I want to have some values regarding the frequencies of the audio output. Is there some sort of plugin that allows me to get the frequency of the audio output?

  • Correct me if I'm wrong. If all the characters of the font have the same space, like Courier font, then this shouldn't be any trouble, but for fonts with characters with different spacing, adjusting the spaces around could be a pain.

  • I want to talk about the current trend: Tizen competition

    While we have been stressed all the time that mobile devices have limited capabilities, we can't really say whether we will have a performance hit until we tried the actual device. While the post on Tizen competition claimed that it got 93% scirra mark, I'm still looking for the following answers to ensure smoothness of my app on Tizen:

    1. Are there any say on maximum number of instances and sprite size, etc before fps dropped? I got several 128 x 128 sprites, and these will hit performance greatly for older smartphone, but the number of these sprites should not exceed 50. I also got myself some more tiles object for filling in the background.

    2. Is it possible to say that, from number 1, I can run 60 fps with 50 sprites with the size of 128 x 128 with at least 1280 x 720 resolution on Tizen OS? Exclude event sheet for now.

  • I've read all the tutorial and manual about sprite fonts. It's a neat feature, but one question: do we have a tool to convert regular font directly into sprite font format that C2 understands? I see that it's just a texture with all the letters and such, but to work faster, I would prefer a tool.

  • Imagine you are in a disco nightclub. You have loud disco music, the crowd and all.

    Now, imagine you walking out to back of the nightclub. You could still hear the music and all, but all the sounds are contained in the building, so how you hear it will be different from inside.

    So the question is this, if I want to give the player this impression that a disco nightclub is behind him, what are some of the filters I must use on the playing audio?

  • Just curious here, are the number variables we are using double, float, or something else?

    How many digits of number can we go for, until we start to have a little round off error, precision error, etc?

  • I see that these days, computer screen pretty much have 16:9 ratio, you know, those 1900 x 1080 resolution and what not. Mobile devices also have widescreen for landscape perspective. But there are various aspect ratio for many devices. iPhone 4 is 640�960 and the iPhone 5 is 640�1136. All these are different aspect ratio. Ashley has already posted a tutorial regarding this matter at scirra.com/tutorials/73/supporting-multiple-screen-sizes

    I am curious What aspect ratio do you usually use for your game? And I also would like to know what is the most famous aspect ratio right now, for mobile devices (tablet included) ?

  • Aha, do you know the performance of that?

  • Let's say I got 100 birds on screen. The player must draw a line to cover x number of birds and close the line to form a loop. The loop does not have to be a circle but no part of the line shall intersect itself. It could be shaped anything, BUT the line must be closed.

    Now, my actual problem is this: with this closed loop that can be shaped anything, how can I count how many birds are actually inside the loop? The birds' positions scatter randomly and they move around.

  • Dear Ashley, because the Chrome folks demand a HTML5 page for quicker view right away, I've decided to export my project (with all default setting) into HTML5 form provided here: mediafire.com (non-minify version here: mediafire.com

    But surprisingly, if I run this exported HTML5 project in Chrome, I can play any music without any problem, BUT the sound effect OK - 1 (press A) never play no matter what. So we got different result from exported project and running the project from C2 directly.

    On Firefox, everything works correctly. IE also works correctly, and more surprisingly, there are no delays upon requesting for playing the music too. I shall report this to the Chromium thread as well.

  • Dear Ashley, I have opened the issue and I already got some responses. They said they don't have enough information on C2 side (ie. how did you implement the program) to take action, so perhaps you could have a talk with them?

  • I don't have the beta version installed, but from what you described with the 0,0 position, did you set the audio listener object yet?

  • I was writing too fast. A little fix:

    I think this is a preload bug for long audio on Chrome. On Chrome (Version 27.0.1453.116 m), if you play the long music (press X) first, then all sound effects and other music may not be LOADED AND played ever again. (Try press X, then, Z and A to see this) But if you try play any other sound before the long audio, those sounds that have been played can still be played. (Try press A and/or Z, then X, and then try press A and/or Z again to see this)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Link to .capx file (required!):

    mediafire.com

    Steps to reproduce:

    Event sheet has been arranged accordingly in capx above for this bug report. Instruction is provided both in the layout of the capx, as well as here:

    Press A to play a sound effect. Play Z to play a short music (~2 minutes). Play X to play a long music (~5 minutes). Switching between 2 music also stops the other music playing.

    Observed result:

    I think this is a preload bug for long audio on Chrome. On Chrome (Version 27.0.1453.116 m), if you play the long music (press X) first, then all sound effects and other music may not be played ever again. (Try press X, then, Z and A to see this) But if you try play any other sound before the long audio, those sounds that have been played can still be played. (Try press A and/or Z, then X, and then try press A and/or Z again to see this)

    TEST: Chrome may no longer load unloaded audio if the next music is long for 90% of the time. For Firefox, I see that version 21.0 and 22.0 can run perfectly without any problem. IE 10 (version 10.0.9200.16618) has a delay but it does eventually play.

    Expected result:

    All music and other audio on Chrome should still be loaded and played normally.

    Browsers affected:

    Chrome: yes

    Firefox: no

    Internet Explorer: no but the delay is quite long, given the fact that the music is streamed locally.

    Operating system & service pack:

    Win7 ultimate service pack 1

    Construct 2 version:

    r132 64 bits

  • You only create the invisible object on the tile that has respective frame that you want to check. You do this in one go. The number of objects won't be doubled, but yes, it will still increase.

    Actually, ...how many tiles objects do you have anyway? And which device are you actually trying to put this game on?