andreyin's Recent Forum Activity

  • DuckfaceNinja

    I haven't used Spriter yet, but are these files on the "Files" folder on your C2 project? If they are, I'm pretty sure you can update them by saving by clicking "Save as a Project", closing C2, updating the files on your folder, and reloading it.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You have to pick which object you're referencing to.

    You can do this by creating an event "System -> Pick", or "Object -> Pick", there are a lot of options on there (such as pick nearest to something, pick nth instance, pick by UID, etc).

  • This is not a bug, the bug is letting groups on different event sheets have the same name.

    I'm not sure what's your code like, but you can easily get around this by having your mechanics into one event sheet, then referencing it on another event sheet that is linked to a layout. This way your group is on every layout where it is referenced.

    If you're copy/pasting a group with the EXACT SAME CODE, do not do this. This is really bad in programming, since you're just doubling the size of your code for no reason.

  • You can also check if it's overlapping on an offset, instead of using image points, I think it's easier.

    Also check this code by R0J0hound for generating random "rooms", maybe it'll help you:

    scirra.com/forum/roguelike-map-system-untiled_topic51967_post327292.html

  • This is really cool, kinda hard at first but easy when you get used to it.

    The boss was really nice too!

    Answered the survey :)

  • LittleStain

    Thanks for the reply, I tried changing values around but still drags the ball down most of the time.. Decided to give up and use the pin behavior anyway, I "faked" the physics on it by setting the angle to "angle(ball.x,bally,tail.x,tail.y) + 180", then setting it back down whenever the ball is stopped.

  • Hey,

    I have a ball with physics on it, and I'm trying to attach a "tail" to it using revolute joint. The problem is that after I attach it, it kinda breaks the physic movement on the ball itself, when I try to throw it around.

    Is there a way to use revolute joint without affecting the physics on the object I pin it to?

    I tried using the Pin behaviour with the rope style and it kinda works, but it would look a lot better if there was a way I could use it as a revolute joint.

  • Magistross

    Oh wow, thanks a bunch, that's exactly what I was going for. I got as far as making the nested loop, but I had no idea you could use loopindex("nameoftheloop") haha. Thanks!

  • Hello,

    I've got a system going where I can load a tilemap when the game begins, and I'm wondering if there's a way to check for all the tiles on it so I can create objects as soon as it opens.

    For instance, here:

    <img src="http://i.imgur.com/CpCf3O3.png" border="0" />

    The tiles with sad faces are supposed to spawn enemies. So what I'm trying to do is:

    1. Create the tilemap

    2. Check if there are sadface tiles by using the tile number (it's number 9)

    3. Create enemies on their X and Y coordinates

    4. Erase them

    I think the ideal thing was to have a For Each Tile, but since this isn't implemented, I'm wondering if there's a way to check the X and the Y of the tilemap using regular for..

    Any ideas?

    Cheers.

  • Oh, I think I see what you mean now. Can't you just have a tile with every dot on the bounding box set to 0,0? It would still show up, but there would be no collision I think.

  • Hey, I've been thinking about this too and I have a different approach to it, but I still haven't made it so I'm not even sure it's doable.

    What I'm thinking about is having a "special" kind of tile in the tilemap, for instance, a "special wall" tile.

    When I load my tilemap, I was thinking of checking for said tile, erasing it, and creating an "special wall" object where it was. The same could be done for enemies, or anything else really.

    As I said, it's only an idea and I haven't gotten to the point to implement it yet, but since tiles are basically an array of tiles, I think it's doable. Also I wouldn't advise messing with tiles directly unless you're drawing on them or something, you wouldn't even be able to animate a tile if you wanted to destroy it or something, just erase.

  • Link to .capx file (required!):

    dl.dropboxusercontent.com/u/2383513/linkedOUT/tilemapbug.capx

    Steps to reproduce:

    1. Open Layout 1, select tilemap and draw on it

    2. Open Layout 2, do not select it and try to draw on tilemap

    3. Go back to Layout 1

    Observed result:

    The tilemap on Layout 1 is being draw onto, even though the tab is not open. Another problem is that after doing this, if you click the select tool on the tilemap bar and click the tilemap, and then select the edit tool and click the tilemap again, it still doesn't become editable. You have to unselect everything, select it and edit it.

    Expected result:

    Should unselect tilemaps when changing layout, or select the tilemap to be edited automatically when you have the edit tool on and click a tilemap.

    Browsers affected:

    None

    Operating system & service pack:

    Win8 x64

    Construct 2 version:

    r156

andreyin's avatar

andreyin

Member since 11 Jan, 2010

Twitter
andreyin has 1 followers

Connect with andreyin

Trophy Case

  • 14-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • x3
    Great Comment One of your comments gets 3 upvotes
  • x2
    Delicious Comment One of your comments gets 10 upvotes
  • Email Verified

Progress

21/44
How to earn trophies