Skip to content

Develop#37

Merged
AyakorK merged 28 commits intomainfrom
develop
Oct 27, 2024
Merged

Develop#37
AyakorK merged 28 commits intomainfrom
develop

Conversation

@Thomlam
Copy link
Copy Markdown
Contributor

@Thomlam Thomlam commented Oct 27, 2024

Summary by CodeRabbit

  • Nouveaux Fonctionnalités

    • Ajout d'un système de streaming avec une caméra dédiée dans le prefab StreamingSystem.
    • Ajout de nouveaux objets de jeu tels que SpawnPoint, Grid, Trap, et Door dans le prefab Room.
    • Introduction de la classe RenderCameraCapture pour capturer des images et les envoyer à un serveur.
  • Améliorations

    • Mise à jour des propriétés de la caméra et des objets de jeu pour une meilleure gestion des collisions et des interactions.
    • Ajout d'effets visuels pour le changement d'état des portes (verrouillée/déverrouillée).
  • Corrections de Bugs

    • Améliorations des conditions de détection de collision pour les flèches.
  • Changements de Configuration

    • Ajout d'un nouveau tag "Door" dans le gestionnaire de tags.

Thomlam and others added 27 commits October 23, 2024 22:15
* technical : add shadering and post-traitement system, adapt asset and sprite for using this

* feat: update Room2
* feat: Link the chat to the back sockets

* fix: Move the dialogue script outside the canvas to avoid it to be disabled while the canvas is going to be disabled
* feat : add multiple option and itemscollider for RockPaperCissor

* feat: Link Rock Paper Scissors to backend socket

* feat: Link RockPaperScissors, but display missing

---------

Co-authored-by: Thomas Lamiable <lamiablethomas@gmail.com>
* feat: add death system

* chore: add socket emiter for end game

* fix: fix heart generator if develop don't have socket

* fix: remove crossbow
Co-authored-by: Guillaume MORET <90462045+AyakorK@users.noreply.github.com>
* feat: add death system

* chore: add socket emiter for end game

* fix: fix heart generator if develop don't have socket

* fix: remove crossbow

* chore: try to fix .env for Windows and Unity

* fix: Quick Fix in production
* feat: Instantiate waiting room when arriving in the corridor 0

* fix: Add a flag to change message one time and avoid repetition of it

* feat: Add the creation of the room when instanciating the WaitingRoom process

* feat: Try to remove the Door collider before game has started

* fix: fix lock and door system, add waiting room, last fix for dialogue system for pity

---------

Co-authored-by: Thomlam <lamiablethomas@gmail.com>
* feat: add streaming system with recording and sending frame jpeg

* feat: add config

* feat: first try to add socketIOSystem

* feat: Add the right socket

* feature : deploy for 60fps

---------

Co-authored-by: AyakorK <guillaume.moret@yahoo.com>
* fix: Update corridor displays + additions of colliders to avoid glitching

* fix: Add a door transition lock

* feat: Add collision to the walls in the room

* fix: Fix collisions of the hole

* fix: Fix glitched hitboxes

* fix: Destory arrows when going to an other room
@Thomlam Thomlam self-assigned this Oct 27, 2024
@Thomlam Thomlam requested a review from AyakorK October 27, 2024 13:26
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Oct 27, 2024

Caution

Review failed

The pull request is closed.

Walkthrough

Cette demande de tirage introduit plusieurs modifications dans divers fichiers de prefabs et de scripts Unity. Un nouveau prefab pour un système de streaming avec une caméra dédiée a été créé, accompagné de fichiers de métadonnées correspondants. Des ajustements ont également été apportés à d'autres prefabs, notamment des modifications de GameObjects, de composants, et de propriétés dans les fichiers de prefabs de corridor et de salle. De plus, plusieurs scripts ont été mis à jour pour améliorer la gestion des événements et des interactions.

Changes

Fichier Résumé des changements
Assets/Prefabs/Camera.meta Création d'un nouveau fichier de métadonnées pour le prefab Camera, spécifiant la version du format de fichier et un GUID.
Assets/Prefabs/Camera/StreamingSystem.prefab Ajout de GameObjects RenderStreamingSystem et RenderCamera, avec des composants Transform et Camera configurés. Modifications des instances de prefab.
Assets/Prefabs/Camera/StreamingSystem.prefab.meta Création d'un fichier de métadonnées pour le prefab StreamingSystem, incluant un GUID et des sections pour l'importateur de prefab.
Assets/Prefabs/RoomSystem/Corridor/CorridorX7.prefab Modifications de plusieurs GameObjects, ajustements de propriétés et ajout de nouveaux composants, y compris des colliders.
Assets/Prefabs/RoomSystem/Corridor/Room.prefab Ajout et modification de GameObjects et de composants, avec des ajustements aux propriétés de Tilemap et de Collider.
Assets/Prefabs/RoomSystem/Doors/Door.prefab Mise à jour des propriétés du GameObject Door, y compris le tag et la position.
Assets/Prefabs/RoomSystem/WaitingRoom.prefab Ajout de nouveaux champs dans le composant MonoBehaviour pour référencer des objets liés au mouvement des joueurs et aux états de porte.
Assets/Scenes/EmptyRoom_2.unity Modifications des paramètres de culling, de rendu et d'audio, ajout de nouveaux composants.
Assets/Scripts/Camera Control/RenderCameraCapture.cs Introduction d'une nouvelle classe pour capturer des images à partir d'une caméra et les envoyer à un serveur Socket.IO.
Assets/Scripts/Camera Control/RenderCameraCapture.cs.meta Création d'un fichier de métadonnées pour RenderCameraCapture.cs.
Assets/Scripts/Map Control/DoorSystem.cs Ajout de logique pour gérer les ennemis lors de l'entrée dans une nouvelle salle.
Assets/Scripts/Trap/Arrow/Arrow.cs Modification de la logique de détection de collision pour inclure un nouveau tag.
Assets/Scripts/UI/PauseMenu.cs Ajout d'une variable pour gérer la connexion SocketIO lors du chargement du menu principal.
Assets/Scripts/WaitingTrapper.cs Modifications pour gérer l'état de la porte avec des sprites verrouillés et déverrouillés, et mise à jour de la visibilité des variables.
ProjectSettings/TagManager.asset Ajout d'un nouveau tag "Door".

Possibly related PRs

  • Wip/streaming back #35 : Les modifications concernant le nouveau fichier de métadonnées pour le prefab Camera et l'introduction du prefab StreamingSystem sont liées à cette PR, qui implique également des modifications du prefab Camera et de ses composants associés.
  • fix: Global rendering fixes #36 : Les modifications du prefab CorridorX7 dans cette PR, qui incluent des ajustements aux GameObjects et à leurs propriétés, sont pertinentes car elles peuvent interagir avec les prefabs Camera et StreamingSystem introduits dans la PR principale.

Suggested reviewers

  • Thomlam

🐰 Dans le monde des pixels, un changement s'est opéré,
Avec des caméras qui rendent et des portes à déverrouiller.
Les couloirs s'animent, les sprites dansent en chœur,
Un nouveau souffle pour le jeu, plein de bonheur.
Que chaque saut et chaque tir soient remplis de magie,
Dans ce jardin de code, la créativité s'épanouit ! 🌼


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@AyakorK AyakorK merged commit 84a1f47 into main Oct 27, 2024
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.

2 participants