blah626's Forum Posts

  • 15 posts
  • Still doesn't seem to work <img src="smileys/smiley5.gif" border="0" align="middle" /> Did I do something wrong?

    dropbox.com/s/oco6lcolgn6ipgh/v16.capx

  • I just found them :)

  • Are local variables available in the free version? I don't see them, wanted to know if I just needed to look harder or if they really are not there. The free vs licensed comparison chart doesn't mention them...

    Thanks

  • So... I don't think local variables exist in the free edition. Any workaround, or do I have to buy it?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I had this too. You need to put the overlap check as a sub-event to something else. In mine, the user presses an OK button, and a sub-event to that is the overlap check.

  • Ok. Fixed for the most part. Points aren't out of control, but they go up by 3 every time, never just 1 or 2. Anyone know how to fix it? Here's my event sheet:

    dropbox.com/s/8qtzoesyouq5evk/events.JPG

  • Im trying to say if "selected tile" (a specific instance of "blank tile") overlaps another instance of "blank tile" at an offset (since the distances are always the same), compare their personal variables. Either I'm doing it wrong or that just doesn't work the way I think it should...

  • Thanks. It works, but now my score goes up uncontrollably...

    doing this 1 by 1 comparison is really a last resort. what I really want is to compare all adjacent tiles of a target tile.

    dropbox.com/s/cuaqz5imj3byb0d/board.JPG

    In the picture, for instance, if the target tile is 14, I want to compare its variables to those of 13, 12, 4, 16,(the surrounding tiles) but no others. (#s on tiles represent current UIDs)

    If you have a suggestion for making this more efficient way work, that would be great.

    also, # of tiles are fixed. no new ones generate, if that matters

  • I have a bunch of instances of an object. Each instance has 3 variables (say, V1 V2 and V3). I want to compare variables between 2 specific instances.

    So, I want to say, "if V1 on instance1 is equal to V1 on instance2, add a point."

    Is there any way to do this?

    I've tried using UIDs and a 4th "identifying" variable that is unique to each instance, but I think I'm using them wrong.

  • Thanks, that worked :)

  • I think server is dead again :(

    Shame, I think this is really similar to what I'm trying to do in my own project. Can you get an alternate link up?

  • if you have an easier way, I'd love an example. I'm new to Construct, so I'd like multiple options to try in case I fail at one :P

  • Here's what I need to do:

    dropbox.com/s/8yisl6w294ebsu0/locked.jpg

    If you look at the image, you'll see I have a bunch of instances of a tile. Each tile has 3 variables. What I'm having trouble figuring out, is how to compare the variables of two neighboring tiles, and if they match add a point to the score of my game.

    So, what I want is: if v1yellow = v1blue, or if v2yellow = v2blue, add a point. But NOT if v1yellow = v1purple, because they are too far away from each other. It would be nice to say "if a tile is x distance away from another tile, and the V1's or V2's match, add a point" but I'm not sure how to do that in construct2...

    Any ideas?

  • dl.dropbox.com/s/8scrwaosr4g36mi/test.capx

    what I have now. I'm sure I'm going about things in very indirect ways, just sort of testing things out, but it's working for the most part.

  • Trying to create a tile based game.

    When the user clicks a blank tile (one of many on the board) they need to be able to input a text for that tile (ie. "zebra").

    I then need that word to spawn a "zebra" tile in the blank tile's place.

    Down the road I also need to assign points for similarities with adjacent tiles. (Ex. "zebra" has traits A, B, and C. The tile next to it, "horse," has traits A, D, and C. Since 2 of those match, I need to equate that to two points.)

    So far, I really just have the dialog box appearing when a blank tile is clicked. I'm completely new to this, and have no idea how to carry out the rest of my desired functions. Any ideas (described in the most clear way possible - and assuming I know nothing) would be much appreciated.

  • 15 posts