unplugged's Recent Forum Activity

  • Hi all,

    I want to asign variables to my objects based on the order in which they are created. I have tried using their z-index and have written the code shown below but it's not working. I have created the text boxes to test it and at the moment the orangeshape always comes up as shape2. I don't know why this is happening.

    <img src="https://dl.dropbox.com/u/101200636/code-screenshot.jpg" border="0" />

    The "orangeshape" is a member of the "mainshapes" family. I have set a boolean family instance variable of 'shape1' and shape2' to false to begin with. Please can anyone tell me where I am going wrong?

    Thank you for reading this and for any help you can give.

  • Hi chrisbrobs,

    Thanks so much for this really good example, it will be most helpful.

  • Try Construct 3

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

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

    I am trying to build a crane to pick up objects in a RPG game I'm making. So far I've managed to create most of the elements. I'm happy with the horizontol movement. Unfortunately I'm having some trouble creating a smooth vertical movement for the cable/grab arm, and also having some difficulties

    picking up the objects.

    I have uploaded my capx file here: dl.dropbox.com/u/101200636/CraneTest.capx

    I have read a lot of the physics tutorials but I can't find any of the answers I need. If anyone is able to help or point me in the right direction, it would be greatly appreciated.

    Thanks.

  • Thanks ASHLEY. That's useful to know. I had already come across the screen orientation in PhoneGap when I exported a test version. What I'm really after is a way to lock layouts within the same app to different orientations. The app idea I have involes a selection of different screens. Some will only work in landscape and some in portrait. Do you know if there is a way to do this?

    Thanks for your advice.

  • Hi everyone,

    I am designing an app which needs to display/lock some layouts as portrait and some as landscape. Is it possible to do this in construct2. I have been unable to find a way, please can anyone help.

    Thanks for your time.

unplugged's avatar

unplugged

Member since 7 Jun, 2012

None one is following unplugged yet!

Trophy Case

  • 12-Year Club
  • Email Verified

Progress

13/44
How to earn trophies