PulvererPeter's Recent Forum Activity

  • Hey there,

    When i make the player attack, it spawns a hit detection box in front of him, at a certain frame. When the attack animation is over, i used the command destroy object on the box. Now this seem to work pretty well. Now i did the same with an enemy. They got their own hit detection box, it spawns just fine, but when it comes to destroy the box after the animation, it just fails.

    Is there anything i'm missing about destroying an object? Why is it working on one character but not on the other?

    Greetings

    PP

  • LittleStain I tried that before, but thx anyway!

  • Okay, i just gave up on doing complex cutscenes in construct. The story-variable strangely messes up going up to 7, even if it's impossible getting that high, cause i never use add amount for this variable, only used "set to".

    Probably just add prerendered animations.

  • Hey there,

    I'm struggling with a cutscene for a few days now. I started the complete scene over and over again and now i came to the point, where i just can't go on. Usually i can do quite complex stuff in construct2, but i really struggle with something that shouldnt be that hard to do.

    The scene is about: Camera scrolls to character > Character playing animation > Camera scrolls back to where enemy appear

    This is done by triggering the story-variables for the different sections of the scene. Sorry i can only provide those 2 pictures of my event sheet.

    Now what i don't understand, when the variable reaches 3, i saw in debug mode that it changes back to variable 1 and i kinda mixes the whole process with the 3rd part, ending in a total mess.

    I couldnt get my head around what exactly is happening here. This is maybe the third time i did this scene, each time with different programming, but none ever get me the right results.

    I really really need help with this, what is happening here?

  • Ashley Actually i am using SpriterPro and i'm already exporting them there as small as possible, just so they dont look pixelated in my game. Btw, maybe i should mention that i'm doing a PC game, not a mobile game.

    Thanks for your answer Ashley!

  • LittleStain Not sure about that, cause i'm compressing them directly from my editing software.

    zenox98 Ok i'm gonna read that thread, maybe it helps me understand things a bit better.

    Thank you guys for your answers!

  • Hey guys,

    i think i read the most important topics about memory usage in construct by now, and i'm aware what is using the most of it and how to prevent massive usage.

    There's just one thing i'm still not sure about animations.

    My character animations like moving, standing etc. are all using about 15-20 frames.( I used to use about 30 frames, so the animation was smooth, but for sake of memory usage, i reduced them). Each frame picture got around 10 kb.

    Now if i load them into construct, memory usage raises very fast. Everytime i export them from spriter, i'm gonna resize them as small as possible, so they still look good in my 1920x1080 sized project. In construct i'm croping them all. Still it's taking quite a bit of memory.

    Now my real problem is, i got a looot of animations for each character and enemy and in the end i'm gonna have lots of characters too.

    1.Question: Am i overlooking something to keep smooth animations, even with like 15-20 frames?

    2.Question: If the memory usage tells me, it's using let's say 300 mb. Does that mean it's using that the whole game, or just for the layout.

    Btw:My approximately downloadsize is about 30 mb by now, while my memory usage is about 300 mb. The backgrounds don't use that much of memory, it's just the animations, which are all already downsized to the limit of an acceptable look.

    Maybe somebody can light up my mind a bit

  • Hey there,

    This is exactly what i was looking for. It's just a pitty that the images and the capx in this thread are deleted. Is there a chance to get those examples again?

  • Is it possible to check, which event-groups are activated while in debugging-mode, like you can see variables change in realtime?

  • Great, thank you!

  • Is it possible to open the file in older version of construct2? Cause i get an error because the project was saved in the beta version.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thank you LittleStain, tried it with subtract before, but got it wrong first! Now with your method it works. Thanks!

PulvererPeter's avatar

PulvererPeter

Member since 18 Oct, 2015

None one is following PulvererPeter yet!

Trophy Case

  • 9-Year Club
  • Email Verified

Progress

10/44
How to earn trophies