From 5df0d0616ee3996add0b14e0fb0becd6257d04a2 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Sun, 21 Feb 2021 17:56:17 -0500 Subject: Added a debug console Open it by pressing backtick, close it by hitting escape. Pressing backtick does not open it in release builds. Current shortcomings: opening it for the first time also types a backtick for some reason, but not on subsequent times. Also, it doesn't create a coroutine, so any script function that yields is going to fail. This also added a "is gameplay paused" flag to Game, which will be useful for adding a pause menu. --- src/behaviour_system.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/behaviour_system.cpp') diff --git a/src/behaviour_system.cpp b/src/behaviour_system.cpp index 6cd0b52..2d46205 100644 --- a/src/behaviour_system.cpp +++ b/src/behaviour_system.cpp @@ -5,6 +5,8 @@ #include "direction.h" void BehaviourSystem::tick(double dt) { + if (game_.isGameplayPaused()) return; + timer_.accumulate(dt); while (timer_.step()) { for (int spriteId : game_.getSprites()) { -- cgit 1.4.1 ut type='submit' value='switch'/> Randomizer for LINGO 2 using Archipelago Multiworld
about summary refs log tree commit diff stats
path: root/apworld/rules.py
blob: 0bff05649b8fe1f0b34095fcd89fcb522553811e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38