WackyToaster's Forum Posts

  • What I'm looking for is the developer console, that should open when you hit F12, at least in Chrome. My bad though, I probably shouldn't have gone with the assumption you use Chrome, but any browser has a developer console. Here's an example with an error.

    Just to be sure, the same error occurs if you try to open a file saved in a newer version of Construct. You did not happen to accidentally work in a beta release somehow? Either way, your file is not necessarily corrupted beyond repair. If you post it here via dropbox or something I can take a look at it. Often times the corruption is limited to a few eventblocks and fixing it takes 2 minutes.

    As to why Construct cannot detect faulty saves... I don't know. I doubt there's no measures in place at all, just that there could be cases where it's simply not detectable?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Heh, considering I did use Construct for animation quite recently this is cool to see. I'm one of the individuals you've heard from that C3 is solid for animation. Especially the exporter since that was the main point of pain for me.

    I also noticed that it appears to be essentially a build variant of Construct itself, which is a smart move I'd say (for example if the product fails, hope I didn't jinx it :V) Here's a couple of questions:

    How will Animate differentiate itself from Construct?

    Right now it appears to be literally C3, with all gamedev features stripped + a single new export option. This makes sense overall and as I said I think it's smart to handle it this way, but I already have a C3 license with all the features (+ extra). The only exception (right now) is the new exporter. You also alluded that the exporter will be exclusive to Animate and after the public beta, I will not be able to use it.

    As it is right now, I'd probably not buy it. What you'll need to convince me would be some features, exclusive to animate, that are not useful in the gamedev-context. Because if they are useful in the gamedev-context, I expect them to carry over from Animate.

    Will there be cross-compatibility between Animate and C3?

    Of course one would have to be careful with features that are not available in one or the other, but otherwise I hope this won't be much of an issue.

    Just based on the few posts here with suggestions, you probably know you just took a leap into a deep dark rabbit hole, with strong and established competition on the market. But considering I personally hated the competition and ended up using the ol' reliable Construct, this might not be the worst idea after all.

  • Hit F12 and check in the console what the error actually says. Often it's possible to fix it. Are you using beta or stable?

  • Thanks for this file ! Super nice for testing. You actually did it yourself ? Well I notice a little stuttering from time to time by my side, and I think we're still far from the Vampire Survivor's amount of ennemies, but I believe there's still have room for optimization ? However I'm afraid this is already showing that something coded with Phaser could be more efficient from that point of view ...

    You are overestimating how many enemies are actually on screen. In fact I was exactly correct with my estimate. The game stops spawning enemies if more than 300 are alive at any given time. vampire-survivors.fandom.com/wiki/Enemy

    The posted example has 500 enemies. Enemies in vampire survivor also do not really exist offscreen as they do in the example project. Offscreen enemies simply get despawned, just bosses get teleported near you instead of despawning.

    The game does a good job of making it feel like there's 10x more enemies than there actually are.

    Also check this out. reddit.com/r/gamemaker/comments/sust5d/vampire_survivors_enemy_count_how

    If there is a bottleneck with games like this, it's rarely the GPU but rather the CPU. Specifically for web-based stuff you are limited to a single thread. Except you should theoretically be able to put the enemy logic into javascript and shove it into a webworker, which should help performance.

  • I don't think construct would have a problem there considering modern hardware. Vampire survivors in some ways has little going on in terms of logic (enemy ai is extremely basic, they even walk over walls), and it's maybe 200-300ish sprites at once in terms of enemies. XP gems are also condensed into a single red gem when they go offscreen, and if you stand still not collecting, enemies eventually stop dropping them. So the game is using optimizations to prevent lags. I'm pretty confident that construct is perfectly capable of handling that as long as you take care to keep the amount of sprites and logic in check to a reasonable degree, as they did for vampire survivors.

  • Store the code online in a database (ideally hashed).

    User sends a request to the database (AJAX) and if the code is found in the database and unused the user gets the reward and the code is marked as used. If the code is marked as used or not found, show an error.

    That‘s the basic idea.

  • I'm not really deep into understanding everything but I think the gist is that Construct takes the image from the project location and turns it into a Blob which is stored on the RAM. Blobs get cleared from there of course once you close the preview again. I don't think anything gets cached. Images do get cached on exported projects, but not in preview.

    So the images were only on the disk and inside the RAM. I doubt that you can recover anything from the RAM and the images on the disk have been overwritten, which makes them effectively unrecoverable.

    At least as far as I understand it. So your best bet is to set everything up so this doesn't happen again (backups, version history,...) and move on. It's one of these experiences that I'd argue almost everyone will go through at some point. As painful as it is, afterwards you'll make extra sure you don't ever repeat that again.

  • How/Where was the project saved? If it was saved in google drive you could get lucky and restore it if it was synced. (Other providers may have similar options)

    support.google.com/a/users/answer/9308971

    Otherwise... I have to say chances are very slim that this is possible to recover.

    I might add, I had this happen on accident once too. Luckily in my case I caught it before I saved over something. Maybe there should be some kind of alert for this.

  • Unless pastebin allows CORS you're out of luck, and it looks like it doesn't. You'll have to find a different place to store your data, could be as simple as a textfile on your own website where you can allow CORS.

  • Set variable1 to replace(...)

    Typewriter text variable1

    I'm just thinking that typewriter might get confused by the replace stuff, so do the replace before.

  • Try to put it in a variable first.

  • I don't think using 1 | -1 works here, it works if you split it up. I don't think Construct particularely likes | in many cases. Now as to why it doesn't detect a collision... no idea, but I'd guess it has someting to do with the inner workings of the platformer behavior? The platformer behavior also has a condition (is by wall) for checking this btw.

  • You could probably adapt this

    howtoconstructdemos.com/trajectory-calculation-two-methods

    Shoutouts to dop2000

  • You do not have permission to view this post

  • Hmm weird. Perhaps there is something in your eventsheet that maybe checks for savedata or something and if it doesn't find any (first start) some stuff is not shown?