caiorosisca's Recent Forum Activity

  • After spawning the objects, check if their overlapping and if so randomize position again, it works if you have a small number of objects and alot of space to position them. Otherwise it will get stuck in that loop trying to reposition the objects forever, because it can't find a position that doesn't overlap.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • create 4 variables oldX, oldY, xVel and yVel.

    everytick set xVel to abs(Touch.X - oldX), yVel to abs(Touch.Y - oldY), oldX to Touch.X and oldY to Touch.Y.

    In that specific order.

  • Where can I get the platform+ behaviour?

    Edit: I've played the game and it is pretty good, awesome art as well.

  • Not sure what you are trying to achieve here, can you share am image? I don't think you can do that in runtime, can't you copy the part you want and create a new sprite that you will use later on?

  • If you really need all those sprites there,s not much you can do, it takes some time to load them all. You can try using less/smaller sprites.

    Another way to solve it is to load the images in run time, using the load image from URL action then creating the sprites from this images, so you don't have to preload them.

  • When setting local key 'TotalScore', set it to currentScore (the one without adding previous total score) + WebStorage.LocalValue("TotalScore"). This way you will just add the new score to the previously saved one.

  • 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

caiorosisca's avatar

caiorosisca

Member since 20 Jan, 2014

None one is following caiorosisca yet!

Connect with caiorosisca

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies