Adding Zoom In On Object + Mechanic Reset

  • I'm looking into adding a feature where the game screen will ZOOM IN on the Mario object when it hits and destroys the enemies, along with slowing down the speed (a slow-mo action shot). I also want to reset the slingshot mechanic which I can get to work. Any help would be appreciated.

    https://www.dropbox.com/s/q7x55w4n2zujdsj/Mario%20Strike%20Test%201.1.capx?dl=0

  • Scale is the parameter you want to fiddle with. Either layer or layout scale.

  • OK. I think I tried the Layer scale and that looked weird so I'll try the Layout scale. What about resetting the catapult mechanic so that wherever the Mario object ends up, the catapult star block will reappear on it and reset the mechanic? That's the thing that's really holding me up.

  • I still need some help on this. I've tried having the system spawn a new catapult box but the mechanic wouldn't work correctly. And other attempts have lead to multiple spawns or the catapult mechanic just won't work. I want to take this project further and this is holding me up.

  • Sorry for the reply delay, I was traveling for the holidays.

    Our game is still using the r206 version of Construct, so I can't get your capx working to run it, but I did look at your events, etc.

    You might have some layering problems too. Is your event supposed to happen on Layout 2? Because all of your events are currently on Event Sheet 1, which is inherently tied to Layout 1. If you want to add Event Sheet 1 to Layout 2 also, you need to specify by selecting the layer and setting the "Event sheet" to Event Sheet 1.

    However, the actual actions should look like this ( I believe ):

    You would need to change the layer too from "Action" to "Layer 0" if you wanted this to happen on Layout 2.

  • Sorry, I can't actually see the image you've posted for some reason.

    I only want to get the actions working on Layout 1; Layout 2 is just a holder for all of my assets to be present in the project. I'm still looking to get this working so that I can try and make a fully working build.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Sorry for the reply delay, I was traveling for the holidays.

    Our game is still using the r206 version of Construct, so I can't get your capx working to run it, but I did look at your events, etc.

    You might have some layering problems too. Is your event supposed to happen on Layout 2? Because all of your events are currently on Event Sheet 1, which is inherently tied to Layout 1. If you want to add Event Sheet 1 to Layout 2 also, you need to specify by selecting the layer and setting the "Event sheet" to Event Sheet 1.

    However, the actual actions should look like this ( I believe ):

    You would need to change the layer too from "Action" to "Layer 0" if you wanted this to happen on Layout 2.

    Not sure if quoting you directly will get attention (not that I'm stalking you or anything, LOL). Also, it seems that the catapult mechanic works in a way that depending on how fast you pulled the object back will determine how fast it flies. Or, does that have to do with my use of the Bullet behavior?

  • Yea, that is good.

    You can use the bullet behavior, but you have to use mechanical considerations to determine the initial velocity and angle. I think Layer management is your primary issue though, no the bullet problem.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)