-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #46 from Lamby777/dialogue-manager
Dialog box management
- Loading branch information
Showing
11 changed files
with
278 additions
and
105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
% Main | ||
### | ||
|
||
Import ./rodrick.dg | ||
Import rodrick.dg | ||
|
||
### | ||
--- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
//! | ||
//! All the "important" constants for configuring | ||
//! how the game works. Tinker all you want. Go nuts. :) | ||
//! | ||
pub mod playercb { | ||
// Movement physics stuff | ||
pub const ACCELERATION: f64 = 3000.0; | ||
pub const FRICTION: f64 = 2500.0; | ||
pub const MAX_SPEED: f64 = 320.0; | ||
|
||
// Distance between party members | ||
pub const PERSONAL_SPACE: u16 = 15; | ||
} | ||
|
||
pub mod dialogue { | ||
use godot::engine::tween::TransitionType; | ||
|
||
pub const NARRATOR_DISPLAYNAME: &str = ""; | ||
pub const UNKNOWN_DISPLAYNAME: &str = "???"; | ||
pub const DEFAULT_VOX: &str = "_"; | ||
|
||
pub const UI_LAYER_NAME: &str = "UILayer"; | ||
pub const DBOX_NODE_NAME: &str = "Dialog Box"; | ||
pub const DBOX_TWEEN_TIME: f64 = 0.5; | ||
pub const DBOX_TWEEN_TRANS: TransitionType = TransitionType::TRANS_QUAD; | ||
} | ||
|
||
pub mod main_menu { | ||
use godot::engine::tween::TransitionType; | ||
|
||
pub const MENU_TWEEN_TIME: f64 = 0.1; | ||
pub const MENU_TWEEN_TRANS: TransitionType = TransitionType::TRANS_QUAD; | ||
pub const MENU_WAVE_BBCODE: &str = "[wave amp=100 freq=-6]"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.