Ashley's Recent Forum Activity

  • Can everyone speak in English, to save me having to take lots of trips to Google Translate and getting weird results like "and my day cooking"?

  • The flash feature is fundamentally broken because it's using tick based counts and doesn't use timedelta. I could change it back but it would break all existing .caps using it! And if I don't do that, I don't think I should add any more features to the flash action, it's pretty simple to do yourself.

  • Moved to Plugins, Behaviors & Effects.

    Aeal5566: There is point in 3D features in Construct - take 3D box for example. It's a useful way to add pop-out 3D elements to a 2D level. Obviously Construct isn't going to turn in to a full-blown 3D game creator, but I think these kinds of features are still worth having.

    Glamthaus:

    1. Yes - the Sprite object actually draws a series of its own textured triangles to achieve mesh distortion in the first place.

    2. Your plugin can use vertex shaders if you like, but I don't see much point in a plugin which requires vertex shader hardware support. You may as well do it on the CPU, it's not usually very much processing.

    3. Of course, but your own rotations aren't considered by the runtime (eg. determining if the object is onscreen and therefore should be drawn).

  • Can you post the .cap that hangs? It should work perfectly, and if it doesn't, it's a bug which should be fixed.

  • It doesn't really matter if you check all 30 variables, because the performance impact is ultra small. Just one collision check is probably hundreds of times more intensive than a simple variable check.

    Well said. There's no good way to do this - you can't skip the other events once you know you've hit one - but it doesn't matter, because the impact is so tiny you'd have 10,000x more effect (literally) on performance worrying about, say, the rendering efficiency. So why sweat the small stuff?

    [quote:28hk23w1] events add so much overhead that it's kind of ridiculous to worry about efficiency.

    Did you mean so little overhead? Or are you comparing it to real code?

    Compared to real code, I mean. In traditional languages individual commands are very basic and low overhead. But events are very high-level, and do a lot of work for you in comparison to traditional script, so worrying about their performance is counterintuitive: they already perform badly compared to real script, but it doesn't really matter.

    For 1-30

    if state=loopindex

    • do events
    • end loop

    This would only work if each event for 1-30 had the same actions. But then why would you repeat an identical event 30 times in the first place?

    Every tick

    if state = 0

    - do this event

    An 'every tick' or 'always' event is redundant, because all events are already checked every tick.

  • Really? On this page Firefox uses 27mb, and Chrome uses 19mb.

  • Hmm, you're right, it shouldn't have cut off the write. Can you send me the .cap then?

    I'm afraid you're currently learning the hard way that you should keep backups!

  • Which toolbar and where??

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Just installed Google Chrome. It's come a long way since the original release that I tried - Chrome 3 is extremely fast, very nice looking and apparently Chrome 4 is even faster!

    I might switch - I was using Firefox, but Chrome seems newer and faster.

    Anyone else tried it and liking it?

  • No. Try it and you will see, the layout state reverts, unless you explicitly save it with one of the system save actions. Global objects continue to exist (and be modified) after you leave a layout with a global object on it - and when you come back to that same layout, the global object is not recreated (ie. global objects on a layout are only ever created once).

  • Have you looked at the sin behavior? Or did you want more of a ferry-across-the-river type movement?

  • BTW, when a game in Construct is running, and that a layout is being played, are other layouts running too? or just on pause or standby or something.

    When you change layout, the old layout stops running, so only the current layout is ever running.

Ashley's avatar

Ashley

Early Adopter

Member since 21 May, 2007

Twitter
Ashley has 1,446,002 followers

Connect with Ashley

Trophy Case

  • 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
  • Forum Mega Brain Made 20,000 posts in the forums
  • x109
    Coach One of your tutorials has over 1,000 readers
  • x63
    Educator One of your tutorials has over 10,000 readers
  • x3
    Teacher One of your tutorials has over 100,000 readers
  • Sensei One of your tutorials has over 1,000,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • RTFM Read the fabulous manual
  • x36
    Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

32/44
How to earn trophies

Blogs