RobertMKD's Forum Posts

  • Anybody got an idea what causes this and how can I fix it?

  • I minimized the 6th Array to width 12 and the data now takes 35MB.. This is really weird, that was the biggest of all arrays...

  • I am saving only 39 items of which 32 are global variables while 7 are arrays as json:

    1st Array is 14 wide and 3 high

    2nd and 3rd Array are only 14 wide

    4th and 5th Array are 111 wide

    6th Array is 111 wide and 2 high

    and the 7th is 2 wide and 6 high

    So, is it normal for this data to take 40mb of space on a device?

  • When you display an image (sprite) in your layout for the first time, it preloads and the memory of the images in the layout accumulates.

    So, I have some big sprites in my layout but very few of them can be viewed at the same time.

    I have thought of destroying them when not on-screen and creating them again when visible on-screen, but that will preload them over and over and preloading freezes the game for a fraction of a sec, which makes the game laggy.

    The images in the layout are 60.6mb in total (54mb of these are for the map I have in my game, 1024x1024 each image) in one of my layouts and can get up to 83.1mb once I open some windows or smth..

    That's not that bad, but it's not perfect, I want my game to scroll smoothly on mobile. Is it possible even possible in my case?

  • I am using Appodeal ads in my project and when an ad fails to load, it attempts to load over and over it keeps triggering my error message. I can easily stop the message from appearing more than once, but what if the ad manages to load later when I'm playing or smth?

    Also, if the user has no internet connection, this may cause the ad to appear at any time he connects..

    How do I stop an ad from loading?

  • Yeah I have a similar problem, but it occurs even when Appodeal's third-party plugin is not included when building with PhoneGap.

    The screen is rescaled and there is a blue bar on the bottom, idk what it may be... I have used banners before, but now I don't...

  • I am using Appodeal as well and I'm building with PhoneGap. Also, I'm having some rendering issues and I wonder if that's the case.....

  • So, I want my app to adapt its screen to the orientation of the phone only when I am holding it like this https://www.dreamstime.com/royalty-free-stock-photo-female-hand-holding-black-smart-phone-landscape-orientation-modern-blank-screen-isolated-white-background-image37168115

    no matter if it's on the right or on the left side...

    I've seen some apps have this feature....

    With orientation locked to Landscape, the screen does not flip when I turn it on the other side so it's upside down...

  • The rewarded videos (Ads) of my app are stuck at the beginning and keep restarting.

    However, this is not a case for the Interstitials..

  • (Spoiler alert: Bad English detected)

    I installed my app to my phone so I could test it out. I fixed a lot of problems that have appeared after installing, but for this one, I simply cannot find a solution. I searched for this problem in the forums, but I couldn't find a fix.

    So, the problem is that the screen of the game blinks occasionally (approx. every 5 sec), even though I have 'Clear Background' set to 'No'.

    It appears that the rendering of the game is slow, cause I am also noticing the FPS is also reduced.

    I have played with the third-party plugins before and added this cordova crosswalk webview. This solves the problem perfectly, however it makes the APK gigantic and once I had added the appodeal ads plugin, it started conflicting so I had to remove it.

    What do I have to do, please help me, my project is 98% done, but this frustrating problem is preventing me from finishing it.

    Here's one of my layouts debugged:

    There's another one which has over 17.5mb of images, but the problem is the same..

  • Anybody?

  • My project is a landscape and I need it to rotate on both left and right side, cause it gets upside-down when you turn it on the right...

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi, thanks for the very useful information. Yes, I think I could manage to make all parts of the map 512x512.

  • Hi, thanks for replying. Yes, my map is a large image so I cut it in pieces and use them in my project as sprites (if I make tiles from it, I won't be able to rescale the images and can't use image points).

    The layout of the map has over 300 objects and I am scrolling the UI over it.

    You mentioned about destroying anything that isn't visible, but as far as I know, off-screen objects are not rendered by the graphics card so it won't be a problem...

  • Which way are you trying to name a character? I suppose you are talking about spritefonts? Or custom keyboard or smth?

    Sorry I don't really understand, maybe I'm too asleep....