1. BP_MetaGameMode Class Settings
BP_MetaGameMode game mode settings:
Actor Tick Settings
- Start with Tick Enabled: ✅ Enabled - Starts tick function when game mode begins
- Tick Interval:
0.0
- Tick runs every frame - Allow Tick Before Begin Play: ✅ Enabled - Allows tick before BeginPlay
Meta Login Settings
- Login Screen Class:
WBP_LoginScreen
- Login screen widget class - Main Menu Class:
WBP_MainMenu
- Main menu widget class
Settings Configuration
- Require Login on Start: ✅ Enabled - Login required when game starts
- Allow Guest Login: ✅ Enabled - Allows guest login
- Login Timeout:
30.0
seconds - Login timeout duration
2. Project Settings - Meta Login Template
Project Settings → Game → Meta Login Template:
Backend Connection
Backend API URL: http://localhost:8000
API Token Endpoint: /api/token/
API Token Refresh Endpoint: /api/token/refresh/
Game Register Endpoint: /api/game/register/
Game Login Endpoint: /api/game/login/
Game Logout Endpoint: /api/game/logout/
Game Profile Endpoint: /api/game/profile/
Connection Timeout: 30.0
Request Retry Count: 3
Authentication Settings
- Remember User: ✅ Enabled - Remember user credentials
- Enable Offline Mode: ❌ Disabled - Offline mode
- Allow Guest Login: ✅ Enabled - Guest login allowed
- Auto Login Timeout:
30.0
seconds
Session Management
- Max Concurrent Players:
100
- Maximum concurrent players - Session Update Interval:
1.0
seconds - Auto Save Interval:
5.0
seconds
Game Settings
- Enable Leaderboard: ✅ Enabled - Leaderboard system
- Starting Currency:
100
- Starting currency amount - Experience Per Level:
1000
- Experience points per level - Guest Starting Currency:
50
- Guest starting currency - MMO Level Name:
L_Game_Map001
- MMO level name
3. Widget Blueprint Editor - UI Flow
Widget Blueprint editor UI flow for Meta Login Widget:
Login Flow
- Play Animation → Fade In animation
- Get Text → Get text from username and password fields
- Get Game Instance → Cast to Meta Game Instance
- Login User → Call login function
- Notification Task → Notification task
Event Handling
- On Clicked (LoginButton) → Login button click event
- Play Animation → UI animations
- Get Text (Text Box) → Read data from text fields
4. BP_MetaPlayerController Class Settings
BP_MetaPlayerController player controller settings:
UI Widget Classes
- User Profile Widget Class:
WBP_UserProfile
- User profile widget - Main Menu Widget Class:
WBP_MainMenu
- Main menu widget - Notification Widget Class:
WBP_Notification
- Notification widget
Actor Tick Settings
- Start with Tick Enabled: ✅ Enabled
- Tick Interval:
0.0
seconds - Allow Tick Before Begin Play: ✅ Enabled
Advanced Settings
- Tick Even when Paused: ✅ Enabled - Tick even when paused
- Allow Tick on Dedicated Server: ❌ Disabled
- Tick Group:
Pre Physics
- Pre-physics tick group
Player Controller Settings
- Player Camera Manager Class:
None
- Camera manager class - Auto Manage Active Camera Target: ✅ Enabled
- Smooth Target View Rotation Speed:
20.0
- Should Perform Full Tick when Paused: ❌ Disabled
Cheat Manager
- Cheat Class:
CheatManager
- Cheat manager class
Mouse Interface
- Show Mouse Cursor: ❌ Disabled
- Enable Click Events: ✅ Enabled - Click events
- Enable Touch Events: ✅ Enabled - Touch events
- Enable Mouse Over Events: ❌ Disabled
- Enable Touch Over Events: ❌ Disabled
5. Login/Register UI Flow
Login and Register UI Flow:
Login Button Flow
- On Clicked (LoginButton) → Login button clicked
- Get Game Instance → Get game instance
- Cast To MetaGameInstance → Cast to Meta Game Instance
- Get Text (Text Box) → Get username and password text
- Login User → User login function
Guest Login Flow
- On Clicked (GuestLoginButton) → Guest login button
- Get Game Instance → Get game instance
- As Meta Game Instance → As Meta Game Instance
Register Button Flow
- On Clicked (RegisterButton) → Register button clicked
- Get Game Instance → Get game instance
- Cast To MetaGameInstance → Cast to Meta Game Instance
- Get Text (Text Box) → Get registration information:
- Register Username Text Box → Username
- Register Email Text Box → Email
- Register Password Text Box → Password
- Register Password Confirm Text Box → Password confirmation - Register User → User registration function
6. Content Browser - Meta Login Template Classes
Content Browser Meta Login Template Blueprint classes:
Available Blueprint Classes
- BP_MetaGameInstance - Main game instance class
- BP_MetaGameMode - Game mode class
- BP_MetaGameSession - Game session class
- BP_MetaGameState - Game state class
- BP_MetaPawn - Player pawn class
- BP_MetaPlayerController - Player controller class
- BP_MetaPlayerState - Player state class
- BP_MetaSpectatorPawn - Spectator pawn class
Usage Purposes
- BP_MetaGameInstance: Game-wide persistent data and login system
- BP_MetaGameMode: Game rules and mode settings
- BP_MetaGameSession: Multiplayer session management
- BP_MetaGameState: Game state data sharing
- BP_MetaPawn: Default player character control
- BP_MetaPlayerController: Player input and UI management
- BP_MetaPlayerState: Player-specific data storage
- BP_MetaSpectatorPawn: Spectator mode control
Project Structure Integration
These classes form the foundation of the Meta Login Template system and work together to provide:
- User authentication
- Player data management
- UI flow control
- Backend communication
- Session management
functionality.