shinkan's Recent Forum Activity

  • R0J0hound

    Ahh I see. Instead of repositioning each node one by one to their grid XY coordinates, like I did, You are arranging them based on the root.

    Nicely done, Thank you!

  • If that's ok with everyone, I would like get some assistance on my current problem/project

    To describe it better I made this wonderful piece of art*, posted below.

    In short. I have made some node based system, which works fine and almost like I wanted it to work. i don't like how it gets messed up if I try to add new nodes in specific places. They will start crumbling, overlapping and breaking everything on the way.

    Then i thought it would be nice if nodes could automatically shift themselves up and down depending on their neighbours position. So they will alway have some space around them and will never overlap itself... and in overall will look cleaner.

    Any help appreciated, and I really mean it!

    (In return I ask my graphic designer to remade your avatar in style of our upcoming game xD)

    And btw if someone have a nice idea to make better deleting nodes system I will be even more appreciated!

    *This image and content of capx file are copyrighted material and cannot be sold or used in any public or private places or application without written permission from the author - me.

    Here's my file.

    Double click on "Big Node" to remove it or add new one. "Small Nodes" are important but they have no functionality in this file - they are here because they need to be

    If something inside will look a bit weird just ignore it. It's a cropped down version of bigger thing. I removed everything not related and left only the important stuff for nodes to work.

    node_help.capx

  • Try Construct 3

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

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

    Renaming any kind of object will make Properties panel switch to Project settings.

    Attach a Capx

    Any project from templates or examples

    Description of Capx

    Not needed, it's editor issue.

    Steps to Reproduce Bug

    • Open any project
    • Select any object
    • Rename it

    Observed Result

    Same as description. Renaming will cause editor to switch from Object properties to Project properties

    Expected Result

    After renaming current object, Properties panel should still show properties for that object

    Affected Browsers

    • Chrome: NO
    • FireFox: NO
    • Internet Explorer: NO

    Operating System and Service Pack

    Win 8.1 64bit

    Construct 2 Version ID

    C2 r203

  • Probably easiest for You will be to use global variables to check buttons states.

    On layout B -> On button pressed set global variable to 1

    On layout A -> variable = 1 - play animation

  • i just made a quick example to test how it behaves in r203 and most times it works fine... but not always. There are 10 instances of Sprite and from time to time

    "On Timer "go"" will not trigger for random sprite. It will just move in one direction and timer is not present/visible in debugger.

  • Never used any variables inside Timers, never needed to so can't say much about that :/

    For me it always work with integers and floats (1, 5, 23, 0.5 4.52 etc.... obviously xD) and expressions choose(), random() - at least these are the ones i usually use in Timers.

    And For Each did not work with Timers on my last project (like I said few posts back).

  • use

    > foreach  object
    object is on screen              - do something
    [/code:14sec8jy]
    

    Yes, That is indeed "for each" condition. Thanks!

    megatronx

    Nothing fancy really.

    -On star of layout

    --for each sprite -> set Timer "xxx" to int(random(5)

    -On timer "xxx" -> set Timer "xxx" to int(random(5) and do something with sprite.

    With all possible combinations with for each xD

  • It might be actually a bug in Timer behavior. Few days ago i had similar situation, where each instance of same object had a different value set in Timer behavior.

    And usually when On Timer triggers other instances (with it's own Timer still running) started to do some strange things - things they not supposed to do . And also For Each did not helped at all. After removing a Timer and making the same behavior using normal instance variable fixed everything up.

  • Current "Else" condition is the best example. If you put "else" in wrong place then you can't start the preview

    If you delete something important then highlight events with mistakes and don't let user do anything before fixing that broken events. If the name of that variable or something is an issue here, then why editor can't replace it with something. I'm sure C2 can handle making an internal temporary list containing names of broken variables and simply use these void names in events. And when user fix all broken events then the list could be removed.

    There's a lot of possibilities to make it happen without making a mess, question is if devs want to something about it, or leave it like other unfinished "features".

  • Don't forget to add 1px empty border around your sprite texture.

  • XDK 1878

    Everytime I click on Debug I got this

    After pressing "Install It Now" it's downloading and then shows me this

    It used to work fine with my Samsung Galaxy S3, now I'm unable to do any test via USB cable.

    USB Debug still not works in XDK 1912.

    Now it wants me to install App Preview Crosswalk 0.22 - but again it fails to install it. Anybody???

  • Yes, please.

shinkan's avatar

shinkan

Early Adopter

Member since 21 Nov, 2008

Twitter
shinkan has 7 followers

Connect with shinkan

Trophy Case

  • 16-Year Club
  • x5
    Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • Unrelenting Visitor Visited Construct.net 180 days in a row
  • Continuous Visitor Visited Construct.net 365 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

25/44
How to earn trophies