Skip to content

Phat tran add menu and main game scene - #11

Closed
ptran2005 wants to merge 31 commits into
phat-tran-review-basefrom
Phat-Tran-Add-Menu-and-Main-Game-Scene
Closed

ptran2005 wants to merge 31 commits into
phat-tran-review-basefrom
Phat-Tran-Add-Menu-and-Main-Game-Scene

Conversation

@ptran2005

Copy link
Copy Markdown
Owner

This pull request adds the main menu functionality for Jungle Cafe, including button interactions, camera movement, and an animated character.

The implementation includes four C# scripts:

MainMenu.cs: Handles the Play and Quit buttons. The Play button loads the intro cutscene, while the Quit button closes the game.

ButtonHover.cs: Adds interactive hover effects to menu buttons, making them enlarge and wiggle when the mouse hovers over them. The buttons smoothly return to their original size and position when the mouse leaves.

MenuCamera.cs: Creates a rotating camera effect around the main menu scene, keeping the camera focused on the center as it moves.

MenuMonkey.cs: Adds a dancing animation to the monkey sprite using bouncing and swaying movements while keeping it oriented toward the camera.

ptran2005 and others added 30 commits October 5, 2026 21:44
added music, title, play and quit buttons, and main menu scene
Added Main Menu Scene and created Main Game Scene
Rough draft to talk about in meeting to see if this is the way we want to do it.
- Station cameras: one camera slides between Order, Serve, Cook and
  Fridge views (tab buttons, keys 1-4, left/right arrows)
- Cooking: recipes are data assets (Steak, Banana); grab food from the
  fridge, grill it (raw -> cooked -> burnt), carry one item at a time
- Orders: click the customer at the register to take an order, click
  them at the serve window to hand it over; pay price plus patience tip
- Save/load: JSON save slots with autosave after each customer,
  F5 save / F9 load, SaveSlotMenu for New Game / Continue buttons
- HUD with money, held item, order tickets, and speech bubbles
- Editor menu Jungle Cafe > Set Up Stations In Open Scene wires all of
  this into a scene
- Scratch_Stations test scene (copy of Scratch_CustomerArrival, set up)

Uses Customer/CustomerSpawner's public API without changing them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add station cameras, cooking, orders, and save/load systems
Added Title and Subtitle
Added spaces in title and subtitle
Updated Table of Contents
Added Project Description
Update README with tech stack and features
I added a 5 minute clock cycle that is on the top left of the screen ready to test in the testing folder scene!
@ptran2005 ptran2005 closed this Nov 19, 2026
@ptran2005
ptran2005 deleted the Phat-Tran-Add-Menu-and-Main-Game-Scene branch November 19, 2026 20:43
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.

4 participants