tunepunk's Forum Posts

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

  • >

    >

    > From 8 events to 4, and it was quick and simple, awesome!

    >

    Here is the same in just one event and one action:

    Yeah. I don't think a lot of people know they can use expressions that way. It's a bit of a learning curve, but once you get used to it. You will reduce the amount of events a lot.

    There should be some good tutorials on that, because you don't really stumble across it by chance unless you study the manual, and read up on expressions.

  • This can be done easily with expression? Expressions support "or" using the "|" sign.

    You can use this kind of expression in a compare two values system condition.

    (a = 1 & b = 5) | (a = 1 & b = 3)

    = 1 returns true.

    Here's an example:

    https://www.dropbox.com/s/0bq7jkr98pvig ... t.c3p?dl=1

  • That example is a scam, you're comparing accelerating physics calculations with collision detection to moving sprites in a linear Add 10 to Object.Y without any collision detection or acceleration, it'S smoke and mirrors and completely non functional.

    Maybe not a good example but i think the point he wants to get across is to identify when and when not to use certain features such as physics. If you can do pretty much the same thing without physics and save a lot of CPU calculations then I would call that an optimization. Many people just go the lazy route and slap on behaviours such as physics when you can do similar things way more lightweight with events (depending on what you're trying to do) but sometimes there's no way around it.

    I'm using a similar approach for the arrows in my game. Instead of checking collisions every tick for the arrows while in the air I'm just moving sprites.

    When an arrow is fired, I make a very lightweight raycaster with events to calculate a line between player and where the arrow should land or collide. This happens in one tick. No need to check collisions every tick after this point, since I already know where the arrow will end up. After that I just move a dummy sprite from point A to point B. The arrow sprite follows this dummy sprite, and is offset in Y axis based on the distance travelled to simulate and arc.

    So instead of checking collisions every tick, i just check it once in one tick, then just move objects accordingly.

    One huge part of optimization is to determine when to use what, and If you can get a similar effect but simplified. Collisions can be very useful, but can also use a lot of CPU if you're not careful.

  • So its not a bad translation.

    Actually 3d can be done without plugins. You would still need to add some custom js, but no plugins.

    https://www.dropbox.com/s/osmnwshb7dl4zi5/custom_webgl2.capx?dl=1

    Example made by R0j0, not me.

  • Updated the Original post with links to all the latest blog posts.

    Construct 3, a year in review.

    According to the latest post above we can expect to try it out pretty soon, and I can't wait to get my hands on it!

  • You can do it with events. I don't have access to C2 at the moment but here's a C3 example file that might help.

    I guess it's something like this you want to do.

    https://www.dropbox.com/s/s9xuhp432is67 ... p.c3p?dl=1

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Seems like quite a few plugin developers have left the community, or are no longer supporting their old plugins. There's still quite a few popular ones that needs to be converted and I doubt that the Scirra team has time and manpower to do it all. And I doubt plugin developers are willing to do it for free.... soooo.... I was thinking...

    I would gladly pay for someone to convert plugins I rely on so maybe an indiegogo, or gofundme campaign or something similar would be good to get some cash to pay for someone with the right skills to do the conversion?

    * Is there any plugin devs on the forum, that has the skills, knowhow & time to do C3 versions, and feel they could do it if they got payed for their work?

    * Is there any game devs on the forum that are willing to pay to get a C3 version?

    Since it's a community after all, maybe if we all chip in, we can get the ball rolling if the only thing holding conversion back is financial. If we can get permissions from the original plugin creators to do a conversion of course, otherwize they should be built new from scratch, from available SDK's.

    I don't mind paying for plugins that I feel are missing.

    Maybe even a Patreon account also to be able to pay devs for maintenance of C3 plugins. If we as a Construct community could hire a full time developer to supply us with much needed plugins that would be awesome.

    Any takers?

  • Here's some examples for inspiration that look a bit more rendered and "fun".

    The gameplay is kind of fun, so people often don't even give it a chance if it doesn't look very fun.

  • Been playing the game for a few hours now and I thought it was pretty fun and quite addictive, but yes it's not perfect, so here's my feedback.

    First of all, the theme itself about brain and depression etc is not very appealing, but maybe could be done appealing if it had some awesome graphics, but still it's a very odd concept. If you remade the game using some more traditional theme's like medieval, demons, zombies, military, that would be more appealing to many as it's part of popular culture. Gameplay is pretty solid, but graphics is and UI needs to be polished. Music and sounds effects are okay.

    Gameplay wise, it takes forever to build up enough motivation to be able to pass the first 5 levels. I've been playing the whole morning, replaying the first four levels 20-30 times to get enough motivation. Motivation gain is way too low, and you get quite bored having to repeat levels over and over. I did level 1, maybe 15 times, because it was the fastest way to build up motivation to purchase upgrades. I've been playing 3 hours and still hasn't passed level 6. The game becomes more of a grind than strategic.

    I still think it was quite fun though, but the things I don't like is the theme, the graphics, and UI. It just doesn't feel very appealing.

    If you used the exact same gameplay levels and everything, and just changed the theme, and with some more polished graphics and UI I think a lot more people would find it interesting.