Commit graph

444 commits

Author SHA1 Message Date
Sebastian Morr
1eb0e0ef9f Add bad-layout level 2020-10-01 12:43:38 +02:00
Sebastian Morr
e1fee5e4f0 Add LevelRepo class - I forgot :P 2020-10-01 12:24:47 +02:00
Sebastian Morr
8198921b1a Fix sandbox mode by connecting the terminal's signal 2020-10-01 10:07:43 +02:00
Sebastian Morr
e974342693 Automatically switch on simplified view when there are >= 3 commits 2020-09-30 22:41:28 +02:00
Sebastian Morr
aec32e115c Add more levels in the new format 2020-09-30 22:20:42 +02:00
Sebastian Morr
065ca2a233 Allow having an arbitrary number of repos in a level 2020-09-30 21:36:11 +02:00
Sebastian Morr
91a57c49d7 Load new level format 2020-09-30 18:10:05 +02:00
Sebastian Morr
08db98f41c Add a simple level file parser 2020-09-30 17:46:43 +02:00
Sebastian Morr
c178a5c63e Refactor Level class so that we don't need to copy shell scripts 2020-09-29 20:36:57 +02:00
Sebastian Morr
3291f0a78b Move win condition to Level class, move sound muting back to main 2020-09-29 20:01:25 +02:00
Sebastian Morr
2c4f8cb26e Move level construction stuff to Level class 2020-09-29 19:50:58 +02:00
Sebastian Morr
f20310df3a Load level information into classes 2020-09-29 19:40:17 +02:00
Sebastian Morr
3270bb64d0 Fix a problem where the global_shell was in a non-existing directory 2020-09-29 18:36:24 +02:00
Sebastian Morr
473d7508c2 Handle --sandbox on its own (create blank repo) and --sandbox=. 2020-09-29 18:21:39 +02:00
Sebastian Morr
e439135ec9 When game is run with --sandbox, switch to sandbox 2020-09-29 17:52:31 +02:00
Sebastian Morr
6e8a310a7a Allow path of repository to be editable when property is on 2020-09-29 17:20:24 +02:00
Sebastian Morr
4b988717e6 Use simple pager for long output 2020-09-29 17:05:04 +02:00
Sebastian Morr
78f324bf68 Put temp files in user://tmp/ 2020-09-29 16:12:58 +02:00
Sebastian Morr
44214d2fdf Move exec, crash, and file IO to "helpers" autoload node 2020-09-29 14:54:07 +02:00
Sebastian Morr
685af0ede6 Make dropdowns non-focussable 2020-09-29 14:28:41 +02:00
Sebastian Morr
5f2823fab4 Rename a few container nodes to have more pleasant names 2020-09-29 14:27:36 +02:00
Sebastian Morr
f6ec691ece Convert level dropdowns to OptionButtons 2020-09-28 19:02:12 +02:00
Sebastian Morr
5a0ff96324 Add a chapter select button 2020-09-28 18:40:41 +02:00
Sebastian Morr
c33d817551 Theme for Trees, remove [...] button 2020-09-28 18:25:44 +02:00
bleeptrack
374db542f3 Adding command description to completions 2020-09-28 17:39:16 +02:00
bleeptrack
d2c95b8db0 Adding tab to complete shortcut 2020-09-28 17:10:21 +02:00
bleeptrack
d498c2340b Autocomplete for filenames 2020-09-28 16:52:00 +02:00
Sebastian Morr
ec537a3a1f Persistent command history 2020-09-28 16:18:06 +02:00
Sebastian Morr
bc9ff128fe Only autocomplete subcommands from history, sorted by frequency 2020-09-28 16:00:42 +02:00
Sebastian Morr
0a3e97167c Close completions after running a command 2020-09-27 21:50:14 +02:00
bleeptrack
dafc5126f1 poll git commands from help page 2020-09-25 12:29:48 +02:00
Sebastian Morr
ed56385d14 Basic completion framework 2020-09-25 12:04:45 +02:00
Sebastian Morr
df0215a8ab Refer to child nodes via their path in code directly
This helps making the scene self-contained.
2020-09-25 10:40:38 +02:00
Sebastian Morr
5f375377f7 Fix all warnings 2020-09-24 11:15:00 +02:00
Sebastian Morr
64713ef466 When building a zip of the game, don't include /tmp 2020-09-24 11:09:51 +02:00
Sebastian Morr
806c39069b Add pop sound when player adds nodes 2020-09-24 10:52:58 +02:00
Sebastian Morr
a083e6a1da Set center of gravity correctly when shrinking Nodes Control 2020-09-24 10:31:41 +02:00
Sebastian Morr
47f412d3d8 Prettier arrow positions 2020-09-24 10:25:38 +02:00
Sebastian Morr
c6bd66559a Preparations for async commands 2020-09-24 10:10:14 +02:00
Sebastian Morr
fc562f2a2f Export "simplified_view" in a repo. Prepare launching the sandbox in $PWD. 2020-09-23 12:05:43 +02:00
Sebastian Morr
ff590165d5 Fix a few problems for the "git replace" demo, scale up sandbox UI 2020-09-22 21:56:22 +02:00
Sebastian Morr
d69c832aba Add sandbox scene, a zoomed in, simple version for making GIFs :D 2020-09-22 20:25:45 +02:00
Sebastian Morr
04f4898417 Two top-down levels 2020-09-22 19:43:02 +02:00
Sebastian Morr
2a890c7f8a Fix TCPServer node, by reading -1 bytes 2020-09-22 18:53:50 +02:00
Sebastian Morr
f0f50bc9fb Use an empty Git template directory, use GIT_EDITOR instead of EDITOR 2020-09-22 16:18:56 +02:00
Sebastian Morr
5031009dd5 Allow multiple level sets, pull out default order into "sequence" file 2020-09-22 16:12:03 +02:00
Sebastian Morr
a9f096636a Add a close button to the text editor 2020-09-22 15:55:01 +02:00
Sebastian Morr
764714b24e Instead of sorting entries the file list, "very best sort" them :P 2020-09-22 15:50:57 +02:00
bleeptrack
1a264e2beb Added File Browser for Repository Scene 2020-09-22 13:19:53 +02:00
Sebastian Morr
9f657b012f Show indented lines in the description as monospace 2020-09-22 10:54:37 +02:00