Game in a week challenge | Survival horror | Day 4
On Day 4 I was a little bit struggling, the reason is my code, it was kinda good when I just started, but now it is a big mess, which I need to clean in next day. But I've finished first level blocking and made some textures. Some of the are not stacking each other because of bad UVS, but this is 7-day challenge and I have not much time to figure it out now, maybe if I will have free time.
I've made working light sources, which kinda work, but they affect gameplay badly, so enemy can't see you most of the times, so I need to make noise from player to make enemy more efficient. Noise should be > Light, keep that in mind.
I've started making interactable objects with functions, like lockpick can be used on lock and lock is opens the door. This part of the code is very bad I need to figure out how to make it work properly, because I have not understanding on how to make it know which item you should use: should I compare gameObjects in your hand with gameObject what needed to open thingy? Or I need to compare something else? I stopped on enums with type of item and in Player Interaction script I've made switch on what type of interactableItem, Interactable required. And if you hold needed item, you interact, else you don't. I don't know is it right way to make it, but leave it like this for now, because it kinda works.
Ok, see me struggling with the code in Day 5 on twitch: https://www.twitch.tv/ambear1337
Thank you
Get Unnamed survival horror game
Unnamed survival horror game
Game made on my own challenge "Make game in every genre for a week"
Status | Prototype |
Author | Ambear |
Tags | 3D, challenge, cult, cultists, game-in-a-week, granny-style, Horror, sacrifise, Survival Horror, Unity |
More posts
- Game in a week challenge | Survival horror | Day 3Feb 18, 2023
- Game in a week challenge | Survival horror | Day 2Feb 16, 2023
- Game in a week challenge | Survival horror | Day 1Feb 16, 2023
Leave a comment
Log in with itch.io to leave a comment.