newt's Recent Forum Activity

  • You want it to mirror based on its direction, not by the left or right.

    You can set to to mirror if its angle is within the minimum, and maximum amount based on the camera's view. So for example top looking down, the left or mirrored direction would be between 90, and 270, then not mirrored would be between 270-360,and 0-90.

    You can simplify that by just checking 90 to 270, and if its not with in that value, set it to not mirrored.

    System "is between angles" does not pick instances, keep in mind.

  • Just wondering where we are at as far as getting a more useful Physics Behavior.

    As is it's not great for all platforms due to varying vsync rates, and the only work around is the "fixed" mode which adds new issues itself.

    Is a frame limit on the todo list, or even on the horizon?

    Thanks.

  • Why not just use hierarchies? Seems like you're already doing multi-part units.

    Make sure each hierarchy has an object that's part of the z sort family.

  • Because decimal math is hard for computers after a certain ...point, and the text object is optimised to take the least amount of work.

    Both are correct as far as the computer cares. Format it yourself with int, round, ceil, etc.

  • Imagine if Drawing Canvas could do splines.

  • Will do.

    It's frustrating that we have hierarchies, and timelines, but no way to do a multipart animation, let alone one done in 3d, and yet the parts are mostly there.

  • You can already copy and paste from the web gui's to C3.

    Tadaa🎉

  • Does this have a way to do billboarding along with mesh deforms for use with 3d yet?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Make a minimal project that replicates the issue.

    github.com/Scirra/Construct-3-bugs/issues

  • That's not a camera bob. As the previous post said it's an object sway.

  • I'm interested in this plugin but I'm afraid it will be abandoned after awhile...of course it's been 8 years since it's creation lol but still - would it be worth it to suggest to the C3 team that we get this kind of functionality built into the pathfinding behavior? Seems like it wouldn't be terrible to upgrade/implement based on how Magistross made it sound but then again I'm here because my programming skills are subpar sooooo what do I know? haha

    Thoughts anyone?

    Also, sorry if this thread is too old or if this post is slightly out of place! Thought it'd be fine but sometimes that's not the case.

    Its effectively being maintained by the community, and the original creator still has input occasionally. The plug itself has proven to be pretty much bullet proof.

  • Fireche

    You are running into a subtlety.

    > CurrentKey

    > In a For each loop, a string of the current key name. If an array is being looped, the current key is a string of the current index, e.g. "0", "1"...

    Since your data is in an array, CurrentKey will have indexes to the array. What you need to do then is load what is at that path in the json into another JSON plugin instance and then loop through that. Because the new loop in on a json object, CurrentKey will have the key names as strings.

    https://www.dropbox.com/s/3zzdt1yjk9riwwr/ReadingJSON.c3p?dl=0

    The example does just that. The only thing which is rather cryptic is the path you need to give to GetAsCompactString to extract a single item from the json array.

    For this example JSON, doing JSON.GetAsCompactString("array.0") gets you the first item as a string, which you can load into another JSON object using the Parse action.

    > 	{
    		"array": [
    > 			{"foo": "1"},
    > 			{"bar": "2"}
    > 		]
    	}
    

    An extra detail I noticed while puting the example together, it seems the path you need to give to GetAsCompactString has to be absolute.

    It's a little weird since dictionaries do return the key name, and this is essentially the same thing.

    Also looking at the example browser projects json example the for each

    For each entry in "books", text append "Book title: " & JSON.Get(".title") & newline

    Is a little convoluted since the "books" string in automatically implied rather than also returning the index.

    Then don't get me started on how that works with the dot in the json.get. I mean ok sure its key.pair, but using .pair really throws me a brain fart.

newt's avatar

newt

Member since 12 Nov, 2008

Twitter
newt has 26 followers

Trophy Case

  • 16-Year Club
  • Entrepreneur Sold something in the asset store
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Forum Wizard Made 5,000 posts in the forums
  • Forum Unicorn Made 10,000 posts in the forums
  • Popular Game One of your games has over 1,000 players
  • 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

31/44
How to earn trophies