ByteBuildersLabs / ByteBeastsFrontend

MIT License
2 stars 16 forks source link

Fix Bug: Transition Between Town and Forest & Entering/Exiting Houses #143

Open jimenezz22 opened 2 days ago

jimenezz22 commented 2 days ago

Scope

We have detected a bug with the Area Exit functionality in the Town scene, specifically in the following cases:

Area Exit: Town to Forest: This Area Exit is not working

https://github.com/user-attachments/assets/2d211208-f919-4375-91b5-88d718ab6026

Area Exit: Exiting Houses to Town: While the Area Exit works and allows the player to exit the house and return to the Town, the main character respawns at a different location in the Town instead of near the door of the house they entered.

https://github.com/user-attachments/assets/91d38d19-7ec5-4526-8c23-9a165b7ee71f

Your task is to investigate the bug, understand the issue, and implement a fix.

How Area Exit are implemented?

How to apply?

MrRoudyk commented 1 day ago

May I take care of this?

mimisavage commented 1 day ago

Would love to tackle this!

josephchimebuka commented 1 day ago

Hello I am Joseph I am a frontend developer and blockchain developer and I am also an active contributor here on only dust here is my profile https://app.onlydust.com/u/josephchimebuka. I'd love to give this a go. I should complete project in 3-4 days

baitcode commented 1 day ago

I have experience making 2D games in Unity and interested to solve this. Not sure if I can provide exact plan on how I will approach this as this is a research task.

JP-the-Analyst commented 1 day ago

Hello I'm ready to contribute to this project as soon as you give me the green light. Although I'm new to Unity and the project, I'm eager to learn and contribute to the community. To resolve this issue, I plan to start by carefully reading through the provided documentation and existing code to understand how the Area Exit functionality is currently implemented. I'll then investigate the specific cases where the bug occurs, such as the transition from Town to Forest and exiting houses to Town. Utilising my problem solving skills, i'll identify the root cause of the issue and implement a fix, which may involve modifying existing scripts or creating new ones. I'm confident that with guidance from the project maintainers and the community, I can successfully resolve this bug and improve the overall gaming experience for users. I'm looking forward to the opportunity to learn and grow with the ByteBeasts team.

Ready when you are, captain!

Akshola00 commented 1 day ago

Let me try this one!

Unickhub commented 1 day ago

Can I be assigned to this?

FemiOje commented 1 day ago

gm. I'm jinius and I have 1+ year experience with Unity and C#. I'm looking to contribute to ByteBeasts for the first time hopefully.

How I would approach this issue:

  1. setup project locally, following the contribution guidelines.( I have Unity version 2022.3.28.f1 installed.)
  2. Open the Town scene and set the Area to Load property on the appropriate AreaExit prefab to Forest.
  3. For each house, set the theEntrance AreaEntrance values to correspond to the appropriate transform in the town(in front of each house).
  4. Test to make sure the issue is resolved and there are no bugs.
  5. Commit and push changes to my branch, and submit pull request.

If the issue persists, I will inspect the Area Exit script to ensure that it triggers as it should, and communicate with the project maintainers accordingly.

Estimated time it would take to resolve: 1 - 2 days

ShantelPeters commented 1 day ago

Let me try this one!

Michaelkingsdev commented 1 day ago

Could I be assigned to this?

Supa-mega commented 1 day ago

Is it okay if I tackle this?

DanielEmmanuel1 commented 1 day ago

Could I take a shot at this? I am a new contributor to this project and would love the opportunity of contributing to Bytebeats

How I plan to handle this issue

aniruddhaaps commented 20 hours ago

The common problem of smooth transition between town, forest, and house areas could be solved with:

Firstly refactor the scripts AreaExit and AreaEntrance so that the proper loading and unloading of scenes occur while dynamically updating the property AreaToLoad in line with the choices made by the player. Test all transitions while ensuring there isn't any confusion between Unity's triggers and colliders, which can lead to a misaligned region.

jimenezz22 commented 15 hours ago

@FemiOje assigned to you