This commit is contained in:
Torsten 2025-11-02 16:26:57 +01:00
parent c0021b5240
commit c1c5541ccd
24 changed files with 5977 additions and 692 deletions

View file

@ -1,8 +1,8 @@
{ {
"accentColor": "", "accentColor": "",
"theme": "obsidian", "theme": "system",
"baseFontSizeAction": true, "baseFontSizeAction": true,
"baseFontSize": 25, "baseFontSize": 25,
"cssTheme": "AnuPpuccin", "cssTheme": "Primary",
"textFontFamily": "Cambria" "textFontFamily": "Cambria"
} }

View file

@ -1,5 +1,6 @@
[ [
"obsidian-excalidraw-plugin", "obsidian-excalidraw-plugin",
"oz-clear-unused-images", "oz-clear-unused-images",
"calc-craft" "calc-craft",
"gdscript-syntax-highlighting"
] ]

File diff suppressed because one or more lines are too long

View file

@ -1,11 +1,11 @@
{ {
"id": "calc-craft", "id": "calc-craft",
"name": "CalcCraft", "name": "CalcCraft",
"version": "1.1.2", "version": "2.2.7",
"minAppVersion": "0.15.0", "minAppVersion": "0.15.0",
"description": "have formulas like in excel a1+a2, or sum()", "description": "have formulas like in excel a1+a2, or sum()",
"author": "klaudyu", "author": "klaudyu",
"authorUrl": "https://www.instagram.com/klaudyul/", "authorUrl": "https://www.instagram.com/klaudyul/",
"fundingUrl": "https://buymeacoffee.com/klaudyul", "fundingUrl": "https://buymeacoffee.com/klaudyul",
"isDesktopOnly": false "isDesktopOnly": false
} }

View file

@ -7,11 +7,6 @@ th::before {
transform: translate(0px, -12px); transform: translate(0px, -12px);
} }
td {
height:1.5em;
}
/* For row headers for td */ /* For row headers for td */
tr td:first-child::before { tr td:first-child::before {
content: attr(data-row-label); content: attr(data-row-label);
@ -116,20 +111,73 @@ td.label-cell.row {
/*active class*/ /*active class*/
.markdown-rendered td.cell-active{ .markdown-rendered td.cell-active{
#border-radius: 50%;
text-decoration: underline; text-decoration: underline;
} }
th, td {
#position: relative;
/* Hide original text when showing computed value */
.cm-table-widget .table-cell-wrapper.calc-overlay-cell:not(:focus-within) {
position: relative;
color: transparent;
} }
table, th, td {
#overflow: visible!important;
}
/*
table{
margin:10px;
}*/
/* Base overlay - inherits color from parent cell */
.cm-table-widget .table-cell-wrapper.calc-overlay-cell:not(:focus-within)::after {
content: attr(data-calc-display);
position: absolute;
inset: 0;
display: flex;
align-items: center;
white-space: pre;
color: inherit; /* ← Changed from var(--text-normal) to inherit */
pointer-events: none;
padding: 0 4px;
}
/* Formula cell overlays - inherit formula colors */
.cm-table-widget .formula-cell-colorenabled .table-cell-wrapper.calc-overlay-cell:not(:focus-within)::after {
color: var(--CalcCraft_formula_font_color_light);
}
.theme-dark .cm-table-widget .formula-cell-colorenabled .table-cell-wrapper.calc-overlay-cell:not(:focus-within)::after {
color: var(--CalcCraft_formula_font_color_dark);
}
/* Matrix cell overlays */
.cm-table-widget .matrix-cell-colorenabled .table-cell-wrapper.calc-overlay-cell:not(:focus-within)::after {
color: var(--CalcCraft_formula_font_matrix_light);
}
.theme-dark .cm-table-widget .matrix-cell-colorenabled .table-cell-wrapper.calc-overlay-cell:not(:focus-within)::after {
color: var(--CalcCraft_formula_font_matrix_dark);
}
/* Error cell overlays */
.cm-table-widget .error-cell-colorenabled .table-cell-wrapper.calc-overlay-cell:not(:focus-within)::after {
color: var(--CalcCraft_formula_font_error_light);
}
.theme-dark .cm-table-widget .error-cell-colorenabled .table-cell-wrapper.calc-overlay-cell:not(:focus-within)::after {
color: var(--CalcCraft_formula_font_error_dark);
}
/* Parent highlight overlays */
.cm-table-widget .cell-parents-highlight .table-cell-wrapper.calc-overlay-cell:not(:focus-within)::after {
color: var(--CalcCraft_formula_font_parents_light);
}
.theme-dark .cm-table-widget .cell-parents-highlight .table-cell-wrapper.calc-overlay-cell:not(:focus-within)::after {
color: var(--CalcCraft_formula_font_parents_dark);
}
/* Children highlight overlays */
.cm-table-widget .cell-children-highlight .table-cell-wrapper.calc-overlay-cell:not(:focus-within)::after {
color: var(--CalcCraft_formula_font_children_light);
}
.theme-dark .cm-table-widget .cell-children-highlight .table-cell-wrapper.calc-overlay-cell:not(:focus-within)::after {
color: var(--CalcCraft_formula_font_children_dark);
}

View file

@ -0,0 +1,66 @@
'use strict';
var obsidian = require('obsidian');
class GdscriptSyntaxPlugin extends obsidian.Plugin {
onload() {
var self = this;
// The defineSimpleMode function is not immediately available during
// onload, so continue to try and define the language until it is.
const setupInterval = setInterval(() => {
if (CodeMirror && CodeMirror.defineSimpleMode) {
const mode = {
start: [
{ regex: /\b0x[0-9a-f]+\b/i, token: "number" },
{ regex: /\b-?\d+\b/, token: "number" },
{ regex: /#.+/, token: 'comment' },
{ regex: /\s*(@onready|@export)\b/, token: 'keyword' },
{ regex: /\b(?:and|as|assert|await|break|breakpoint|const|continue|elif|else|enum|for|if|in|is|master|mastersync|match|not|null|or|pass|preload|puppet|puppetsync|remote|remotesync|return|self|setget|static|tool|var|while|yield)\b/, token: 'keyword' },
{ regex: /[()\[\]{},]/, token: "meta" },
// The words following func, class_name and class should be highlighted as attributes,
// so push onto the definition stack
{ regex: /\b(func|class_name|class|extends|signal)\b/, token: "keyword", push: "definition" },
{ regex: /@?(?:("|')(?:(?!\1)[^\n\\]|\\[\s\S])*\1(?!"|')|"""(?:[^\\]|\\[\s\S])*?""")/, token: "string" },
{ regex: /\$[\w\/]+\b/, token: 'variable' },
{ regex: /\:[\s]*$/, token: 'operator' },
{ regex: /\:[ ]*/, token: 'meta', push: 'var_type' },
{ regex: /\->[ ]*/, token: 'operator', push: 'definition' },
{ regex: /\+|\*|-|\/|:=|>|<|\^|&|\||%|~|=/, token: "operator" },
{ regex: /\b(?:false|true)\b/, token: 'number' },
{ regex: /\b[A-Z][A-Z_\d]*\b/, token: 'operator' },
],
var_type: [
{ regex: /(\w+)/, token: 'attribute', pop: true },
],
definition: [
{ regex: /(\w+)/, token: "attribute", pop: true }
]
};
CodeMirror.defineSimpleMode('gdscript', mode);
CodeMirror.defineSimpleMode('GDScript', mode);
CodeMirror.defineSimpleMode('GDscript', mode);
self.app.workspace.iterateAllLeaves((leaf) => {
leaf.rebuildView();
});
clearInterval(setupInterval);
}
}, 100);
}
onunload() {
delete CodeMirror.modes['gdscript'];
delete CodeMirror.modes['GDScript'];
delete CodeMirror.modes['GDscript'];
}
}
module.exports = GdscriptSyntaxPlugin;
/* nosourcemap */

View file

@ -0,0 +1,10 @@
{
"author":"RobTheFiveNine",
"description": "Add live GDScript syntax highlighting to code blocks.",
"fundingUrl": "https://github.com/sponsors/RobTheFiveNine",
"id": "gdscript-syntax-highlighting",
"isDesktopOnly": false,
"minAppVersion": "1.5.12",
"name": "GDScript Syntax Highlighting",
"version": "1.0.3"
}

View file

@ -1,11 +1,20 @@
{ {
"disableDoubleClickTextEditing": false,
"folder": "", "folder": "",
"cropFolder": "",
"annotateFolder": "",
"embedUseExcalidrawFolder": false, "embedUseExcalidrawFolder": false,
"templateFilePath": "Excalidraw/Template.excalidraw", "templateFilePath": "Excalidraw/Template.excalidraw",
"scriptFolderPath": "Excalidraw/Scripts", "scriptFolderPath": "Excalidraw/Scripts",
"compress": false, "fontAssetsPath": "Excalidraw/CJK Fonts",
"loadChineseFonts": false,
"loadJapaneseFonts": false,
"loadKoreanFonts": false,
"compress": true,
"decompressForMDView": false,
"onceOffCompressFlagReset": true,
"onceOffGPTVersionReset": true,
"autosave": true, "autosave": true,
"autosaveInterval": 15000,
"autosaveIntervalDesktop": 15000, "autosaveIntervalDesktop": 15000,
"autosaveIntervalMobile": 10000, "autosaveIntervalMobile": 10000,
"drawingFilenamePrefix": "Drawing ", "drawingFilenamePrefix": "Drawing ",
@ -13,12 +22,21 @@
"drawingFilnameEmbedPostfix": " ", "drawingFilnameEmbedPostfix": " ",
"drawingFilenameDateTime": "YYYY-MM-DD HH.mm.ss", "drawingFilenameDateTime": "YYYY-MM-DD HH.mm.ss",
"useExcalidrawExtension": true, "useExcalidrawExtension": true,
"cropSuffix": "",
"cropPrefix": "cropped_",
"annotateSuffix": "",
"annotatePrefix": "annotated_",
"annotatePreserveSize": false,
"displaySVGInPreview": true, "displaySVGInPreview": true,
"previewImageType": "SVGIMG", "previewImageType": "SVGIMG",
"renderingConcurrency": 3,
"allowImageCache": true, "allowImageCache": true,
"allowImageCacheInScene": true,
"displayExportedImageIfAvailable": false, "displayExportedImageIfAvailable": false,
"previewMatchObsidianTheme": false, "previewMatchObsidianTheme": false,
"width": "400", "width": "400",
"height": "",
"overrideObsidianFontSize": false,
"dynamicStyling": "colorful", "dynamicStyling": "colorful",
"isLeftHanded": false, "isLeftHanded": false,
"iframeMatchExcalidrawTheme": true, "iframeMatchExcalidrawTheme": true,
@ -27,11 +45,21 @@
"matchThemeTrigger": false, "matchThemeTrigger": false,
"defaultMode": "normal", "defaultMode": "normal",
"defaultPenMode": "never", "defaultPenMode": "never",
"penModeDoubleTapEraser": true,
"penModeSingleFingerPanning": true,
"penModeCrosshairVisible": true,
"panWithRightMouseButton": false,
"renderImageInMarkdownReadingMode": false,
"renderImageInHoverPreviewForMDNotes": false,
"renderImageInMarkdownToPDF": false,
"allowPinchZoom": false, "allowPinchZoom": false,
"allowWheelZoom": false, "allowWheelZoom": false,
"zoomToFitOnOpen": true, "zoomToFitOnOpen": true,
"zoomToFitOnResize": true, "zoomToFitOnResize": true,
"zoomToFitMaxLevel": 2, "zoomToFitMaxLevel": 2,
"zoomStep": 0.05,
"zoomMin": 0.1,
"zoomMax": 30,
"linkPrefix": "📍", "linkPrefix": "📍",
"urlPrefix": "🌐", "urlPrefix": "🌐",
"parseTODO": false, "parseTODO": false,
@ -40,6 +68,8 @@
"hoverPreviewWithoutCTRL": false, "hoverPreviewWithoutCTRL": false,
"linkOpacity": 1, "linkOpacity": 1,
"openInAdjacentPane": false, "openInAdjacentPane": false,
"showSecondOrderLinks": true,
"focusOnFileTab": true,
"openInMainWorkspace": true, "openInMainWorkspace": true,
"showLinkBrackets": true, "showLinkBrackets": true,
"allowCtrlClick": true, "allowCtrlClick": true,
@ -52,6 +82,7 @@
"exportWithTheme": true, "exportWithTheme": true,
"exportWithBackground": true, "exportWithBackground": true,
"exportPaddingSVG": 10, "exportPaddingSVG": 10,
"exportEmbedScene": false,
"keepInSync": false, "keepInSync": false,
"autoexportSVG": false, "autoexportSVG": false,
"autoexportPNG": false, "autoexportPNG": false,
@ -64,8 +95,12 @@
"experimentalFileType": false, "experimentalFileType": false,
"experimentalFileTag": "✏️", "experimentalFileTag": "✏️",
"experimentalLivePreview": true, "experimentalLivePreview": true,
"fadeOutExcalidrawMarkup": false,
"loadPropertySuggestions": false,
"experimentalEnableFourthFont": false, "experimentalEnableFourthFont": false,
"experimantalFourthFont": "Virgil", "experimantalFourthFont": "Virgil",
"addDummyTextElement": false,
"zoteroCompatibility": false,
"fieldSuggester": true, "fieldSuggester": true,
"compatibilityMode": false, "compatibilityMode": false,
"drawingOpenCount": 0, "drawingOpenCount": 0,
@ -85,10 +120,13 @@
"mdCSS": "", "mdCSS": "",
"scriptEngineSettings": {}, "scriptEngineSettings": {},
"defaultTrayMode": true, "defaultTrayMode": true,
"previousRelease": "2.0.17", "compactModeOnTablets": true,
"previousRelease": "2.16.1",
"showReleaseNotes": true, "showReleaseNotes": true,
"compareManifestToPluginVersion": true,
"showNewVersionNotification": true, "showNewVersionNotification": true,
"latexBoilerplate": "\\color{blue}", "latexBoilerplate": "\\color{blue}",
"latexPreambleLocation": "preamble.sty",
"taskboneEnabled": false, "taskboneEnabled": false,
"taskboneAPIkey": "", "taskboneAPIkey": "",
"pinnedScripts": [], "pinnedScripts": [],
@ -407,6 +445,7 @@
"numberOfCustomPens": 0, "numberOfCustomPens": 0,
"pdfScale": 4, "pdfScale": 4,
"pdfBorderBox": true, "pdfBorderBox": true,
"pdfFrame": false,
"pdfGapSize": 20, "pdfGapSize": 20,
"pdfGroupPages": false, "pdfGroupPages": false,
"pdfLockAfterImport": true, "pdfLockAfterImport": true,
@ -414,6 +453,15 @@
"pdfNumRows": 1, "pdfNumRows": 1,
"pdfDirection": "right", "pdfDirection": "right",
"pdfImportScale": 0.3, "pdfImportScale": 0.3,
"gridSettings": {
"DYNAMIC_COLOR": true,
"COLOR": "#000000",
"OPACITY": 50,
"GRID_DIRECTION": {
"horizontal": true,
"vertical": true
}
},
"laserSettings": { "laserSettings": {
"DECAY_LENGTH": 50, "DECAY_LENGTH": 50,
"DECAY_TIME": 1000, "DECAY_TIME": 1000,
@ -430,11 +478,13 @@
"borderOpacity": 0, "borderOpacity": 0,
"filenameVisible": false "filenameVisible": false
}, },
"markdownNodeOneClickEditing": false,
"canvasImmersiveEmbed": true, "canvasImmersiveEmbed": true,
"startupScriptPath": "", "startupScriptPath": "",
"aiEnabled": true,
"openAIAPIToken": "", "openAIAPIToken": "",
"openAIDefaultTextModel": "gpt-3.5-turbo-1106", "openAIDefaultTextModel": "gpt-3.5-turbo-1106",
"openAIDefaultVisionModel": "gpt-4-vision-preview", "openAIDefaultVisionModel": "gpt-4o",
"openAIDefaultImageGenerationModel": "dall-e-3", "openAIDefaultImageGenerationModel": "dall-e-3",
"openAIURL": "https://api.openai.com/v1/chat/completions", "openAIURL": "https://api.openai.com/v1/chat/completions",
"openAIImageGenerationURL": "https://api.openai.com/v1/images/generations", "openAIImageGenerationURL": "https://api.openai.com/v1/images/generations",
@ -725,5 +775,42 @@
} }
}, },
"slidingPanesSupport": false, "slidingPanesSupport": false,
"areaZoomLimit": 1,
"longPressDesktop": 500,
"longPressMobile": 500,
"doubleClickLinkOpenViewMode": true,
"isDebugMode": false,
"rank": "Bronze",
"modifierKeyOverrides": [
{
"modifiers": [
"Mod"
],
"key": "Enter"
},
{
"modifiers": [
"Mod"
],
"key": "k"
},
{
"modifiers": [
"Mod"
],
"key": "G"
}
],
"showSplashscreen": true,
"pdfSettings": {
"pageSize": "A4",
"pageOrientation": "portrait",
"fitToPage": 1,
"paperColor": "white",
"customPaperColor": "#ffffff",
"alignment": "center",
"margin": "normal"
},
"autosaveInterval": 15000,
"mathjaxSourceURL": "https://cdn.jsdelivr.net/npm/mathjax@3.2.1/es5/tex-svg.js" "mathjaxSourceURL": "https://cdn.jsdelivr.net/npm/mathjax@3.2.1/es5/tex-svg.js"
} }

File diff suppressed because one or more lines are too long

View file

@ -1,11 +1,11 @@
{ {
"id": "obsidian-excalidraw-plugin", "id": "obsidian-excalidraw-plugin",
"name": "Excalidraw", "name": "Excalidraw",
"version": "2.0.17", "version": "2.16.1",
"minAppVersion": "1.1.6", "minAppVersion": "1.5.7",
"description": "An Obsidian plugin to edit and view Excalidraw drawings", "description": "An Obsidian plugin to edit and view Excalidraw drawings",
"author": "Zsolt Viczian", "author": "Zsolt Viczian",
"authorUrl": "https://zsolt.blog", "authorUrl": "https://excalidraw-obsidian.online",
"fundingUrl": "https://ko-fi.com/zsolt", "fundingUrl": "https://ko-fi.com/zsolt",
"helpUrl": "https://github.com/zsviczian/obsidian-excalidraw-plugin#readme", "helpUrl": "https://github.com/zsviczian/obsidian-excalidraw-plugin#readme",
"isDesktopOnly": false "isDesktopOnly": false

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1,10 +1,11 @@
{ {
"id": "oz-clear-unused-images", "id": "oz-clear-unused-images",
"name": "Clear Unused Images", "name": "Clear Unused Images",
"version": "1.1.0", "version": "1.1.1",
"minAppVersion": "0.11.13", "minAppVersion": "0.11.13",
"description": "Clear the images that you are not using anymore in your markdown notes to save space.", "description": "Clear the images that you are not using anymore in your markdown notes to save space.",
"author": "Ozan", "author": "Ozan",
"authorUrl": "https://www.ozan.pl", "authorUrl": "https://www.ozan.pl",
"fundingUrl": "https://ko-fi.com/ozante",
"isDesktopOnly": false "isDesktopOnly": false
} }

View file

@ -0,0 +1,9 @@
{
"name": "Primary",
"version": "2.10.0",
"minAppVersion": "1.4.0",
"author": "Cecilia May",
"fundingUrl": {
"Ko-fi": "https://ko-fi.com/ceciliamay"
}
}

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,12 @@
{
"name": "Shimmering Focus",
"author": "pseudometa aka Chris Grieser",
"version": "5.58",
"minAppVersion": "1.6.0",
"authorUrl": "https://github.com/chrisgrieser/shimmering-focus",
"helpUrl": "https://github.com/chrisgrieser/shimmering-focus#readme",
"fundingUrl": {
"Ko-Fi": "https://ko-fi.com/pseudometa",
"PayPal": "https://www.paypal.me/ChrisGrieser"
}
}

File diff suppressed because one or more lines are too long

View file

@ -118,8 +118,8 @@ Receives RPC:
"elements": [ "elements": [
{ {
"type": "text", "type": "text",
"version": 189, "version": 190,
"versionNonce": 1646422536, "versionNonce": 678378050,
"isDeleted": false, "isDeleted": false,
"id": "ogiPzd6g", "id": "ogiPzd6g",
"fillStyle": "solid", "fillStyle": "solid",
@ -139,7 +139,7 @@ Receives RPC:
"frameId": null, "frameId": null,
"roundness": null, "roundness": null,
"boundElements": [], "boundElements": [],
"updated": 1750310711507, "updated": 1762073979470,
"link": null, "link": null,
"locked": false, "locked": false,
"fontSize": 20, "fontSize": 20,
@ -186,8 +186,8 @@ Receives RPC:
}, },
{ {
"type": "text", "type": "text",
"version": 116, "version": 117,
"versionNonce": 387390072, "versionNonce": 1156186846,
"isDeleted": false, "isDeleted": false,
"id": "QM9z7z28", "id": "QM9z7z28",
"fillStyle": "solid", "fillStyle": "solid",
@ -209,7 +209,7 @@ Receives RPC:
"frameId": null, "frameId": null,
"roundness": null, "roundness": null,
"boundElements": [], "boundElements": [],
"updated": 1750310711507, "updated": 1762073979470,
"link": null, "link": null,
"locked": false, "locked": false,
"fontSize": 20, "fontSize": 20,
@ -225,8 +225,8 @@ Receives RPC:
}, },
{ {
"type": "text", "type": "text",
"version": 115, "version": 116,
"versionNonce": 1566042376, "versionNonce": 1490199042,
"isDeleted": false, "isDeleted": false,
"id": "lzqSWhzg", "id": "lzqSWhzg",
"fillStyle": "solid", "fillStyle": "solid",
@ -248,7 +248,7 @@ Receives RPC:
"frameId": null, "frameId": null,
"roundness": null, "roundness": null,
"boundElements": [], "boundElements": [],
"updated": 1750310711508, "updated": 1762073979470,
"link": null, "link": null,
"locked": false, "locked": false,
"fontSize": 20, "fontSize": 20,
@ -295,8 +295,8 @@ Receives RPC:
}, },
{ {
"type": "text", "type": "text",
"version": 236, "version": 237,
"versionNonce": 859638648, "versionNonce": 1285682974,
"isDeleted": false, "isDeleted": false,
"id": "meVCNPYm", "id": "meVCNPYm",
"fillStyle": "solid", "fillStyle": "solid",
@ -318,7 +318,7 @@ Receives RPC:
"frameId": null, "frameId": null,
"roundness": null, "roundness": null,
"boundElements": [], "boundElements": [],
"updated": 1750310711508, "updated": 1762073979470,
"link": null, "link": null,
"locked": false, "locked": false,
"fontSize": 20, "fontSize": 20,
@ -394,8 +394,8 @@ Receives RPC:
}, },
{ {
"type": "text", "type": "text",
"version": 26, "version": 27,
"versionNonce": 1938130952, "versionNonce": 1072894402,
"isDeleted": false, "isDeleted": false,
"id": "v4pT6zvp", "id": "v4pT6zvp",
"fillStyle": "solid", "fillStyle": "solid",
@ -417,7 +417,7 @@ Receives RPC:
"frameId": null, "frameId": null,
"roundness": null, "roundness": null,
"boundElements": [], "boundElements": [],
"updated": 1750310711508, "updated": 1762073979470,
"link": null, "link": null,
"locked": false, "locked": false,
"fontSize": 20, "fontSize": 20,
@ -464,8 +464,8 @@ Receives RPC:
}, },
{ {
"type": "text", "type": "text",
"version": 240, "version": 241,
"versionNonce": 394058872, "versionNonce": 970023774,
"isDeleted": false, "isDeleted": false,
"id": "fC0tirch", "id": "fC0tirch",
"fillStyle": "solid", "fillStyle": "solid",
@ -487,7 +487,7 @@ Receives RPC:
"frameId": null, "frameId": null,
"roundness": null, "roundness": null,
"boundElements": [], "boundElements": [],
"updated": 1750310711508, "updated": 1762073979470,
"link": null, "link": null,
"locked": false, "locked": false,
"fontSize": 20, "fontSize": 20,
@ -534,8 +534,8 @@ Receives RPC:
}, },
{ {
"type": "text", "type": "text",
"version": 333, "version": 334,
"versionNonce": 1353139976, "versionNonce": 284133762,
"isDeleted": false, "isDeleted": false,
"id": "CdMUYz3V", "id": "CdMUYz3V",
"fillStyle": "solid", "fillStyle": "solid",
@ -557,7 +557,7 @@ Receives RPC:
"frameId": null, "frameId": null,
"roundness": null, "roundness": null,
"boundElements": [], "boundElements": [],
"updated": 1750310711508, "updated": 1762073979470,
"link": null, "link": null,
"locked": false, "locked": false,
"fontSize": 20, "fontSize": 20,
@ -604,8 +604,8 @@ Receives RPC:
}, },
{ {
"type": "text", "type": "text",
"version": 71, "version": 72,
"versionNonce": 1704627576, "versionNonce": 1590249374,
"isDeleted": false, "isDeleted": false,
"id": "FvN3KcjQ", "id": "FvN3KcjQ",
"fillStyle": "solid", "fillStyle": "solid",
@ -625,7 +625,7 @@ Receives RPC:
"frameId": null, "frameId": null,
"roundness": null, "roundness": null,
"boundElements": [], "boundElements": [],
"updated": 1750310711508, "updated": 1762073979470,
"link": null, "link": null,
"locked": false, "locked": false,
"fontSize": 20, "fontSize": 20,
@ -641,8 +641,8 @@ Receives RPC:
}, },
{ {
"type": "text", "type": "text",
"version": 128, "version": 129,
"versionNonce": 1094264328, "versionNonce": 1124534594,
"isDeleted": false, "isDeleted": false,
"id": "Lufy2xnG", "id": "Lufy2xnG",
"fillStyle": "solid", "fillStyle": "solid",
@ -662,7 +662,7 @@ Receives RPC:
"frameId": null, "frameId": null,
"roundness": null, "roundness": null,
"boundElements": [], "boundElements": [],
"updated": 1750310711508, "updated": 1762073979471,
"link": null, "link": null,
"locked": false, "locked": false,
"fontSize": 20, "fontSize": 20,
@ -678,8 +678,8 @@ Receives RPC:
}, },
{ {
"type": "text", "type": "text",
"version": 157, "version": 158,
"versionNonce": 1725570680, "versionNonce": 465216478,
"isDeleted": false, "isDeleted": false,
"id": "GLtt6nBn", "id": "GLtt6nBn",
"fillStyle": "solid", "fillStyle": "solid",
@ -699,7 +699,7 @@ Receives RPC:
"frameId": null, "frameId": null,
"roundness": null, "roundness": null,
"boundElements": [], "boundElements": [],
"updated": 1750310711509, "updated": 1762073979471,
"link": null, "link": null,
"locked": false, "locked": false,
"fontSize": 20, "fontSize": 20,
@ -715,8 +715,8 @@ Receives RPC:
}, },
{ {
"type": "text", "type": "text",
"version": 179, "version": 180,
"versionNonce": 574039304, "versionNonce": 228102402,
"isDeleted": false, "isDeleted": false,
"id": "TAacQHcq", "id": "TAacQHcq",
"fillStyle": "solid", "fillStyle": "solid",
@ -736,7 +736,7 @@ Receives RPC:
"frameId": null, "frameId": null,
"roundness": null, "roundness": null,
"boundElements": [], "boundElements": [],
"updated": 1750310711509, "updated": 1762073979471,
"link": null, "link": null,
"locked": false, "locked": false,
"fontSize": 20, "fontSize": 20,
@ -752,8 +752,8 @@ Receives RPC:
}, },
{ {
"type": "text", "type": "text",
"version": 282, "version": 283,
"versionNonce": 469733240, "versionNonce": 582383646,
"isDeleted": false, "isDeleted": false,
"id": "NVVwhe0m", "id": "NVVwhe0m",
"fillStyle": "solid", "fillStyle": "solid",
@ -773,7 +773,7 @@ Receives RPC:
"frameId": null, "frameId": null,
"roundness": null, "roundness": null,
"boundElements": [], "boundElements": [],
"updated": 1750310711509, "updated": 1762073979471,
"link": null, "link": null,
"locked": false, "locked": false,
"fontSize": 20, "fontSize": 20,
@ -789,8 +789,8 @@ Receives RPC:
}, },
{ {
"type": "text", "type": "text",
"version": 400, "version": 401,
"versionNonce": 1360872456, "versionNonce": 1680023746,
"isDeleted": false, "isDeleted": false,
"id": "91ImiIhV", "id": "91ImiIhV",
"fillStyle": "solid", "fillStyle": "solid",
@ -810,7 +810,7 @@ Receives RPC:
"frameId": null, "frameId": null,
"roundness": null, "roundness": null,
"boundElements": [], "boundElements": [],
"updated": 1750310711509, "updated": 1762073979471,
"link": null, "link": null,
"locked": false, "locked": false,
"fontSize": 20, "fontSize": 20,
@ -826,8 +826,8 @@ Receives RPC:
}, },
{ {
"type": "text", "type": "text",
"version": 481, "version": 482,
"versionNonce": 1297014904, "versionNonce": 1001243742,
"isDeleted": false, "isDeleted": false,
"id": "fdPpliWn", "id": "fdPpliWn",
"fillStyle": "solid", "fillStyle": "solid",
@ -847,7 +847,7 @@ Receives RPC:
"frameId": null, "frameId": null,
"roundness": null, "roundness": null,
"boundElements": [], "boundElements": [],
"updated": 1750310711509, "updated": 1762073979471,
"link": null, "link": null,
"locked": false, "locked": false,
"fontSize": 20, "fontSize": 20,
@ -863,8 +863,8 @@ Receives RPC:
}, },
{ {
"type": "text", "type": "text",
"version": 559, "version": 560,
"versionNonce": 468157192, "versionNonce": 1917171842,
"isDeleted": false, "isDeleted": false,
"id": "sCSOO4P6", "id": "sCSOO4P6",
"fillStyle": "solid", "fillStyle": "solid",
@ -884,7 +884,7 @@ Receives RPC:
"frameId": null, "frameId": null,
"roundness": null, "roundness": null,
"boundElements": [], "boundElements": [],
"updated": 1750310711509, "updated": 1762073979471,
"link": null, "link": null,
"locked": false, "locked": false,
"fontSize": 20, "fontSize": 20,
@ -900,8 +900,8 @@ Receives RPC:
}, },
{ {
"type": "text", "type": "text",
"version": 157, "version": 158,
"versionNonce": 445387128, "versionNonce": 141658270,
"isDeleted": false, "isDeleted": false,
"id": "IJaaEho9", "id": "IJaaEho9",
"fillStyle": "solid", "fillStyle": "solid",
@ -921,7 +921,7 @@ Receives RPC:
"frameId": null, "frameId": null,
"roundness": null, "roundness": null,
"boundElements": [], "boundElements": [],
"updated": 1750310711509, "updated": 1762073979471,
"link": null, "link": null,
"locked": false, "locked": false,
"fontSize": 20, "fontSize": 20,
@ -937,8 +937,8 @@ Receives RPC:
}, },
{ {
"type": "text", "type": "text",
"version": 200, "version": 201,
"versionNonce": 823255560, "versionNonce": 398415938,
"isDeleted": false, "isDeleted": false,
"id": "wJ9HIOk7", "id": "wJ9HIOk7",
"fillStyle": "solid", "fillStyle": "solid",
@ -958,7 +958,7 @@ Receives RPC:
"frameId": null, "frameId": null,
"roundness": null, "roundness": null,
"boundElements": [], "boundElements": [],
"updated": 1750310711509, "updated": 1762073979471,
"link": null, "link": null,
"locked": false, "locked": false,
"fontSize": 20, "fontSize": 20,
@ -974,8 +974,8 @@ Receives RPC:
}, },
{ {
"type": "text", "type": "text",
"version": 226, "version": 227,
"versionNonce": 184230520, "versionNonce": 1219675358,
"isDeleted": false, "isDeleted": false,
"id": "2mt7IJUS", "id": "2mt7IJUS",
"fillStyle": "solid", "fillStyle": "solid",
@ -995,7 +995,7 @@ Receives RPC:
"frameId": null, "frameId": null,
"roundness": null, "roundness": null,
"boundElements": [], "boundElements": [],
"updated": 1750310711509, "updated": 1762073979471,
"link": null, "link": null,
"locked": false, "locked": false,
"fontSize": 20, "fontSize": 20,
@ -1011,8 +1011,8 @@ Receives RPC:
}, },
{ {
"type": "text", "type": "text",
"version": 239, "version": 240,
"versionNonce": 261644552, "versionNonce": 1684996098,
"isDeleted": false, "isDeleted": false,
"id": "HloKPrJf", "id": "HloKPrJf",
"fillStyle": "solid", "fillStyle": "solid",
@ -1032,7 +1032,7 @@ Receives RPC:
"frameId": null, "frameId": null,
"roundness": null, "roundness": null,
"boundElements": [], "boundElements": [],
"updated": 1750310711509, "updated": 1762073979471,
"link": null, "link": null,
"locked": false, "locked": false,
"fontSize": 20, "fontSize": 20,
@ -1048,8 +1048,8 @@ Receives RPC:
}, },
{ {
"type": "text", "type": "text",
"version": 283, "version": 284,
"versionNonce": 492835704, "versionNonce": 503478558,
"isDeleted": false, "isDeleted": false,
"id": "l4Cs84vC", "id": "l4Cs84vC",
"fillStyle": "solid", "fillStyle": "solid",
@ -1069,7 +1069,7 @@ Receives RPC:
"frameId": null, "frameId": null,
"roundness": null, "roundness": null,
"boundElements": [], "boundElements": [],
"updated": 1750310711509, "updated": 1762073979471,
"link": null, "link": null,
"locked": false, "locked": false,
"fontSize": 20, "fontSize": 20,
@ -1085,8 +1085,8 @@ Receives RPC:
}, },
{ {
"type": "text", "type": "text",
"version": 412, "version": 413,
"versionNonce": 1995898888, "versionNonce": 341028802,
"isDeleted": false, "isDeleted": false,
"id": "XRpIehSi", "id": "XRpIehSi",
"fillStyle": "solid", "fillStyle": "solid",
@ -1106,7 +1106,7 @@ Receives RPC:
"frameId": null, "frameId": null,
"roundness": null, "roundness": null,
"boundElements": [], "boundElements": [],
"updated": 1750310711509, "updated": 1762073979472,
"link": null, "link": null,
"locked": false, "locked": false,
"fontSize": 20, "fontSize": 20,
@ -1122,8 +1122,8 @@ Receives RPC:
}, },
{ {
"type": "text", "type": "text",
"version": 421, "version": 422,
"versionNonce": 1476322424, "versionNonce": 1339139422,
"isDeleted": false, "isDeleted": false,
"id": "7VBJOBLc", "id": "7VBJOBLc",
"fillStyle": "solid", "fillStyle": "solid",
@ -1143,7 +1143,7 @@ Receives RPC:
"frameId": null, "frameId": null,
"roundness": null, "roundness": null,
"boundElements": [], "boundElements": [],
"updated": 1750310711510, "updated": 1762073979472,
"link": null, "link": null,
"locked": false, "locked": false,
"fontSize": 20, "fontSize": 20,
@ -1159,8 +1159,8 @@ Receives RPC:
}, },
{ {
"type": "text", "type": "text",
"version": 169, "version": 170,
"versionNonce": 1792905955, "versionNonce": 193750914,
"isDeleted": false, "isDeleted": false,
"id": "5hiXr5l7", "id": "5hiXr5l7",
"fillStyle": "solid", "fillStyle": "solid",
@ -1182,7 +1182,7 @@ Receives RPC:
"frameId": null, "frameId": null,
"roundness": null, "roundness": null,
"boundElements": [], "boundElements": [],
"updated": 1709040040784, "updated": 1762073979472,
"link": null, "link": null,
"locked": false, "locked": false,
"fontSize": 19.852103697407568, "fontSize": 19.852103697407568,
@ -1194,7 +1194,7 @@ Receives RPC:
"containerId": null, "containerId": null,
"originalText": "network_scene_to_client\n\nSends RPC:\n\t\n\nReceives RPC:\n\t\n\n*Signals:*\n\n\t\t", "originalText": "network_scene_to_client\n\nSends RPC:\n\t\n\nReceives RPC:\n\t\n\n*Signals:*\n\n\t\t",
"lineHeight": 1.25, "lineHeight": 1.25,
"baseline": 266 "baseline": 267
}, },
{ {
"type": "rectangle", "type": "rectangle",
@ -1229,8 +1229,8 @@ Receives RPC:
}, },
{ {
"type": "text", "type": "text",
"version": 198, "version": 199,
"versionNonce": 533959181, "versionNonce": 259082654,
"isDeleted": false, "isDeleted": false,
"id": "Fhj4p7CG", "id": "Fhj4p7CG",
"fillStyle": "solid", "fillStyle": "solid",
@ -1252,7 +1252,7 @@ Receives RPC:
"frameId": null, "frameId": null,
"roundness": null, "roundness": null,
"boundElements": [], "boundElements": [],
"updated": 1709039961780, "updated": 1762073979472,
"link": null, "link": null,
"locked": false, "locked": false,
"fontSize": 19.852103697407568, "fontSize": 19.852103697407568,
@ -1264,7 +1264,7 @@ Receives RPC:
"containerId": null, "containerId": null,
"originalText": "client\n\nSends RPC:\n\t\n\nReceives RPC:\n\t\n\n*Signals:*\n\n\t\t", "originalText": "client\n\nSends RPC:\n\t\n\nReceives RPC:\n\t\n\n*Signals:*\n\n\t\t",
"lineHeight": 1.25, "lineHeight": 1.25,
"baseline": 266 "baseline": 267
}, },
{ {
"type": "rectangle", "type": "rectangle",
@ -1299,8 +1299,8 @@ Receives RPC:
}, },
{ {
"type": "text", "type": "text",
"version": 314, "version": 315,
"versionNonce": 2100607757, "versionNonce": 1381508930,
"isDeleted": false, "isDeleted": false,
"id": "oHgsr2yn", "id": "oHgsr2yn",
"fillStyle": "solid", "fillStyle": "solid",
@ -1322,7 +1322,7 @@ Receives RPC:
"frameId": null, "frameId": null,
"roundness": null, "roundness": null,
"boundElements": [], "boundElements": [],
"updated": 1709039965875, "updated": 1762073979472,
"link": null, "link": null,
"locked": false, "locked": false,
"fontSize": 19.852103697407568, "fontSize": 19.852103697407568,
@ -1334,7 +1334,7 @@ Receives RPC:
"containerId": null, "containerId": null,
"originalText": "audio_manager\n\nSends RPC:\n\t\n\nReceives RPC:\n\t\n\n*Signals:*\n\n\t\t", "originalText": "audio_manager\n\nSends RPC:\n\t\n\nReceives RPC:\n\t\n\n*Signals:*\n\n\t\t",
"lineHeight": 1.25, "lineHeight": 1.25,
"baseline": 266 "baseline": 267
}, },
{ {
"type": "rectangle", "type": "rectangle",
@ -1383,10 +1383,10 @@ Receives RPC:
"currentItemTextAlign": "left", "currentItemTextAlign": "left",
"currentItemStartArrowhead": null, "currentItemStartArrowhead": null,
"currentItemEndArrowhead": "arrow", "currentItemEndArrowhead": "arrow",
"scrollX": 1736.365683964645, "scrollX": 1876.4489242920258,
"scrollY": 983.2003286622428, "scrollY": 1682.8573013959976,
"zoom": { "zoom": {
"value": 0.45 "value": 0.35000000000000003
}, },
"currentItemRoundness": "round", "currentItemRoundness": "round",
"gridSize": null, "gridSize": null,

View file

@ -1,10 +0,0 @@
pixel positions on the screen use Vector2 coordinates
cell to world using Vector2
```
var cell_size:Vector2 = Vector2(50.0, 50.0)
# or: var cell_size := Vector2(50.0, 50.0)
func grid_to_world(cell):
return cell + cell_size + cell_size / 2
```

View file

@ -0,0 +1,88 @@
Preparing the signals
```gdscript
func _ready():
host_button.pressed.connect(_on_host_pressed)
join_button.pressed.connect(_on_join_pressed)
multiplayer.peer_connected.connect(_on_peer_connected)
```
```gdscript
func _on_peer_connected(id: int):
print("my peer id: %s" % multiplayer.get_unique_id())
print("peer connected: %s" % id)
```
Starting a server
```gdscript
func _on_host_pressed() -> void:
const PORT=3000
var server_peer := ENetMultiplayerPeer.new()
server_peer.create(PORT)
multiplayer.multiplayer_peer = server_peer
```
Joining a server
```gdscript
func _on_join_pressed() -> void:
var client_peer := ENetMultiplayerPeer.new()
client_peer.create_client("127.0.0.1", PORT)
multipler.multiplayer_peer = client_peer
```
Sending RPC to server
```gdscript
```
Receiving RPC from host
```gdscript
```
Aus AWA:
```gdscript
func create_server():
log.start("create_server")
log.debug("port: "+str(port))
peer.peer_connected.connect(_on_peer_connected)
peer.peer_disconnected.connect(_on_peer_disconnected)
multiplayer_api = MultiplayerAPI.create_default_interface()
get_tree().set_multiplayer(multiplayer_api, self.get_path())
peer.create_server(port, 2000) # Max 2000 Scenes
if peer.get_connection_status()==MultiplayerPeer.CONNECTION_DISCONNECTED:
log.debug("Verbindungsaufbau fehlgeschlagen")
get_tree().quit()
multiplayer_api.multiplayer_peer = peer
```
```gdscript
func connect_client():
log.start("connect_client")
peer = ENetMultiplayerPeer.new()
log.debug("host=" + host + ", port=" + str(port))
multiplayer_api = MultiplayerAPI.create_default_interface()
get_tree().set_multiplayer(multiplayer_api, self.get_path())
peer.create_client(host, port)
peer.peer_connected.connect(_on_peer_connected)
peer.peer_disconnected.connect(_on_peer_disconnected)
if peer.get_connection_status() == MultiplayerPeer.CONNECTION_DISCONNECTED:
log.debug("Verbindungsaufbau fehlgeschlagen. SceneHost="+str(host)+", port="+str(port))
#get_tree().quit()
multiplayer_api.multiplayer_peer=peer
```
```gdscript
func request_send_chatline(txt:String):
rpc_id(1,"rpc_cs_send_chatline", txt) # 1=peer_id vom master server
@rpc("any_peer") func rpc_cs_send_chatline(txt:String):
pass # Implementation not needed on client
```

View file

@ -1,4 +1,4 @@
```python ```gdscript
func _ready() -> void: func _ready() -> void:
var gem_scene := preload("gem.tscn") var gem_scene := preload("gem.tscn")
var gem_instance := gem_scene.instantiate() var gem_instance := gem_scene.instantiate()

View file

@ -0,0 +1,3 @@
views:
- type: table
name: Table

View file

@ -0,0 +1,3 @@
views:
- type: table
name: Table

View file

@ -0,0 +1,3 @@
views:
- type: table
name: Table