caiorosisca's Forum Posts

  • You can add an event

    System> Every X seconds >

    for the action choose

    System > Create Object

    and select you zombie sprite, you will also need to set a position for it

  • Layout2 has no event sheet linked to it.

    Create a new eventsheet, move the event that changes layout to that event sheet (remove from Event Sheet 1).

    Click on Layout 2 and set it's event sheet to the new one you created, in the layout properties window.

    On the project properties windows search for Start layout and change from default to Layout 2_start.

  • I'm not sure on that, but probably the timer is still running when you change layouts and once you go back the event is waiting there ready to trigger.

    You could use the timer behaviour to do this, start the timer 'on start of layout', then on timer finished event do whatever you need to do.

  • You can use the layout name when changing layouts, instead of the number.

    Change 2 for "whatever_the_layout_is_called" , the name must be between " " (not sure what it's called in english), since it is a string.

  • Sorry for the delay, I had to atend a meeting.

    Unfortunatelly the vidoe doesn't show much, I've attached a capx with the end result after following that video.

    The way purposed by it isn't really the best approach, having an event for each rope segment isn't really viable when you have too many of them in a layout. They are all the same object so there,s no need to make lots of copies of it.

    I would probably create one ropeSegment sprite and maybe have a instance variable on them so I know which one it is (1,2,3..) when I need to chain them. And for the cutting part I need to check for only 1 object.

  • I found the tutorial, having a look at it right now

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • "Server Error in '/' Application.

    The resource cannot be found."

    The link isn't working otherwise I could translate it for you.

  • You can create a sprite with multiple frames and just change the frame

  • Check this tutorial, it will lead you in the right direction

    https://www.scirra.com/tutorials/413/di ... -animation

  • oh I see what you mean, I don't have git in the computer I'm on right now. I really see no reason for it not to work though. As all the files are just xml files, what is actually happening right now? doesn't it merge the caproj file correctly?

  • You should post the capx blackhornet said, I can't see anyhting wrong from what you posted

  • Have 2 separate objects, when you need to change it delete the stable one and create the unstable one at the same position, with same size

  • Hey, I looked at the capx. Apparently what's happening is, when you shoot to the left as soon as the spr_iceSpeel leaves the layout is gets destroy due to the behaviour you added, at that exact moment the iceSpell(particle) haven't left the layout yet, so it doens't gets destroyed and tries to set it's position to spr_iceSpell's position, as it has been destroyed the system can't find it's position and returns 0,0. That's the reason your particle emitter is at 0,0.

    It's not been spawned there, but moved there when it loses track of it's spr_iceSpell, I don't have time to fix it now, I would still need to try different ways to see what works. What you need is a link the spr_iceSpell and the particle emitter(maybe a container?) so when the first gets out of the layout you destroy both of them (remove the behaviour and create an is outside of layout event for it).

    Or you can make a dirty fix and check if particle.position equals 0,0 > destroy.

    Hope that helps

  • Not sure what you want to show in the Highscore layout, check if that capx helps you.

  • Nitestalker Break up the url with a space, I can have a look at the capx for you