-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathNotes.txt
More file actions
56 lines (43 loc) · 2.27 KB
/
Notes.txt
File metadata and controls
56 lines (43 loc) · 2.27 KB
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
Sources used in application:
1. Based code and Deluanator: https://github.com/Volts-s/Delaunator-GDScript-4
- using the Delaunator code and the demo code as a starting point for the application
2. PossionDiskSampling: https://github.com/stephanbogner/godot-poisson-sampling
- using the poisson code and some of the demo code.
3. Added documentation from the Deluanator site to the Demo code: https://mapbox.github.io/delaunator/
4. Note. Volt-s added a delaulantor document page that is the same as the mapbox
version but shows gdscript instead of Javascript.
5. tinyqueue code ported from : https://github.com/mourner/tinyqueue/tree/main
- also used some of the test code as well: https://github.com/mourner/tinyqueue/blob/main/test.js
6. lineclip: Port of javascript
- https://github.com/mapbox/lineclip
7. Polylabel: Port of javascript
- https://github.com/eqmiller/polylabel-csharp/blob/main/src/Polylabel-CSharp/Polylabel.cs
8. Port of Azgaars Fantasy Map Code
- https://github.com/Azgaar/Fantasy-Map-Generator
Gdscript coding guidelines
Static Typing
Arrays
var some_name: Array[int]
Typed Dictionary Examples
var grid_dictionary: Dictionary[int, Array]
var all_grid_dictionary: Dictionary[int, int]
Ternary expressions
https://docs.godotengine.org/en/stable/tutorials/scripting/gdscript/gdscript_basics.html#statements-and-control-flow
var x = (value) if (expression) else (value)
y += 3 if y < 10 else -1
Git Commands to remember
- Use this if I create a repository on GitHub, delete the repository and try to create a new one
from git. This deals with the GitHub error when I try to push the new repository
"The repository does not seem to exist anymore. You may not have [enter access, or it may
have been deleted or renamed"
$ git remote -v
> origin git@git-server/octocat/hello-world.git (fetch)
> origin git@git-server/octocat/hello-world.git (push)
# Remove existing remotes
$ git remote remove origin
- Add and commit multiple files
git add . && git commit -m "your message here"
git plugin documentation URL: https://github.com/godotengine/godot-git-plugin/wiki/Git-plugin-v3
Log files found here: C:\Users\User Profile\AppData\Roaming\Godot\app_userdata\Polygon Island Generation
Visual Studio Code Keyboard Controls
Ctrl k c - Comment out a block of code.