corlenbelspar's Forum Posts

  • It was actually just a matter of the menu has about 200-300 objects and multiple events across my game were referring to them due to oversight on my part. Isolating said objects to only be referenced for inventory related things made the frame rate go back to the same as if it were closed even though the objects all exist at all times. C3 basically does very minute CPU processing of objects that are just static and laying around while invisible.

  • You're right. I realize now I made a serious error in my events that makes the game lag because I remember I've tested C3 spawning 100,000 objects that have no events associated and C3 basically doesn't care at all. I can still fix it, it's just probably gonna take a few days. Thanks for the help.

  • I'm currently just destroying and recreating initial objects on a global layer when the player presses pause, but this ends up making the game lag really bad for a bit since it has to recreate dozens upon dozens of objects. I destroy and recreate said objects to minimize impact on CPU they cause when they wouldn't be needed when the game resumes.

    Is there a better way to do this?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'm using the tilemap object to pull off the player being able to load spritesheets into my game. I was wondering if I could change the tile size during runtime to open the door for variable size sprites.

  • I can see the point of both sides of this with Ashley's explanations to his hesitation and also what everyone else is saying.

    It might be a good idea to try to meet halfway somehow, if possible. So that way Ashley doesn't get swamped spending all his time of the suggestions list rather than actually getting things done in working on C3. It is kind of frustrating that there are things like tiled backgrounds can't be animated at this time, and you'd think it'd be a given that jump throughs also have collision tags like solids, but I also understand Ashley is probably spreading himself too thin with all that he's doing currently.

    It's times like this I would look to hiring more people if possible, but I can't even pretend to know Scirra's financial situation or the laws of the country they're based which are likely totally different from the ones in mine.

  • You gave me an idea to just make the game increase its canvas size slightly because my game is already programmed to handle different sizes of that with black bars on the side to make it visually appear still 256x224. This seems to have fixed it because the edges of the screen where the tilemap can't paste are never visible. Players likely will never notice it's been set to 262x224 or whatever I end up going with since it uses letterbox integer. As well as probably all monitors are wider than they are tall to begin with.

    I need to use drawing canvas for this because sprites like the player and enemies also cast a drop shadow.

  • I am using a canvas on the background tile layer with "source atop" blend to paste the foreground tiles and characters onto it and offset it so they all have a drop shadow but only on the background tile layer and parallax layers don't have it appear on them. The problem is that the canvas object seems unable to paste sections of tilemaps that aren't on screen. So if the player moves quickly enough left or right, the drop shadow on the edges of the screen is missing for a moment. How do I compensate for this?

  • I just want to position the game's window based on the current monitor it resides.

  • They take minutes at a time to save and I have to save constantly with how much C3 can sometimes crash. Saving to local browser only takes seconds and doesn't interrupt me doing work. I have never lost my project due to clearing my browser cache because even if I do, I've uploaded a backup practically every day and I always save to a project file before I clear browser cache.

    I figured out how to make the option appear anyway, so thanks for the concern but I have it handled. When I was a lot younger I already learned the hard way losing a whole project well into it due to not backing up and have never made that mistake since.

    Even if I did lose my entire project, I'd only be mad at myself for being so careless because it's not anyone's fault but mine. lol

  • How do I save something to the local browser to make it appear then? C3 currently doesn't give me the option to save to that.

  • You do not have permission to view this post

  • I'm having this STATUS_ACCESS_VIOLATION error crash C3 in Chrome as well but on Windows 10 when my game just runs for a short amount of time in certain layouts. I'm not sure yet why because debugging these kinds of things is virtually impossible because I'm not a programmer of C3, but I have to debug it somehow to reproduce it 100% of the time or else my bug report will just be closed immediately.

    EDIT: Reverting to the last version of Chrome might have fixed it, but now I don't have the local storage option for saving projects. Seems like in 2021 it's always something broken with any software or consoles.

  • As it stands I have a function that when called when a character is damaged it runs through all enemies and bosses in the game to see if their HP has reached 0 to initiate their death animation or exploding to pieces or whatever. This however has led to the function being massive due to how many hostile characters we have and so it can noticeably slow down the C3 GUI when expanded.

    Is there a better way to do this via a trigger event? It's not good for FPS if the game checks if their HP is 0 or lower every frame.

  • Yeah I would've reported it, but I can only get it to reproduce in my actual game that is hundreds of MB large and you guys probably won't find that helpful and maybe I did something wrong or have a Windows setting wrong.

    I've remembered in the past you've posted updates where it said projects could refuse to open if they named something like an object the same as an expression before you caught that and fixed it. I think maybe I've done that somewhere and just have too much stuff in the project now to be able to pinpoint it because I started this game long before you fixed that. I guess I can just wait and use the project folder functionality for my next game. Using local storage saves amazingly well without interrupting work flow, but I was just hoping to have NWjs capabilities available to me while developing since my game relies on them a lot.

    Well thanks for replying and stuff. You might still have inadvertently helped in the long run and C3 keeps meeting potential that it keeps having more of as you add stuff. Keep up the good work.

  • I used Process Hacker 2 to view the files C3 is actually working with and it looks like it hangs after it's read the sounds folder and then went back to loading the images folder. Is there a maximum or minimum image size that I'm screwing up?