Commit graph

184 commits

Author SHA1 Message Date
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
Sebastian Morr
eabf41a2d7 Repository is now a Control, and fix two regressions 2020-09-21 20:28:43 +02:00
Sebastian Morr
4f3c279b5e Fix arrow scaling when zooming 2020-09-21 20:06:09 +02:00
Sebastian Morr
176a069a6a Simple graphics for the different nodes 2020-09-21 19:59:36 +02:00
Sebastian Morr
f28ec7a3a7 Round off more corners of UI elements :P 2020-09-21 19:28:39 +02:00
Sebastian Morr
004f8eaf85 Set default BoxContainer separation of 5 px 2020-09-21 19:03:56 +02:00
Sebastian Morr
ba55f64118 Input line grabs focus when text editor closes 2020-09-21 18:59:55 +02:00
Sebastian Morr
6cd68f3599 Allow both drag & drop as well as zooming in repositories 2020-09-21 18:53:36 +02:00
Sebastian Morr
0fdc6cd69c Fix drag and drop
For the input event to reach the nodes, all Controls need to set
mouse_filter to "ignore" it seems?
2020-09-21 18:33:34 +02:00
Sebastian Morr
24f194872b Add a theme resource, which applies fonts/styles to all Control elements 2020-09-21 17:00:00 +02:00
Sebastian Morr
3cfd6ec710 Put TextEditor into Terminal scene 2020-09-21 15:40:42 +02:00