GamerGon's Forum Posts

  • Thank you tap! :D

    Ashley ??

  • tap could you look at this problem please? It has a minified capx example.

    scirra.com/forum/cant-manage-to-parse-an-xml-on-ipad_topic56724.html Thank you!

  • BrianOD nutmix this is just a C2 problem due loading the entire game on memory at start.

    I came to the same problemand asked the same.

    Ashley said that loading layouts on memory on demand is on the C2 TO DO list.

    For now this is a big problem for my project. So I'm waiting this feature :)

  • I'm waiting for the new thread!

    BTW, appMobi Direct Canvas is not supported on Android.

  • BrianOD that's what I found searching on google because I needed to know it too.

    Remember to have in mind the VRAM that every sprite uses too. With big backgrounds you have to be careful.

    4000x4000 background will use:

    4096x4096 (near pow of 2) x 4 (RGB) = 67108864 bytes.

    67108864 / 1024 / 1024 = 64 mb.

    ... and Construct 2 loads your entire game in memory, so, if you have a racing game with 5 levels of 4000x4000 you will be using more than 320 mb of RAM always since start...

    • IPAD 1 only has 256 mb of RAM, so it's impossible even if it would support 4000x4000 textures.
    • IPAD 2 has 512 mb and iOS uses between 80 and 120 mb.
  • baterism I'm sure the resolution of your sprites is not the problem. It has to be in your event sheet.

    Maybe you should create your own topic and post your problem with your cap file so the community can help you.

    Mention me in that topic to see it and try to help you.

  • Iphone & IPAD have different aspect ratio, so the same layout size won't work the same on both devices. That's why Ashley recomends to make your background a little larger to fit both.

    On the other hand, the same layout size does work for the SAME device (any version) because they have different resolutions but same aspect ratio and Construct can scale up or down perfectly.

    Finally, it's easy.

    All you have to do is a example project, with just a background, then export it to appMobi and see their ipad/iphone web emulator.

  • BrianOD It's ok, I'm just learning some things too, specially about Construct 2 -> appMobi -> IPADs. That's why I thought it could help you :)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • One thing to add.

    Don't even think of using a 8000x8000 px sprite as a background or anything. Do you think "The Legend of Zelda" (NES or SNES versiones) has a 8000x8000px background to represent the whole map? The map is subdivided in N backgrounds to represent the whole thing and the game loads the current piece (background) of the map on demand (something like that).

    First. If you want that, you have to subdivide your 8000x8000px background in multiple little pieces.

    Second. IPAD or Iphone (any version) doesn't support that size for textures (4096x4096px for IPAD 3 & Iphone 4S and 2048x2048px for IPAD 1, 2 & all other iphone versions).

    Third. A 8000x8000px image turns to be a 244mb image on VRAM (killing any device with 256mb shared memory and maybe 512mb shared memory devices too because we are not taking in account the SO, other apps and of course your game).

  • Thank you ASHLEY. XML parsing is a must.

  • ... it worked without Direct Canvas :(

  • baterism ummm... I don't have any problems with about 100 objects always on screen :)

  • Hi guys! It's me again :P

    I manage to find the cause of a huge problem on my project. I had to debug by test/error for like 6 hours exporting every test to appMobi until found out what my problem was.

    I can't understand why this:

    <img src="http://dl.dropbox.com/u/10318013/xmlipad.png" border="0">

    Doesn't work on IPAD (1 & 2) with appMobi export and crases the game (the "XML Parsed" and any event you put after that won't work).

    Works PERFECT on "Run Layout", HTML 5 export and appMobi IPAD emulator.

    Here is the minifiead cap file.

    http://dl.dropbox.com/u/10318013/xmltest.capx

    Am I doing something wrong?

    Please help!

    :(

    Thank you guys.

    (Construct 2 r103 BTW, but I don't think it is a C2 bug)

  • baterism all my backgrounds where 1536x2048 (IPAD 3) in the past. Now all of them are at maximum 768x1024 px and it doesn't crash on IPAD 1 neither IPAD 2. Now I don't use sprites with bigger resolution than that :)

    Good luck!

  • Ashley but my target is IPAD 2, and it has 512 mb shared memory.