Ashley's Recent Forum Activity

  • Moved to Help & Tech Support.

    I'd recommend you go through the Ghost Shooter tutorial at

    It'll teach you most of the basic concepts of Construct, as well as how to achieve that with Private and Global variables.

  • Well, if you want ******** Crysis-level performance, you're going to get in to the more complicated aspects of 3D programming. Games like Crysis use special features to optimise performance. For example, the 3D world geometry itself is in a special kind of vertex memory, called a static buffer, which is kept in GPU memory for maximum performance. Construct does not (at the moment) use static vertex buffers because they're not usually needed for 2D games - basically all geometry is generated on the CPU and sent to the GPU every tick. This is actually most optimal for most Construct games, because nearly everything changes every tick, so it's not worth keeping vertices on the GPU.

    So yeah, if you're going to do performance tests involving thousands of vertices, you'll probably never get the same results as a professional 3D engine like Crysis. You might simply be using the wrong tool for the job.

  • 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!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Which toolbar and where??

  • 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).

Ashley's avatar

Ashley

Early Adopter

Member since 21 May, 2007

Twitter
Ashley has 1,538,700 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
  • x69
    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
  • x38
    Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

32/44
How to earn trophies

Blogs