Adding Zoom In On Object + Mechanic Reset

Get help using Construct 2

Post » Tue Dec 15, 2015 12:07 am

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
B
169
S
90
G
7
Posts: 123
Reputation: 16,842

Post » Tue Dec 15, 2015 9:35 pm

Scale is the parameter you want to fiddle with. Either layer or layout scale.
https://www.ravenheart.ca/home
Company name changed to avoid Facebook-type shenanigans

"Someone once told me I bite off more than I can chew...

I told them I would rather choke on greatness than nibble on mediocrity."
B
22
S
6
G
1
Posts: 1,317
Reputation: 4,628

Post » Fri Dec 18, 2015 12:44 am

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.
B
169
S
90
G
7
Posts: 123
Reputation: 16,842

Post » Tue Dec 22, 2015 11:31 pm

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.
B
169
S
90
G
7
Posts: 123
Reputation: 16,842

Post » Wed Dec 23, 2015 6:54 pm

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 ):
Image

You would need to change the layer too from "Action" to "Layer 0" if you wanted this to happen on Layout 2.
https://www.ravenheart.ca/home
Company name changed to avoid Facebook-type shenanigans

"Someone once told me I bite off more than I can chew...

I told them I would rather choke on greatness than nibble on mediocrity."
B
22
S
6
G
1
Posts: 1,317
Reputation: 4,628

Post » Wed Dec 30, 2015 6:51 am

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.
B
169
S
90
G
7
Posts: 123
Reputation: 16,842

Post » Sat Jan 02, 2016 10:52 pm

gumshoe2029 wrote: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 ):
Image

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?
B
169
S
90
G
7
Posts: 123
Reputation: 16,842

Post » Tue Jan 05, 2016 4:43 pm

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.
https://www.ravenheart.ca/home
Company name changed to avoid Facebook-type shenanigans

"Someone once told me I bite off more than I can chew...

I told them I would rather choke on greatness than nibble on mediocrity."
B
22
S
6
G
1
Posts: 1,317
Reputation: 4,628


Return to How do I....?

Who is online

Users browsing this forum: AllanR, lukedevel, m0nkeybusiness and 1 guest