Chadori's Forum Posts

  • Yes. Rename the files.

    For example:

    If the file name is Game.capx.backup1 then change it to Game.capx

    If the file name is Game.capx.autosave then change it to Game.capx

  • - I hope, I've been trying to ask them about the white bar on splashscreen startup but still ....

  • Ubru - Sorry for not replying, I just noticed this post now.

    You want to use the IntelXDK Splashscreen and your game is 960/1280. What you are going to do next is make a splashscreen image with the size of 960/1280 then resize them smaller 4 times with respect with the aspect ratio. But luckily, there is an automated way by using the Android Asset Studio:

    Link:

    https://romannurik.github.io/AndroidAss ... tches.html

    Since you want to have 4 splashscreens resize, so first set the Source Density to (XXHDPI).

    Second, import your "960/1280" splashscreen.

    Third, Set Edit Mode to "Stretch Region" or whatever part you want that will happen when the screen size is bigger than that of your game window size.

    Fourth, Download Zip.

    Fifth, Import the images from lowest to highest in the IntelXDK (MDPI, HDPI, XHDPI, XXHDPI(The Original))

    PS: Android Asset Studio makes also makes your Splashscreen stretch even in broken aspect ratio in mobile devices since it is turned into a 9patch image that stretches the part you assigned in the AndroidAssetStudio image editor grid whenever the splashscreen doesn't fit on the screen. But you need to have 4 sizes since 9patch images can't shrink, that's why Android Asset Studio makes different sizes and IntelXDK requires 4 sizes.

    [quote = Ubru]Next thing, can I modify that pre-created loading screen in C2? I know I can load my image like a logo but what about that progress bar (size, spacing, color, style, etc...)?

    As I said, you have to use a loader layout.

    First, Enable Loader Layout on the Project Properties.

    Second, Your first layout is your loader layout and replace your default.

    Third, Design your loader layout. Tutorial: https://www.scirra.com/tutorials/318/ho ... ng-screens

  • - I believe that the Persist Behavior in Construct2 r227 has nothing to do with the problem because it is totally working fine. And your details is too limited compare to a .capx or atleast a screenshot. I am only guessing here since I can't really tell what is the exact problem.

    *Did you make sure that all the sprite instances have their default controls deactivated? Try to check it again.

    *And also try to update your C2 version to r227 and try if it works.

    *Check your events again if possible that you made an action "set to enabled".

    I made my own test of the persist behavior based on your details and it is totally working fine. I can make sure here that the Persist Behavior is working fine in C2 r227.

    https://onedrive.live.com/redir?resid=A ... ile%2ccapx

  • I don't really get what you mean, but if you meant to repeatedly create an object and after creation add additional Y to the next. This might be the code:

    Edit: (Forgot the Trigger)

  • Rasputin - You're right, I just checked it and IntelXDK does support normal apps but the hard part is finding the right plugins. But to be sure, I will also try Visual Studio and Cocoon.Io just in case it is better. And if successful, i'll try making a tutorial too. Thanks for the time.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Rasputin - Only the 2nd one, The real-time sync (1st one) would be more complicated on C2 than normal app makers if I do that. Thanks for the link it is helpful, but what I really meant was what compiler is used for that export? If I use IntelXDK wouldn't it be more optimized for games rather than a Web App, If we use Visual Studio, I really did not try it and no idea if it would be good in performance. Any suggestions?

  • Rasputin - Is there already a tutorial of this or any people who tried this? This makes me want to learn it .

  • Can be found in the Project Properties. The layout selected will be your first layout but if "Default" the system will pick the first layout to launch.

  • Essentially, from my testing it seems that setting the minimum FPS to 60 is the best way to guarantee that lower FPSes don't result in logic errors. Has anyone else come to that conclusion or am I just way off base?

    I believe setting your minimum FPS to 60 will not really reveal all logic errors. My only advice is to take it slow, don't make events like you are in a deadline, give time to test and debug if you have a new game feature and also analyze/think if there is a better event code for your present event to achieve more optimized logic of your game. Your game performance outcome is actually based on your patience. If you are really curious then I suggest you learn how to code, but if you already know then it won't be a problem.

  • I know that this question is a little silly but I just got curious. Will it be inefficient to make an Android App on Construct 2 that works like an app version of a website? And if ever yes, will the features be very limited? Thanks

  • Bl4ckSh33p - Try using Nw.js for Construct 2 also has better performance.

  • I joined Scirra 3 years ago, I wasn't active and I know that I didn't have more than 2 Fanatic Badges but now I have 20. Lol XD

    I also noticed that a certain time in the day in our morning time, a profile visit will earn you +2 consecutive days.

    A Notch badge would be more acceptable since it's been 3 years but a fanatic badge isn't something I deserve.

  • - You are going to have to use an external image editor if you want to resize your images. Honestly, C2's Image Editor is not good in re-sizing since quality is lost every re-size, may it be sprite or tiledbackground image editor. Tiled backgrounds is for tiling images repeatedly and are commonly only used as backgrounds that's why it can't be scaled down and it would lost it's tiling ability if it were scalable while sprites are like objects in a game, like characters and such that's why it has a scale option since it is not a looping image and size may be needed to be manipulated in the game. I suggest you change the image size of your tiled background in Photoshop, ImBatch or any external image editor that doesn't lose quality in re-sizing.

  • icugigasoft - It's not really something that we can say we are sure of since we can't see the events in your .capx but if you are asking if bad logic behind any event causes

    fps drop then I agree that it might. Unnecessary or Non-Optimized events can cause serious problems in a game. For Example, using the condition "Is Overlapping" instead of "On Collision of another object" can cause major problems when combined with a loop or called many times in a tick or second. Misuse of Loops is something that shouldn't be taken lightly since it will loop infinitely if a problem triggers. Massive or Misuse use of the Pathfinding Behavior can also utilize a big portion of the cpu. Misuse or Massive use of the Physics behavior can destroy a game. For example, using the Physics behavior and Platform Behavior altogether will make a lot of glitches, very high fps drop and might even crash the game or never let the game be opened without closing as soon as it finished loading.

    For more info, read these:

    https://www.scirra.com/manual/134/performance-tips

    https://www.scirra.com/blog/141/common- ... nd-gotchas

    https://www.scirra.com/blog/83/optimisa ... -your-time