CGamez's Forum Posts

  • You do not have permission to view this post

  • You do not have permission to view this post

  • Hey,

    I fixed the problem:

    Check out your Project-Properties -> Display -> Sampling: here you have to choose "nearest". The other 2 options will display Sprite-images in a bad quality.

    Best regards.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hey,

    in my project (editor / preview and also exported versions) all Sprites are getting displayed in "low quality". If I use the same image as a tiled-background, the quality is fine. Only if I use it as a Sprite, the quality is very bad... The image is in original size, nothing rescaled.

    How can I change that?

    Best regards.

    Tagged:

  • Hey,

    thanks for the info.

    Do you know which one performs better: sprite-fonts or text-objects?

    The thing is this only happens on the Google Pixels...

    I found something interesting in the unity-forum, maybe it's the same problem:

    answers.unity.com/questions/1250316/android-app-crashes-on-launch.html

    or this:

    forum.unity.com/threads/crash-on-launch-google-pixel.443016

    But in Construct 3 we don't have such a function (or I don't know where it is).

    So maybe anyone has an idea how to fix that.

    Best regards.

    Edit:

    I've tested it with a layout without any text-objects and it still crashes when it preloads sprites...

  • Hello everyone,

    at the moment I'm testing a new game made with the current version of C3.

    Everything is working so far, but at some phones (especially the Google Pixel phones) have problems starting the game.

    The game uses around 60 MB RAM.

    When I try to preload images (also if it's only around 20MB RAM) the game crashes immediately when it comes to the preload function (but only on these Google Pixel phones...). If I don't preload the images, the game crashes as soon as it gets to the main-layout with all these images...

    I've tested it on some other phones (by far worse than the Google Pixel) and there everything worked fine.

    Does anyone have the same issue or any tips, how to get better performance or why the preload-images causes crashes on the Google Pixel?

    And another question:

    You can't preload text-objects. Is there any way to get the best performance out of text-objects? For example I have around 30 text-objects in 1 Layout which causes around 15-20% CPU-usage on start of Layout (on mobile even more).

    Best regards.

  • Hey,

    I've already bought the master collection.

    Is it possible to get another collection for advertising?

    I would need the chartboost SDK for Construct 3, because if you want to buy ads there you need to integrate it for tracking.

    Also it would be nice to get a step by step tutorial how to fully integrate Google IAP with serverside verification (PHP).

    I would also pay extra for these 2 features, just let me know how much this would cost.

    Best regards!

  • Anyway any device that shipped any time in the past 2 years should have come with sufficiently up-to-date software out of the box to work just fine. So it seems to be old devices that haven't had any software updates - not even app updates - for a few years.

    The problem is, even if there are only 5% of all app-downloads which have the white-screen error, it's very bad for your game. You get a Google-Dev-Score (you can display it somewhere in the dev-console). And if this "crash-score" is that high (yes 5% is very high!), you get a message there and your game won't get recommended in the recommended games sections. And that's the best way to get free users for your app.

    I've update my app now with the current C3 version, hopefully it's fixed now so that there is displayed a message instead of the white-screen.

    Best regards.

  • Point 3 should be fine.

    I've tested it by creating a new huge project and added a "preload-layout" and it reduced the cpu-usage from 25% to 15%.

  • BadMario:

    Is there any way to easily display the RAM usage? Couldn't find anything.

  • BadMario:

    The whole game is around 30mb size.

    And the weird thing is that we tested it with 2 high end phones (Google Pixel 3 and 4, everything up to date), where we had crashes and some "bad" phones where we didn't have any crashes. But what I can say for sure, the crash appears only when moving to the game-layout (like 100% cpu-usage).

  • Hey,

    thanks for the reply.

    For point 1: Can you please tell me when this update was made? My current game-version is around 4 weeks old and there I used the newest C3 stable.

    For point 3:

    I know the manual and I also tried everything to preload objects / images but it seemed like it changed nothing to the performance.

    What I did:

    I made another Layout infront of the Game-Layout called "Loading2".

    From the "Game-Loading-Layout" you were moved to the "Loading2". There I preloaded some of the objects and after that I moved on to the "Game-Layout".

    This did nothing. The only thing it did is it messed up some sprites so I needed to remove this layout again. But for the performance there was no difference.

    What is about point 2? Are there any plans to focus more on these important features which "real devs" need?

    Best regards.

  • Hey,

    I've opened a new topic and mentioned the 3 big problems we had when we published our mobile-game:

    https://www.construct.net/en/forum/construct-3/general-discussion-7/construct-mobile-feedback-148034

    The problem is that C3 focuses on minigames for devs who just want to get a game to work. But if you try to do professional game-developing with C3 it's more or less impossible. For Web it's ok (there you can use Javascript SDKs since JS is very common in Web) but for mobile... no chance...

    I hope there will be more updates for mobile-publishers in the future (like SDK integration for user-tracking so you can do advertising for your games).

    For making some little fun games, I think Construct3 is the best game-engine. Also for making big Webgames it's an easy to use engine. But for commercial projects in the mobile-section it's by far not recommendable.

  • Hello,

    this year I created my first "bigger" game with Construct 3. I made two versions, one for Web and one for Android.

    First of all, everything worked great in the Webversion.

    But when we came to the Mobile-Version, there were lots of problems we had. I want to mention the main problems here, so maybe anyone can help with plugins or even Construct 3 gets updated to solve the issues:

    1.: The White-Screen:

    We had over 10k installs on our Mobile-Version. Around 5% of these had just a white-screen when starting the game (no info shown, just a white-screen). To solve this, they had to install / update Google Chrome on their phone. But how should they know that? They just got a white-screen... Many of them were complaining about this with 1-star reviews and there we could answer that they need to install Chrome. Mostly they've updated their review then. But I think many users don't write a review if it's not working and just uninstall the app. That costs us a lot of money (buying users which can't play the game because of C3).

    Just adding a message (instead of the white-screen) should solve the problem. Has anyone an idea how to do this? Or will there be an update of Construct 3 to fix that problem?

    2.: More Mobile-Tracking, at least plugins from the big companies:

    The next big problem we have is advertising. For example "Chartboost" one of the bigger ones. And I don't mean displaying Adds in the game (there are several plugins for this), I mean doing advertising for your game. For this you need to add tracking to your app. To do advertising with Chartboost, you need to add their tracking code. (https://answers.chartboost.com/en-us/articles/download)

    If you use Unity3d you can just download the SDK for unity and integreat that easily. But for Construct 3 / Javascript there is nothing you can do... Maybe you should more focus on such things, otherwise Construct 3 is more or less useless for creating bigger games. Also if you try to find publishers for your game, they always want you to integrate these SDKs, otherwise they can't do advertising for the app...

    3.: Layout-Performance (fixed by using preloading-Layouts)

    So these are the 2 main problems you will face when you want to create a big successful mobile-game with Construct 3. At the moment we check our options but it looks like we have to move to another engine (maybe Unity) where we won't have these big problems.

    If anyone can help with one of these problems so we can stay at Construct 3 it would be great. We would also pay for any plugins like Chartboost-Advertiser SDK and so on... Maybe you can add these important SDKs to your Mobile-Master-Collection, I would pay a lot for these...

    Best regards.

  • > 86400 represents a day

    and whats 18195168 represents? i got that value using that

    You need to use floor(unixtime / 86400 / 1000)

    because unixtime is milliseconds, not seconds.

    For a daily reward just do this:

    -> create a global variable (number) (I call it "dailytime")

    -> create a Button to collect the daily reward

    -> when clicking the Button you need to compare, if the "dailytime" is less than "unixtime". If YES -> give reward and update "dailytime" to "unixtime + (86400 * 1000)"

    Thats it :)