Blacksmith's Forum Posts

  • Hi cranberrygame, great work on these plugins.

    I'd like to try the Power Management plugin, as I need to keep the phone awake for certain sections of my app. Does it work on both Android and iOS, and what about Windows?

    Also, do you have a direct link for it. I tried the link in your first post and looked through all of the available options/plugins. But I couldn't see the power management plugin anywhere. Is it part of a larger plugin, or have I just missed it?

    Thanks

  • Problem Description

    I'm using a looping audio track, with an adjusted playback rate. When I pause and resume the track (on a Cordova export / PhoneGap build) the track continues from the paused point. But then all subsequent loops always start from that same paused point. For example, if I pause the track halfway through, every other loop (after resuming) will always begin at the halfway point.

    Attach a Capx

    https://dl.dropboxusercontent.com/u/78057629/AudioLoopPauseTest.capx

    Description of Capx

    This capx plays a simple countdown audio loop (e.g. 10... 9... 8... etc) with a reducing playback rate. It has a pause button, which sets timescale to 0 and audio to paused.

    Steps to Reproduce Bug

    • Step 1: Export the project using the Cordova export option
    • Step 2: Zip exported files and upload to PhoneGap build
    • Step 3: Install resulting app on Android device
    • Step 4: Open app and allow it to play through a couple of loops, then press pause
    • Step 5: Press resume and continue listening to hear each new loop (incorrectly) start from the point where the app was originally paused

    Observed Result

    After pausing and resuming the looped track, every subsequent loop always starts from the point where the app was paused.

    Expected Result

    Audio pause and resume to function normally (as in browser)

    Affected Browsers

    • Chrome: NO
    • FireFox: NO
    • Internet Explorer: NO

    Operating System and Service Pack

    Tested on PC using Win 8.1 & 10 - worked correctly, as expected

    Tested on Android using HTC Desire (running Android 4.1.1) and Samsung Galaxy S5 (running Android 5.0) - did not work correctly (as explained in description)

    Construct 2 Version ID

    C2 version 212.2

  • Bump

  • Bump

  • Hi All,

    I'm having a bit of a problem with C2's Audio object, when used on a PhoneGap build.

    I have a layout which plays a sound file (of a countdown 10... 9... 8... etc) and I have the sound file set to looping. I use a pause button on the same layout.

    When I pause the sound (on PhoneGap) it works fine. When I resume the track, the loop resets normally (i.e. to the point where the audio file was paused). But from then on the loop always starts from the point where the audio file was paused. So for example, if you pause the app at 5, when you resume, the loop would always then only play from 5 onwards.

    I don't know if this is a bug in C2 or not. I've taken a look at the Audio plugin and I'm guessing it has something to do with the way C2 loops audio files.

    I've added a capx, so you can see what's happening. But you need to try it through PhoneGap to see the same results.

    (capx: https://dl.dropboxusercontent.com/u/78057629/LoopPause.capx)

    This is a really important part of the project I'm working on. So I'd really appreciate it if anyone can offer some advice.

    Thanks

  • Hmmmm... sounds interesting. I'd be happy to pay for this service.

  • Thanks ThePhotons, cool plugin!

    I've looked through the "actions" list, and I can't find a way to communicate (chat) with other users. Have I missed something, can you help please?

  • So much now, it's just ridiculous... I seem to remember Monty Python wrote a song which sums up the current situation rather well!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Great concept... looks very polished! Nice work

  • Jayjay I totally agree...

    I'm sure some devs ARE using images which are too large, or using too many objects with pathfinder behaviour, and making many other noob mistakes when designing and developing their games!

    But that doesn't mean we're all making those mistakes! I've read all of the different 'performance tips' advice in the manual (several time over), as I'm sure you have too!

    We've adhered to all of the advice that's available, but we're still not getting the performance we need!?

  • Like many here, I've been using C2 for quite some time, and I think it's a fantastic tool! It helped me to get started as a game developer, when I just didn't have the knowledge or experience to try more complex game engines.

    Sadly I've come to the conclusion that I need to move to greener pastures for now. Unfortunately I've been hearing the same old excuses week after week... month after month, since I started using C2 some 3.5 years ago. And for a while I kept hoping the improvements we needed were just around the corner (as promised). But the same problems I experienced when I began using C2 (poor performance, lack of robust 3rd party wrappers etc.), still persist. Despite the many assurances we constantly see in the forum.

    I know things have improved since the early days, and I realise it can't be easy when you have such a small team. So the developers have done a superb job under the circumstances. But unfortunately the main issues preventing us from releasing high quality games on mobile (with good, consistent performance), are still there. And sadly I don't see this changing any time soon.

    I truly hope the developers can prove me wrong, and turn things around. And I'll still keep an eye on all things C2, dropping by every now and then to see what's new. But for the time being it makes more sense for me to focus on learning to use an engine that will allow me to create the games I want, rather than forcing me to curb my expectations.

  • Hi laserbeak43,

    CocoonJS/PhoneGap/appMobi haven't been openly supported in the exporter options for a while now. Although personally I still prefer using CocoonJS!

    You can still find them, just right click on the export pop-up window, and select "Show deprecated exporters". This should magically make them appear

    Hope that helps

  • Very cool

  • No problem fldr, glad to help.

    Yeah, we're pretty new to video editing ourselves, but there are loads of resources out there to help you.

    Large file sizes could be due to the format of your finished video. For example avi files are much larger than mp4. Also some video editing packages let you choose a quality setting for your video, and the lower the quality setting, the smaller the end file.

    We're not experts, but if you get stuck give us a shout and we'll try to help if we can.

    Anyway stick with it, and you'll get there in the end

  • Thanks

    For the game on the tablet, we just recorded some general gameplay. Then we added the footage on to a second layer in the video editor, and sized that layer to fit into the tablet screen.

    Hope that helps.