brhodes8's Forum Posts

  • I've tried the statement

    Day=0

    If Day = 1 | 2 | 3 | 4

              Then Go to Layout "gameday"

    But it only works when day=1 and never 2 3 4

    Am i doing it wrong?

  • I've been using Construct 2 for quite a while and I can't believe I don't know how to do this, but does anyone know how to create an event statement that functions as

    If "Global variable" = 1 OR 2 OR 3 OR 4

    im trying to figure out how to accomplish an event statement that included multiple values for a certain global variable

  • i43.tinypic.com/dr2nlw.png

    <img src="http://i43.tinypic.com/dr2nlw.png" border="0" />

    So as you can see its a sim city like building game where you are building buildings on differences instnaces of the same object. the different builing types are different animations of the same object.

    I want to know how to make the instances that are covered by the top and bottom action bars, not selectable

    FOR EXAMPLE right now if i clicked the blue buildng at the bottom it would select the instance behind that layer and move the green selector there instead of leave it where it is. this is NOT what i want

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • They are on separate layers.

    But just because objects are on a higharchy of layers doens't mean that that object is not clickable, it just means it cant be seen.

  • I forgot to mention that it is a grid of one object MULTIPLE instances. so whatever the solution is it must address that some intances will be "inplay" while others are "outofplay"

  • So I have a game where I have action bars on the top and bottom of screen when there is an object on a layer behind the anchored top and bottom bar I want it not to be selectable/clickable/whatever until it comes into the middle of the screen (the "in play" section)

  • So here is what i want to do...

    Depending if a certain object instance is playing a certain animation

              Set the global variable associated with that perticular object instance to the corresponding value associated with the animation that is playing

    I want to do this in a way where im not copying and pasting tons of events and just changing the certain variables for each event

    To give more background...

    there are 66 object instances

    11 different animations

    the purpose of all this is to be able to save a sim city like game with each land plot(an object's instance)'s animation being saved and opened when game is reopened

    so the board opens up just how it was left

    Think if you build a skyscraper on a certain location when the game is closed i want the game to reopen witha skyscraper on the that location BUT 66 TIMES OVER with 66 locations and 11 building type possibilites

  • i41.tinypic.com/23haan8.jpg

    <img src="http://i41.tinypic.com/23haan8.jpg" border="0" />

    I NEED HELP PLEASE.

    I have multiple instances for one object. I'd like to not have to repeat the statement that is pointed out in the picture over and over for each instance. But i need each instance separately to contribute to the money global variable. I've tried using "foreach" but it only has one instance contributing +1 to money. this is the only way ive found to have multiple instances separately contributing a +1 to money. Is there any way to condense this down to one statement.

    Thank you for your help!!!