Aquanex2's Forum Posts

  • Hi Aquanex2,

    This happened to me once in the past on C2 and a big project too. In my case it came from my way of including event sheets. Maybe trying to look on the side of your includes and the moment they are called (and indeed on the variables side as well). You can also create a global event sheet to include all your includes, which will be called by your layouts. If it can help you debug, at least it helped me to see more clearly. Good luck.

    IT WORKS NOW! For absolutely NO REASON AT ALL, it just starts working out of nowhere. I don't know why or how. I went to go fix some other (completely unrelated) issues that I had and came back to see if I could try again, and LO AND FREAKIN BEHOLD, it works now.

    Just as mysterious as it stopped working. It's working again. It's kind of bittersweet in a way. I'm ELATED that it's working again, but I'm still kind of upset that I don't know what happened.

  • Wasn't c2 autosaving for you along the way? Have you tried to load that?

    Sucks mate, that has almost happened to me before. I know its not the best time to say but saving regularly to different files is good practice.

    IT WORKS NOW! For absolutely NO REASON AT ALL, it just starts working out of nowhere. I don't know why or how. I went to go fix some other (completely unrelated) issues that I had and came back to see if I could try again, and LO AND FREAKIN BEHOLD, it works now.

    Just as mysterious as it stopped working. It's working again. It's kind of bittersweet in a way. I'm ELATED that it's working again, but I'm still kind of upset that I don't know what happened.

  • Hi Aquanex2,

    This happened to me once in the past on C2 and a big project too. In my case it came from my way of including event sheets. Maybe trying to look on the side of your includes and the moment they are called (and indeed on the variables side as well). You can also create a global event sheet to include all your includes, which will be called by your layouts. If it can help you debug, at least it helped me to see more clearly. Good luck. <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy">

    Thanks for that info. Another thing that's weird is that I've added a text object action on the events that aren't working to tell me when or if the event's condition is actually being met. And yes it is, but the rest of the actions aren't activating.

    This makes absolutely no sense as it was working before on the same layouts, but not anymore, but it works on my most recent layout. I can't provide a capx, but I made a video.

    Here's the link: https://www.dropbox.com/s/gy29oe4me3u9z ... s.mp4?dl=0

  • Very doubtful it's a software glitch.

    This is nearly always an Event or variable issue (user error), but without much more info - a .capx for instance - then how can we know?

    You don't think so, huh? Well my game is too big so I don't want to provide a capx, so I guess I'll just have to play around some more to figure it out.

  • Hi! Soooo... I'm having this weird issue where certain things on the event sheet don't act the same when I'm on certain layouts. I've checked and... yes all of the layouts are using the right event sheet. So what's the deal? Is it a software glitch?

  • So does the collision happen twice?

    You can add something like a cool-off period. If there was a collision with enemy, ignore other collisions for the next 0.5 seconds or so.

    This is not the best solution, but without a capx there is nothing else I can do.

    I'm not sure if the collision happens twice. I could try to put together an exact replica of my situation in a capx.

  • You can try adding another condition to event 806: Enemy Health>0

    If this doesn't help, add some debug output to event 801, for example Browser->Log "Collision:" & Enemy.UID

    This will tell you how many times the collision happens. It may be possible that when you apply vertical velocity, player collides with the enemy again, or maybe your enemy has some weirdly shaped collision polygon.

    I tried this. Did not work. The hitbox is a normal square, so I think it is because of the vertical velocity being too fast. The enemy moves around in a circle, so when it is moving upward this is probably causing collision issues when the player is falling downward.

  • To aid assistance and avoid pointless guesswork, please consider providing the project as a single file. It is always the fastest way to a resolution.

    I have actually made a small capx for problems I've had in the past, but this was the quickest thing I could do. My project is just getting too big.

  • if you are using C2 250 try run the game in a different browser and see if the play still die.

    I had a problem like that the code was ok but in chrome it act strange then i change to edge it works then i close all broswer and C2 open back up and all working ok.

    But just double check your code if all still look ok try the above.

    Just tried that to no avail. If you come up with anything else, don't hesitate to shoot it at me. I'll keep trying things.

  • So I have this weird issue on my platforming game. It's a very large project so I can't really provide a capx. I have several enemies in my game, but one enemy in particular is giving me issues. You jump on the enemy to damage it. The code for it is exactly the same as the other enemies.

    Here's a picture:

    https://www.dropbox.com/s/36zv2isvjjdpu ... n.png?dl=0

    Everything is normal until you kill him. For some reason, at the moment you kill him, you take damage, which doesn't make sense since it gets destroyed. I feel like this has happened once before, but I'm not sure how I fixed it.

    Any ideas? <img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question"> <img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question"> <img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question">

  • Video is not available

    Do you still need help with this, because I can help you.

  • Wasn't c2 autosaving for you along the way? Have you tried to load that?

    Sucks mate, that has almost happened to me before. I know its not the best time to say but saving regularly to different files is good practice.

    Sorry for super late reply. This happened to both the autosave and the backup that were created by c2. It's crazy! But I think I can recover from this.

    Edit: Also it wasn't just the Texture folder. It was also the Animations, and Files folders

  • I create backups frequently because I never know when something unexpected will occur.

    I guess you can just redo it all, and make it better now that you have the foresight.

    If this is my only option it's gonna SUCK! I hate my life

  • 3 MONTHS OF PROGRESS DOWN THE DRAIN!!! I made a back up a while ago BUT THAT'S SO MUCH WASTED TIME!!!! WHY DID THIS HAPPEN I'M SO CONFUSED I JUST WORKED ON IT YESTERDAY!!!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Can you disable solid behaviour for the object when you detect that it's actually crushing the player?

    You can set a boolean instance variable for the player perhaps, and when they're being "crushed" then disable solid on the crusher - and use other events to control the position/size of the player to control the crush "mechanic".

    I guess it's a little difficult to make a suggestion without seeing how your current mechanics are working, and what you're wanting to achieve cosmetically.

    ~Sol

    Sorry it took me so long to respond... This sounds like a great idea. In my game you pretty much just explode once you're crushed, so you don't really look crushed or anything. This will work just fine.