helena's Recent Forum Activity

  • Hello!

    How do I set so that one object will be solid for one sprite, but other sprite will not see it as solid?

    Thanks.

  • rexrainbow

    Is it this one: Are neighbor (UID) new?

    Then it might not be what I want as it ask for UID for both "chess".

    My scenario:

    Pick all objects (chess) of name BOX

    Check the tile below BOX: Is it empty, no chess there? Then move box down. (do so for all BOX)

    Is Player (chess) below BOX? Then kill player.

    Is Player side to side (not overlapping here) to ENEMY, then kill player.

    No specific uid, just going through all the objects of one type.

  • rexrainbow

    YAY! Thanks.

  • rexrainbow

    Thank you, the conditioning of else worked for not walking diagonally. I am more used to it in Basic programming...

    About get neighbor tiles, using Expression:DIR2UID(uid, dir)

    - UID ( number ) : The UID of chess.

    - Direction ( any ) : The direction.

    Then use condition: pick by UID.

    I am trying to understand this.

    the dir, is it in string like "up", "down", etc.. or in numbers - which numbers? 0, 180, 270, 360? Figured out this one, it is 0, 1, 2, 3.

    I have tried to apply it like this:

    board.dir2uid(player.uid, 0) it just response of -1 and then I tried to put (player.uid, "down") then it responds with Player's uid, which is not what I wanted.

    (player is a sprite, only for the player guy to walk around. the tiles are from a sprite with animation frames used together with tmximporter and board)

  • rexrainbow

    I am using Gridmove (on a Board).

    How can I do to prevent diagonal movement? if you press both up and left, it will go diagonal if you understand what I mean.

    I am impressed by your work, by the way. I wish there were more tutorials in the tutorials using your plugins/behavior.

    EDIT:

    Another question. How do I check the neighbor tile's content? (which tile of the tilemap)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • blackhornet

    Great, thank you!!

  • caiorosisca

    Thank you! At first I thought it was something that is only for Chrome, but it is not so. It works in FF too.

  • It is good yes but sometimes I like to write stuff into debug to see how things go.

  • Firefox has a console if you press ctrl+shift+k. Ok, good.

    How do I write debug text there? Would prefer it over putting a text box in the app itself obstructing the view.

    In visual basic it would work like

    debug.print "hello"

    in the code.

  • rexrainbow Ok thank you for your quick reply. I will try to research more on the official debugger and see if I can write text to it.

  • This has been removed?

    I wonder how I would do if I want to let the app write info to separate panel instead for text box within the page itself.

  • I am asking here, but I am sure it is more of issue of my Firefox and/or Windows...

    When I click on a link to a CAPX project in the forum it shows a page of gibberish, instead for opening the construct 2 as it used to do so..

    I am on windows 7, 64 bits, use Firefox, latest version.

    Could you help me remind where I can do the settings for this?

    EDIT: It appears that it is this site/forum that is the problem, by a chance I went to one person's website and the link there works and clicks into Construct 2. Hmm.

helena's avatar

helena

Member since 1 Jan, 2014

None one is following helena yet!

Trophy Case

  • 10-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
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

16/44
How to earn trophies