tulamide's Recent Forum Activity

  • I imagine the .exe issue is just an anomaly. I seem to catch all the anomalies with things for some reason <img src="smileys/smiley7.gif" border="0" align="middle" /> I feel with you. I really do. As it happens in other areas quite often to me, too.

  • -Silver-

    My bad, I misunderstood <img src="smileys/smiley1.gif" border="0" align="middle" /> (Sad, that I use an XBox360 and didn't immediatly understand) Oh, and check your inbox <img src="smileys/smiley2.gif" border="0" align="middle" />

    MrMiller

    I see. I was active in 2010 but not as experienced as nowadays. I also might not have found a solution. However, it seems to only have happened to you? That might point to not being a bug but some issue under exact circumstances that occur rarely?

    One can't say much by just running an executable. Would you be so kind and point me to that thread? I'm just curious and would like to examine the .cap and the used sound files.

  • And while you are at it, Tom, why not changing the ugly 90's style shadowed headlines as well? <img src="smileys/smiley2.gif" border="0" align="middle" />

    (My eyes really hurt <img src="smileys/smiley17.gif" border="0" align="middle" /> )

  • Wow, just took a few weeks off and on returning the forum is changed to such an ugly design and the alpha version is released!

    I really doubted the quality of the song, it helps my self confidence to read positive comments about it.

    -Silver- has done a very good job so far. I was in love with the wolf from day one.

    MrMiller

    What do you mean by "that itself has been buggy"? I never had issues of any kind. Also, I once made a tutorial about the XAudio2's peak and rms functions. If you read it to the end you will find a little gift, that might help developing code that uses music on sound channels, which offers plenty of new possibilities to handle music.

    -Silver-

    I wouldn't recommend using the "y"-key. Different languages use other key layouts. For example, the "z" and "y" key are swapped between english (qwerty-layout) and german (qwertz-layout) keyboards. There are also azerty- and qzerty-layouts. As long as CC doesn't report key-codes but characters, it might be best to let the user decide which keys to use?

  • Else was always buggy in Cc. I would guess that's what the issue is."Else" never was buggy in CC! It just doesn't work with human logic but computer logic. The greatest difference in that logic is that "else" doesn't pick. Which causes most of the problems CC developers have using "else".

  • Keep in mind that "Verve!" doesn't load in Construct 2 (104). At least not here anyway.You're right, it is a CC project. But on the other hand, this is the CC help forum ;)

  • You're mixing resources and files in the description. So I'm not sure, what you heading for.

    Sound file play: You need to make sure that the files exist at AppPath & "xx.wav". AppPath always points to the directory, where the .cap or .exe exists. If you didn't save the .cap before running it, AppPath isn't valid.

    Sound resource play: You need to add the sounds to the files folder in the project tab and have to use the "load resource" actions.

    The two events you posted are quite a mess <img src="smileys/smiley2.gif" border="0" align="middle" />

    You seem to have a xaudio object called "1_XAudio2" and load the file to it. But then you try to play it on an object called "2_XAudio2", which never had any files loaded to its channels.

    Summary: Place all your sounds in the correct folder on disc. Use just one XAudio2 object. Correct the two events to only load and play on this one XAudio2 object. Save the cap before running.

  • Either I'm using it wrong, or the action isn't working as intended.Neither <img src="smileys/smiley1.gif" border="0" align="middle" />

    I know the action works correctly, because I use it so many times. For example in the example game "Verve!", or in the day-night-cycle demo of the Color Fusion (Masked) effect. Both of them downloadable (is this a valid word?) somewhere on the forums.

    But I remember that I also had a lot of problems when trying to animate parameters of the warp effect. It seems to be the effect itself. Normally, I'd advise you to contact the author. But in this case it's Ashley, and I'm pretty sure he won't have time to look after it.

    I'll send you a pm.

  • Yes, it is possible. You find the action under system/layer/set layer effect param

    Just make sure you enter effect name and parameter name exactly as you see them in the layer effect properties <img src="smileys/smiley1.gif" border="0" align="middle" />

  • The most important points on optimisation are already posted. I just want to point to an additional argument that is most often underestimated. You asked if there is any advantage in reducing from, say, 3000 to 2000 events, even if everything is working as before, game-speed-wise. There is! The leaner your event sheets the lower the risk of losing overview. You might not be able to maintain your game with redundant or not-so-optimised events.

    Let's say you have quite a few events for the movement of the player char. You can of course enter those events over and over again, wherever they are needed. But if you create a function instead and call that function wherever needed, you gain massive programming advantages. For example, if a change is to be made you only need to change once. Just that one function, no matter how often you use it in the event sheet.

    And if you put those functions on their own event sheet and include it into each layout where it is needed, it is again a lot easier to maintain the code.

    In addition, add comments as much as possible and enter a description for your groups. You might think that you know what the groups are for or those special events do. But if you release the game, work on something else and then later need to go back to the other game, because players reported bugs, you might not exactly remember.

    In short: Less and good commented code = better maintainability

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Anyone know where I can buy a new F5 key? <img src="smileys/smiley2.gif" border="0" align="middle" /> <img src="smileys/smiley36.gif" border="0" align="middle" />

  • Tokinsom

    Thank you! Yes, there are lots of ways, modulus can serve well.

    I try to think of examples, but it's sometimes hard to build something, when you just wanted to quickly share some tricks.

    Also, aren't "conditionals" called ternary operations?That may very well be so (and Wikipedia says it is^^). I learned about it not before using Construct, so I used the phrase Ashley used too.

tulamide's avatar

tulamide

Member since 11 Sep, 2009

Twitter
tulamide has 3 followers

Trophy Case

  • 15-Year Club
  • Coach One of your tutorials has over 1,000 readers
  • Email Verified

Progress

17/44
How to earn trophies