I've got a simple top-down game set up with movement and collisions, and I've followed this tutorial on a simple Portal system, and I've copied his code, but no matter what, when the layout switches, the player ends up stuck in an Idle animation, and he doesn't move to the exit. PLEASE HELP.
Tutorial - construct.net/en/tutorials/portal-layouts-2441
Check that you put correct values in instance variables for all doors and portals. If this doesn't help, you need to post your project file.
The variables seem fine, how do I post my project?
Upload to any file sharing service and post the download link here.
Did you see the source project for that demo?
dropbox.com/s/oo4bpeo5gujxbzz/PortalSystem.c3p
drive.google.com/file/d/1z8NfhvGuF9mgO2mQWS6eOY39x_iTKA8x/view
Yeah, I did.
Your Office layout has no event sheet assigned. Also, you need to place an instance of Player object on every layout.
Ah. Also, I'm pretty sure I did put an instance of Player on every layout. I'm sorry, I'm not very good with Construct.
Develop games in your browser. Powerful, performant & highly capable.
dop2000 Thank you so much, man! You are a lifesaver! I spent waaaaaay too long looking for a way to assign the layouts to the event sheet