Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added player house prefab to levelmasks #114

Merged
merged 3 commits into from
May 22, 2020

Conversation

maccxs
Copy link
Contributor

@maccxs maccxs commented May 19, 2020

The player house

  • optional, not implemented yet: notifies the end level controller when the player is home
  • sets the player in the house depending on their condition
  • sets the player inside when space-key is pressed
  • sets the player outside when space-key is pressed

The player house
 * optional, not implemented yet: notifies the end level controller when the player is home
 * sets the player in the house depending on their condition
 * sets the player inside when space-key is pressed
 * sets the player outside when space-key is pressed
@maccxs
Copy link
Contributor Author

maccxs commented May 19, 2020

After dinner I overhought my solution: I will have to stop the coroutines otherwise space always gets the player home.

OnTriggerExit all coroutines are stopped. We only want the player
to get into the house when he is actually near it.
@maccxs
Copy link
Contributor Author

maccxs commented May 19, 2020

Now everything should be fine, hopefully.

@holke
Copy link
Contributor

holke commented May 22, 2020

I like it :)
Looks good.

Somehow the hospital has vanished?

@maccxs
Copy link
Contributor Author

maccxs commented May 22, 2020 via email

@holke
Copy link
Contributor

holke commented May 22, 2020

Hi,
yeah i just realized that i forgot to push the house picture. So sorry for the false alarm.
And yes, it was my idea to put the house at the same position, as you did in the supermarket level.

@holke holke merged commit b113575 into johannes/levelmasks May 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Levelmasks: make a prefab out of the player house so that the player can still get in and out
2 participants