dgibbons82's Recent Forum Activity

  • I'm having a bit of a difficult time figuring out something that I thought would be pretty easy. I have two webm files that are used as background music. On the start of layout, I have an event for Audio -> Play "music_sample_1". Below that, I preload the next track, let's call it "music_sample_2".

    Then, when a global variable = 1, I fade out "music_sample_1". It works great, fades out, and has stopped. I have an event for "On music_sample_1 fade ended" -> play "music_sample_2".

    However, it never plays. I've tried loading, unloading and then reloading. I have also moved the files into the sounds folder based on other feedback. I've made sure the volume is set back to the default of 0 db. However, I just can't seem to get this track to play after the previous has faded out.

    Any advice for getting one track to play after the previous track fades out?

  • Thanks! This is what I was hoping to confirm! You have the scenarios correct.

  • Hopefully this is an easy question, but I was curious to see which scenario is better for performance. The objects are sprites.

    In scenario 1, I have 60 sprite objects, with 80 animation frames each, and each sprite object is used once and then the animation frame is set.

    In scenario 2, I have 1 sprite, 80 frames, but the same object is used 60 times. Each animation frame is set per sprite instance.

    I'm thinking that they draw the same either way, right? Meaning, it's still 60 objects being drawn. I just wasn't sure if it's more efficient to draw 1 object 60 times and set the animation frame, or have 60 objects drawn once and then the frame is set. I think the only performance benefit here is maybe not having to increase the file size for the 59 other sprites.

    Just curious to see what others think.

    Thanks!!

  • Thanks for the response!

    Is this different than rotating the image on the layout? Just for my own understanding, rotating the image in the image editor and rotating the image on the layout are actually two different things?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • My CAPX is below in the google drive link. I'm trying to get the smiley face (spr_enemy) to rotate properly towards the ball. Meaning, I want the face to always look at the ball. It seems like it is set to some 90 degree angle as if the turret gun is pointed slightly at an odd angle.

    I'm semi-new to Construct (I had Construct 2 a while ago and made a game on the app store but have forgotten a good amount of what I learned, unfortunately). If someone could give me some pointers in properly setting the angle then I'd appreciate it! I set my image point in multiple spots on the smiley face, but can't seem to get it to point correctly.

    https://drive.google.com/open?id=1qdLv-7h3jL5uafguANHtyJ-SIHauP7D1

  • i have an advice for you , i have been u sing C2 for a long time and i have tried manything , the best solution is Outer scale , the best resolution for mobile platforms is 480x854 and with applying the Outer scale it will fit almost devices perfectly , if you don't want the white space in sides , use the anchor behavior for the objects that doesn't need to be at an exact position for example the HUD the background ... the Menu they can all have the anchore behavior , and for object you will position with event sheet use the viewport expressions , this will perfectly fit your game on almost devices.

    Thanks for the tips I found this video very helpful as well. It has worked beautifully for our game.

    EDIT: I need more rep. Oh well. Go to You Tube and search for: "Construct 2, multiple screen sizes". You'll find a great tutorial as the first link.

  • > hello there. i cant build app. yesterday it worked fine. but now any project is failing to build. when im clicking "build app now", its just give me "building", then from 5-10 mins it says "the building failed". im doing exactly like in "How to export to Android with Crosswalk" tutorial.... i think.... what could be wrong?

    >

    Shuher

    Me too, i cant build app. is failing to build. ?

    Slice : It's a server problem. IntelRobert will most likely post an update when it is resolved.

  • Yesterday I built a project fine in CW today I'm getting "An error occurred while building the application. Verify your build assets are correct and try again." while trying to build the same project. I have no special characters in the game name, package, or assets, not sure what is causing this, is this possibly server side?

    I'm getting the same error since last night. I'm not an Intel XDK expert, but just wanted to let you know that I'm experiencing the same thing and all of my assets look good, too. I'm at work today but I'll try to build again this evening in case there's something wrong with the servers.

    EDIT: I'm seeing similar behavior as described above. My build would fail at first, but it would give me a log. I was able to verify that all of my fields were completed in the screen where we set the app name and description. I added my icons and splash screen PNG's. I completed the entries for Android and Crosswalk tabs. I setup the appropriate plug-in's. I even tried installing with all plug-ins active (just to see if it would work). The only field that is empty is the app permission field, but I believe a file is automatically created with the new Intel XDK.

    Now, I click Build and the spinning build icon rotates for about 10 - 15 minutes and then it will give the generic error to verify my build assets. My next step is to use a C2 demo project and see if that works at all. I'm on Windows 7 64-bit. I can't remember the exact Intel version I installed on my PC. I want to say it is 1332, but I'm not in front of my PC at the moment.

    EDIT: IntelRobert Thank you! I'll wait until the server issue is resolved.

  • Hi Codah. I saw your example. Not bad for a quick demo. I'll tinker with it later and maybe post an example just in case it helps give anyone else some ideas.

    Thanks.

  • I can't think of a good way to present possible options and outcomes like a branching storyline.

  • That's pretty close to what I'm referring to. Maybe not quite so many possible options, but you're on the right path.

  • Ah, I can post URL's. Oh well.

dgibbons82's avatar

dgibbons82

Member since 30 Aug, 2014

None one is following dgibbons82 yet!

Trophy Case

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

Progress

12/44
How to earn trophies