C-7's Recent Forum Activity

  • Don't go nuts with it, but it could draw in a little bit of a wider audience--not everyone likes the same things. It could also increase replayability and potentially the social aspect of people sharing secrets (which translates to more plays). Don't let it interrupt the flow of gameplay, but there's nothing wrong with rewarding players that put just a little more into their play experience.

  • I just give them an instance variable (I call it "which") and then assign them a number myself (1, 2, etc.). Then I just say

    If door.which =1

    Then do whatever you want.

  • Compress your audio smaller and get rid of your wav files. As far as I can tell, you don't need the wav files for anything. Keep the m4a and ogg's, though.

  • I really hate to say it, but paper works great for me   <img src="smileys/smiley26.gif" border="0" align="middle" />

  • Oh, look! A cave!

    <img src="http://www.adamprack.com/couriermedia/cave.jpg" border="0" />

  • Now for something darker:

    <img src="http://www.adamprack.com/couriermedia/cave.jpg" border="0" />

  • > You may want to learn to just skip it all together and just do it yourself so you can have more freedom. You can do it a number of ways--one of the easiest being make a private variable on the object you want to fade.

    >

    > If Object.Variable = 1    ----> set opacity to Object.Opacity+200*dt

    > and Object.Opacity < 100

    >

    > (you can change the 200 to whatever you want).

    >

    > Then to fade out just set the variable to 0 and do:

    >

    > If Object.Variable = 0    ----> set opacity to Object.Opacity-200*dt

    > and Object.Opacity > 0

    >

    > So I do like the two Tween plugins, but for simple fades just do it that way and save yourself the overhead. A single event for either direction takes care of everything.Excellent!

    * Steals code and runs *

    C-7 is this better than the included Fade behavior??

    No clue, but it's super easy and you can use the same code for pretty much anything and make it framerate independent. Ie use Object.X instead to move. Your next step is to do similar stuff with lerp to make it look even better. <img src="smileys/smiley17.gif" border="0" align="middle" />

  • A note on music:

    Some people may have noticed that Courier's music transitions seamlessly between indoor/outdoor as well as around in the village area and out into the forest. Most of the music, where appropriate, will be following this pattern so everything feels more connected. It's a fun effect and I definitely recommend it to anyone making a little bit bigger game to increase immersion.

    You may have seen it, but I wanted to share my example for how to do that in this thread so people could see how to do it. The example switches between six different audio versions and, intentionally, works with different instrumentations to make the change more noticeable for everyone. You can see how I do it and make it work on browser's that don't support the web audio api here: http://www.scirra.com/forum/adaptive-music-seamless-transitions_topic75472.html

  • #3 for sure. I've always missed that from working with other engines and it's a small pain working around it.

  • You may want to learn to just skip it all together and just do it yourself so you can have more freedom. You can do it a number of ways--one of the easiest being make a private variable on the object you want to fade.

    If Object.Variable = 1    ----> set opacity to Object.Opacity+200*dt

    and Object.Opacity < 100

    (you can change the 200 to whatever you want).

    Then to fade out just set the variable to 0 and do:

    If Object.Variable = 0    ----> set opacity to Object.Opacity-200*dt

    and Object.Opacity > 0

    So I do like the two Tween plugins, but for simple fades just do it that way and save yourself the overhead. A single event for either direction takes care of everything.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Out of curiosity, did you upload the .m4a audio sound files, too?

  • i like it, any chance for an example capx?

    Absolutely. I wanted to hear back that it worked for people first. The only place I've seen it have issues is a slower phone, but seems fine everywhere else regardless of if it supports the web audio API or not.

    You'll see in my capx the shenanigans I did to make looping work correctly (close enough) without the web audio API <img src="smileys/smiley17.gif" border="0" align="middle">

    But, yeah. I'll put the capx up a little later today.

    EDIT - Okay, the capx is up. I also sped up the the transition a little bit in the preview. Enjoy! Adaptive Music capx

C-7's avatar

C-7

Member since 9 Oct, 2010

None one is following C-7 yet!

Connect with C-7

Trophy Case

  • 14-Year Club
  • Popular Game One of your games has over 1,000 players

Progress

15/44
How to earn trophies