WackyToaster's Recent Forum Activity

  • Can't get the file (no access) but if you want to add some randomness you can create the bullet on a random position like pistol.Y + random(-5,5)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It's better to contact the support via email rather than the forum.

    supportxyk@construct.net

  • Never had anything like that. How exactly do they disappear? Like deleted or maybe they just jump somewhere on the layout?

  • Yes of course. This will also loop the animation when it reaches the end. Don't forget to set the animation speed to 0.

  • Are instance variables already correctly linked? It states that

    an instance that has been set to be the source of property values for other instances to use. These include, common instance properties, plugin properties, instance variables, behaviour properties and effect parameters.

    But it does not seem to be the case. Am I missing something?

    EDIT: Oh yeah I absolutely broke something there but I'm not certain how yet. I have replicas that have no instance variables linked, some that have 1 of them linked and 1 not linked. I'll see if I can figure it out. :V

    EDIT2: Oh yeah nvm it does not (yet) work with families, however, this does not explain how I managed to have 1 linked regardless and 1 not linked. And on a different instance none of them are linked. Resetting the replica to (none) and back does not change this in either way.

    EDIT3: Found out how I broke it :)

  • Adding or removing children from a template will not be reflected on the replicas. This could be added in the future.

    Please add this. This would be perfect if replicas also replicate hierarchies, because then we'd finally have prefabs. This would be such a massive improvement!

    EDIT: I just noticed that this is already sort of available at runtime by being able to specify the template when creating an object.

  • Construct has a system in place that updates the game if there's a new version. You circumvent this system by editing the exported project rather than exporting a new one.

    It's a shot in the wild and I haven't tested it but I do think it's possible to trigger this update system by simply editing offline.json (along with whatever other changes you made) and increasing the version number by one, then reloading twice. (First reload triggers the update that happens in the background, second reload then applies it)

    The functionality for this is a little bit hidden inside the Browser plugin.

    construct.net/en/make-games/manuals/construct-3/plugin-reference/browser

    construct.net/en/tutorials/offline-games-construct-8

  • I actually also still use a rather old version (r270) to put out updates to my game because somewhere inbetween the save/load feature broke something :V I tried to look into it but couldn't reproduce it. I guess I should file it as a bug anyway...

    Either way I don't think it's that unusual to do a code freeze.

  • Oh I see, yeah with browser tab preview it does work. I could have sworn I have used it with the popup before though, maybe they changed something.

    Good to hear there is always some more new stuff in the pipeline :)

  • Well I had some experience, I had the basic knowledge and such and did a bunch of hand drawn animations before. I wouldn't have taken it if I did not have any experience at all.

    I actually thought of creating a "render as" option, I think it's possible. What I would have done was just stepping ahead 1 frame at a time, set timescale to 0, take a canvas snapshot and save it, set timescale to 1 for 1 frame and repeat. This would export a png sequence which most video editors can import quite easily afaik. But overall it would probably be a quite tedious process.

    Shadowplay works but without a 4k screen it wouldn't have helped. As I said, the job is done and my solution worked really well all things considered. One downside would be that it's possible that the framerate fluctuates during the recording making some parts quicker than others. Luckily this wasn't the case for me or at least if it happend it wasn't noticable. The other downside is that you kind of have to estimate how much quicker you have to play the animations to get back to original speed, but that's just trial and error till you get the desired result.

    I don't think we'll get an actual "render" function, that's just simply not the purpose of Construct. That's on me that I abuse Construct this way :)

  • I just wanna get some thoughts out regarding animating in Construct. Long story short, I recently got an offer (freelance work) to do some animations, and while I don't have major animation experience, I took the job regardless. Because that's how I roll. My first thought was to use Adobe Animate because... I don't know why, seemed to make sense. I hated it and couldn't get anything going. I tried some other similar software and also I again hated it. I was on the verge of calling the job off until I had a realization: Why am I not using Construct?

    I haven't dabbled with the timeline at all yet but it's Construct, and so 20 minutes later I had my first small animation going. My spirits were up again and work went pretty smooth I have to say. There were some minor hiccups but nothing that I couldn't deal with.

    Now the final animations were to be exported as video, which one would assume shouldn't be a problem using the game recorder feature. However, this is were the process started to get a bit iffy. I can't really fault Construct for that because it is a game engine and not a video editor. There were 2 issues with this.

    1. I needed a 4k portrait mode export. However, the game recorder takes the resolution of the current device into account and I don't have a 4k screen. Luckily there is device emulation in Chrome where I can set the resolution to whatever I need and this works, except this feature is not available in Construct for some reason. I could have sworn it was available at some point, but currently it isn't. I do think it should be available though, because it's a very easy way to test multiple different screen resolutions/devices. I shrugged it off and just exported it where the device emulation is available again.

    2. 4k... the game recorder absolutely tanks performance if it records 4k. Absolutely massive stuttering. Unuseable. Even in full HD it was noticably on the edge of stuttering. This one was a bit tricky to solve but I did eventually solve it. What I did was set the minimum fps, this results in a slowdown instead of stuttering during the recording. The resulting videos are now in slowmotion, which I then just further processed using ffmpeg and writing a little batch file to automate converting the videos to mp4 and also speeding them up. (for some reason I couldn't export to mp4 directly with the gamerecorder as it was "not supported") If anyone is curious, here's the ffmpeg line I used.

    ffmpeg -fflags +genpts -i input.webm -r 60 -filter:v "setpts=0.15*PTS" output.mp4

    So yeah... I used Construct for something that certainly isn't a game and I don't regret it. Clients were also very happy with the results.

    What I'm wondering is though, is there any way to make the game recorder record a reasonably high resolution video without tanking performance. I guess it isn't really build for that but on the other hand, most games in fullscreen will run in full HD, and at that point it is noticably tanking the performance even when nothing is happening on screen. So if the idea is to use this as a replay feature or something, it should not impact performance in the way it is.

    Also can we get device emulation back in the editor/preview :)

    developer.chrome.com/docs/devtools/device-mode

    Cheers

  • I think in this case lionz way is probably the better way so I'd also stick with it. But it's good to keep regex in mind in general because of how powerful it is.

WackyToaster's avatar

WackyToaster

Member since 18 Feb, 2014

Twitter
WackyToaster has 26 followers

Connect with WackyToaster

Blogs