Lopimp's Recent Forum Activity

  • Hi,

    I am making a simple puzzle game for kids as first project.

    I checked the tutorial to support multiple screen size : scirra.com/tutorials/73/supporting-multiple-screen-sizes

    There it says that it's a good idea to choose a 16:9 screen resolution, so I went for 1920 x 1080.

    When I run my game on my laptop browser and press f11 to have it fullscreen it displays perfectly:

    lo-zone.com/labo/puzzle/demo/index.html

    But when I open it on my iPhone (4S) or Ipad 2 I have a black part below the application.

    lo-zone.com/labo/puzzle/photo.png

    Maybe the iphone 4S and the iPad2 are not 16:9, but then how would I center my app to have the black space on top and below the app?

    I also noticed that I can drag and drop items from my game in this black space below.

    Here are my settings :

    lo-zone.com/labo/puzzle/settings.png

    Thx for your help

  • yeah I had that same issue.

    basically you don't need to use ludei cloud (website) to generate the ZIP.

    Just use the ZIP Construct2 exports and use it directly in cocoonjs launcher and it will work.

  • I used the browser to be able to test my game.

    Here I exported it and test with cocoonjs launcher and it works fine, sounds are triggered when they should.

  • I installed chrome on my iPhone and there a sound of my app worked (but only once).

    here is a demo of my app, it's a small puzzle for kids, when you finish a puzzle the sound of the animal is triggered.

    lo-zone.com/labo/puzzle/demo/index.html

    works as expected on my PC, but not fine when opening in IOS browsers.

    Should I preload the sounds somehow?

    I also have a black space on top of the app (that I don't have on my laptop)

  • Ok I'll test that as well.

    Good to have several ways to do it.

    Thx

  • yes

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thx a lot, it fixes my issue :)

  • Hi,

    I exported one of my project to html5.

    This project run a sound (using Audio > Play 'mysound' not looping from Sound at -10dB (tage "")

    When I run it on my PC the sound works as expected.

    But when I run it on iPhone or Ipad, the sound doesn't work.

    The sound is a wav 16Bit (as recommended)

    Would you have an idea why it doesn't work?

    Thx

  • Hi,

    I have several layers with drag and droppable object in each of them.

    I set the one I want the user to play on to vissible, and the other ones to invisible.

    It looks as expected BUT ... it seems that even if the layer is not visible, the objects from the layers above are still 'effective'.

    If I try to drag and drop an object from the visible layer, some object from other invisible layers on top are still dragable, so I have to move them away before being able to move the object that is visible.

    So basically it seems that object on layers invisible are still active.

    Is there a way to 'desactivate' a layer? so it's invisible AND the object within the layer are not active/usable?

    Thanks

  • thx everybody

  • You mean that on layout start I should loop through all family instance and use the max function?

    That would work I guess (I'll give it a try asap)

    SO no function like Max but that would deal with families instance variable right away?

    Thx for the quick answer

  • Hi,

    I have a family with a numeric instance variable.

    I'd like to get the max value of this variable from all family items.

    Is there a way to do that?

    Thanks

Lopimp's avatar

Lopimp

Member since 30 Sep, 2013

None one is following Lopimp yet!

Trophy Case

  • 11-Year Club
  • Coach One of your tutorials has over 1,000 readers
  • Email Verified

Progress

13/44
How to earn trophies