tunepunk's Recent Forum Activity

  • I actually played around with the Fake 3D project whole day yesterday trying to optimize it. As mentioned the biggest performance sink seems to be for each loops, unless you do like SnipG did in the latest example, seperate all frames to seperate objects and add them to a container. Although it works it's a very cumbersome way to work if you have many slices and objects.

    I think Construct is definitely missing some form of group/parent/hierarchy node that would make these kind of things a breeze. Just attach instances to to the parent, with an Y offset. Currently not possible. But i think it's being considered: https://construct3.ideas.aha.io/ideas/C3-I-12

    Even an updated pin behaviour could do the trick, but not in this case since it's very limited in it's current form as it doesn't take any inputs at all. If you could pin to a object with an offset controlled by an expression, Pin would work fine, and would probably be the most effective way, since behaviours in general are a lot faster than events.

  • Well, you repeat the same complex formula 14 times in the events for what appears to only produce a varying Y offset, and it's bottlenecked on that. Those are super inefficient events. You should be able to easily optimise that to do one expensive calculation for the base, then simply offset the other slices vertically.

    ASHLEY. I took a look at the example and it's actually pretty well optimized as he's taking advantage of containers. If you do it any other way you are forced to use For each loops and that becomes the bottleneck if you have many moving objects. In order to do what you're suggesting more efficiently there needs to be a way to associate multiple objects like container works, without using for each loops.

    Here's my attempt at optimizing, and it just gets more heavy since you are forced to use for each loop.

    https://www.dropbox.com/s/ej6xwj4qwi672 ... D.c3p?dl=1

    Using containers is a nifty trick but it will make the project messy and hard to work with in this case.

    By the way.. I think i found a bug as well... Changing to C3 runtime for the project and layout rotation doesn't work with A & D keys.

  • I'm curious what's the current possibilities in edittime.

    Let's say you want to create a new object type. Like a 9 patch, sprite, or something similar.

    * Can you have custom handles for manipulation?

    * Can you draw shapes and bounding boxes that will show up in the editor for a new object type?

    For example.: The Particles plugin spray cone has red lines to represent the cone angle.

    Would it be possible to create a plugin that does something like this? where you can manipulate handles?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Fun this little funny tool for people who has grand ideas for games, and may need some cost/time estimates.

    http://yourgameideaistoobig.com/

    After removing some features, I landed on $147,420* or 3 years.

    :p

    What about your dream project?

  • What's the resolution of the project? I'm if it's very low. I'm guessing you're not doing subpixel scrolling. Make sure pixel rounding is off, and that you're not using "round" on the scroll to position event. If you're scrolling to the character that can't stay on half pixels, maybe you can try add a little lerp to the scroll to make it more smooth?

  • I'm also curious about this. What about games that have some kind of sign in functionality, account, or databese, with scores and achievment tracking?

    You also need some consent functionality for that?

  • Just found this neat little HTML5 animation tool. As I read DiegoM is currently working on something along those lines I just wanted to share.

    This tool seems very polished and easy to use, so might be a good idea to use for inspiration.

    https://editor.animatron.com

    Some things i really like about this tool that would be really useful in Construct as well:

    *Editable movement paths (Vector curves to control movement)

    *Vector object support.

    *Very easy to animate Transforms (Move, Scale, Rotate etc)

    *Bone tool

    Extra:

    *Option to add basic shapes, circles, boxes with rounded corners etc. would be good for designing UI elements.

    Just thought I would share since i found it pretty cool.

  • Finally got a chance to play around with the C3 runtime and I'm quite impressed. There seem to be some major performance boosts in almost all areas..... except one.

    Frame animations

    I ran the quad issue performance test with and with and without animations. I just duplicated the first frame of the Sprite object to have a 3 framelooped animation.

    C2 runtime without animations - 94.000 30fps

    C2 runtime with animations - 54.000 30fps

    C3 runtime without animations - 111.000 30fps

    C3 runtime with animations - 49.000 30fps

    Stopping animations or switching to another animation did not increase framerate much either. Setting all the animated sprites to invisible reset the fps to 60. Ashley is this something that will see some performance improvements as well. Just out of curiousity, what's the main reason frame animations has that big of a performance hit?

    It seems like once Animations are started they never really stop. They will continue to have a pefromance hit, as long as they persist, or have visibility set to visible.

  • I think it's very hard to completely stop people from tampering with it, people will always find a way. Maybe it would be easier to disqualify people who have been tampering if there's any way you can detect it.

    For example if a variable was changed let's say score.. if the score is higher than they could possibly have gotten from the things that provide score. If you log everything, it will be pretty obvious if something doesn't add up.

  • Tom I some other suggestion that might be helpful for the plugin exchange.

    1. Ability to upload Screenshot/gif... would be good for effects and such, as you would wanna see some examples of what it would actually look like.

    2. Maybe later down the line even embed/iframe an exported html5 project to test example files directly.

  • I have a sprite object using the "warp object" effect. One of the parameters is Frequency.

    On the lower part of the object I want the frequency to be 1, and at the top I want it to be 5. Can some kind of expression be used to achieve this?

    For example doing some kind of lerp between the value for the bottom of the sprite to the top?

  • Yeah. R0j0 is right.

    If you the only problem is duplicated subevents and you want to save some events you can put duplicated subevents in a function and call that instead.

    Functions are very useful for this purpose and very flexible since you can pass variables through the function parameters.

tunepunk's avatar

tunepunk

Member since 2 Mar, 2014

None one is following tunepunk yet!

Connect with tunepunk

Trophy Case

  • 10-Year Club
  • 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
  • Coach One of your tutorials has over 1,000 readers
  • RTFM Read the fabulous manual
  • Email Verified

Progress

16/44
How to earn trophies