Stop Player interaction with platform

Get help using Construct 2

Post » Thu Mar 19, 2015 4:14 am

I have a player on top of a moving platform. the platform was made by creating a scrolling background and i gave it a solid behaviour for the player to stand on. Since the platform is moving the player moves with it, but i want the player to stay stationary. How do i stop the player interacting with the platform?
B
8
S
2
Posts: 146
Reputation: 1,132

Post » Thu Mar 19, 2015 5:19 am

Is the player ever going to interact with it?

If your just wanting to hold him in place until a movement key is pressed or start count down happens then you could use an invisible sprite to hold him stationary and destroy it when you want interaction.
Check out my completed games on the Arcade! Capt. Doe Save the Universe! & Clicker Wizard!
B
60
S
15
G
8
Posts: 619
Reputation: 8,970

Post » Thu Mar 19, 2015 5:33 am

..like this?
You do not have the required permissions to view the files attached to this post.
Image
B
62
S
23
G
7
Posts: 1,470
Reputation: 10,731

Post » Thu Mar 19, 2015 7:36 pm

@chrisinfigner
Yeah i tried using an invisible sprite but it doesn't look too good and if the sprite is too close to the moving platform then it starts acting strange.

@korbaach are you able to screenshot the event page and add it as an attachment. I had some problem trying to download the newer version so i can't seem to view it
B
8
S
2
Posts: 146
Reputation: 1,132

Post » Thu Mar 19, 2015 8:12 pm

..it's not new..its 195...you can open... any capx whit any C2 version..

1.change file extension from " .capx" to ".rar","zip".....
2, extract files...
3. open ".caproj" file in Notepad or any other text editor.
4. edit file.... https://www.scirra.com/tutorials/442/ho ... onstruct-2
5. open in C2



Platform....

Player is overlapping platform at offset x=0; Y=2.......................Player,Set vector Y to 1 :)



Image
Image
B
62
S
23
G
7
Posts: 1,470
Reputation: 10,731

Post » Fri Mar 20, 2015 12:32 am

yes like that when it doesnt interact :D

where is the caproj file?
B
8
S
2
Posts: 146
Reputation: 1,132

Post » Fri Mar 20, 2015 1:36 am

@korbaach the non interaction worked!!!!!

If the play gets flipped to the underside of the platform how do i repeat the same process so that the player doesn't interact with the underside
B
8
S
2
Posts: 146
Reputation: 1,132

Post » Fri Mar 20, 2015 1:44 am

Player is overlapping platform at offset x=0; Y=-2..............Player,Set vector Y to - 1 :D
Image
B
62
S
23
G
7
Posts: 1,470
Reputation: 10,731

Post » Fri Mar 20, 2015 2:17 am

You're a genius!!!!!!!! haha

And last but not least is there a way i can make the actual player flip so that his face turns upside down?

This is what i have done to make him flip with some help of others.
You do not have the required permissions to view the files attached to this post.
B
8
S
2
Posts: 146
Reputation: 1,132

Post » Fri Mar 20, 2015 2:18 am

O should of probably explained that the player will flip onto the underside of the moving platform. Ememies will be on the bottom level as well
so when he flips to the underside of the platform i was hoping his face will turn/rotate upside down as well
B
8
S
2
Posts: 146
Reputation: 1,132


Return to How do I....?

Who is online

Users browsing this forum: BadMario, sunlives, wertt22 and 11 guests