Weishaupt's Forum Posts

  • Since there where no solutions posted in the How-To, I assume that this is a bug:

    I'm playing with touch objects on my iPhone and stumbled across an issue I do not understand.

    How do I build an App, that uses the whole Safari iPhone Screen Size? When I set the layout to 640x960 an do NOT enable full screen mode, I get a border I do not like.

    <img src="http://quak.laurig.de/iphone.PNG" border="0">

    If I set full screen mode to on, the screen size no longer seems to stay to 640x960.

    In fullscreen mode - regardless if scalled or croped - when I query WindowWidth and WindowHeight I do not get 640x960 as expected, but 320x356...why's that?

    <img src="http://quak.laurig.de/fullscreen.png" border="0">

    The left half is crop, the right scaled mode. I am running iOS 5.0.1 on an iPhone 3 GS

    The realy weird thing is, the thin blue line is placed at the left border of the "layout" which is set to a width of 640. The red circle with the yellow star is automaticly placed at the calculated right lower corner (WindowWith & WindowHeigt)

    Both textfields are place on a HUD layer with paralax 0,0....

    CAPX

  • I know, it's probably only me again. Anhow, maybe someone can recreate this behaviour.

    Take this CAPX and run it - is should work just fine...

    Than, edit the code: Select the object called "outletBorder" and add the physics behaviour to that object. Now run the Capx again....

    Here, it crashes (greey screen with a black line) on CHROME and FIREFOX...

    Is it just me?

  • In the example you posted here, you first initialie your array with boolean values and then override them with integers....is that intended?

    it could be, that you receive a string which holds "50" when you do a "at(X)" so you have to cast it to an integer. you could do a "int(x)" to do that

  • Extract from the basic physics tutorial:

    or example, if you use Set Position to move an object to the other side of the layout instantly, it has effectively teleported. That's not a realistic physical phenomenon, so the result may be unrealistic as well.

    Event2 and event6 you teleport the box.

    Kyatric - I know all this, and I also know, that Tom and Ashley have loads to do...but if you look around in the board and if you realy tweak the physics objects you will find quite a few things that can allways be blamed on the interaction betweent different behaviours, BUT at some point in time you come to the conclusion, that a commercial product should have either a full working engine, or claim on the start page in flashing letters, that some features can not be used with others.....

    Sorry, for this long thought....

    And most of the time, the "unrealistic" things are to work around other stuff that does not work (as expected)

  • I am not sure, if there even is a system variable giving the information you request

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I think it's easier and even "faster" to just change Layouts - that's what they are for

  • H???? <img src="smileys/smiley5.gif" border="0" align="middle" />

  • I second HotGods idea

  • Same Topic?!

  • THIS could be a possible solution BUT...

    - this shows again that "physics" is somewhat buggy. I know, plattform and physics don't like each other - but if you try the CAPX you will see, that the whole thing sometimes works and sometimes it does not...but why?!?

  • Interessting, that you post your question twice under different topics...

    ...but this is a real chalange as I can see so far....

  • This is the linnk to your game, not to your CAPX

  • Weishaupt: you should take a look back at the tutorial about frame rate independence.

    Also, think about finite state machine.

    AAAARGGG.....this sound just to much like school <img src="smileys/smiley23.gif" border="0" align="middle" /> ...finite state machine - boy did I hate this

  • As I understand, it wait does not work in loops as "regularly" expected. That'

    s why my CAPX looks a little more "messy"

  • Get yourself a DropBox Account and use this, to pass on your CAPY to the people who want to help you

    This might help:

    How to use DropBox