Files
sor/Client/origin-client/project.godot
T
3d57931752 Build Bazaar: 4 tabs, sort/filter, art images, USD disabled
Actually: Add ranked gameplay UI — matchmaking + 3D game screen

- Game.gd autoload: stores session/state, handles match_found and
  game.state_update.push, exposes helpers and all server action methods
- MatchmakingScreen: fetches decks, joins ranked queue, shows elapsed
  timer, cancels cleanly; navigates to GameScreen on match_found push
- GameScreen (3D + 2D overlay):
  - 3D board: 1×1×0.5 BoxMesh tiles colored by affinity (24 affinities),
    StaticBody3D per tile for raycast picking
  - Unit placeholders: sphere=Spirit, cylinder=ArchSpirit, box=Ruin,
    team-colored (blue/red), exhaust dimming
  - Camera: orbit (left-drag / one-finger), zoom (scroll / pinch),
    pan (middle-drag / two-finger); isometric default ~40° pitch
  - Hand: scrollable row of GameCardWidgets; hover → scale+rise anim;
    click → select; selected card highlights valid play tiles green
  - Unit selection: click unit → movement range (green), attack
    range (red); click target tile → move; click enemy → attack
  - Placement phase: valid ArchSpirit tiles highlighted automatically
  - Draw phase: auto-draws after 0.3s delay
  - Context popup: hold 0.5s on tile → tile coord/affinity + unit
    stats + ability names
  - Discard viewer: own + opponent, scrollable card list
  - Game-over overlay: result, rank delta, return to main menu
  - All game actions wired: play, move, attack, sacrifice, end turn,
    draw, concede, ascend, transition, activate ability
- main_screen.gd: MatchBtn → MatchmakingScreen

Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
2026-03-07 04:10:31 -05:00

44 lines
1.1 KiB
Plaintext

; Engine configuration file.
; It's best edited using the editor UI and not directly,
; since the parameters that go here are not all obvious.
;
; Format:
; [section] ; section goes between []
; param=value ; assign values to parameters
config_version=5
[application]
config/name="Origin-Client"
run/main_scene="res://scenes/login/LoginScreen.tscn"
config/features=PackedStringArray("4.5", "GL Compatibility")
config/icon="res://icon.svg"
[autoload]
Network="*res://autoloads/Network.gd"
ContentCache="*res://autoloads/ContentCache.gd"
Auth="*res://autoloads/Auth.gd"
CollectionCache="*res://autoloads/CollectionCache.gd"
Chat="*res://autoloads/Chat.gd"
Settings="*res://autoloads/Settings.gd"
Game="*res://autoloads/Game.gd"
[display]
window/size/viewport_width=1280
window/size/viewport_height=720
window/stretch/mode="canvas_items"
window/stretch/aspect="expand"
[input_devices]
pointing/emulate_touch_from_mouse=true
[rendering]
renderer/rendering_method="gl_compatibility"
renderer/rendering_method.mobile="gl_compatibility"
textures/vram_compression/import_etc2_astc=true