Skip to content

Commit

Permalink
Rewrite input section
Browse files Browse the repository at this point in the history
  • Loading branch information
soywiz committed Dec 13, 2023
1 parent a012aef commit 184f50c
Show file tree
Hide file tree
Showing 6 changed files with 99 additions and 239 deletions.
42 changes: 22 additions & 20 deletions .obsidian/workspace.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"state": {
"type": "markdown",
"state": {
"file": "math/utils.md",
"file": "views/views-input.md",
"mode": "source",
"source": false
}
Expand Down Expand Up @@ -48,7 +48,7 @@
"state": {
"type": "search",
"state": {
"query": "",
"query": "class KeysEvents",
"matchingCase": false,
"explainSearch": false,
"collapseAll": false,
Expand All @@ -65,11 +65,12 @@
"state": {}
}
}
]
],
"currentTab": 1
}
],
"direction": "horizontal",
"width": 300
"width": 203.5
},
"right": {
"id": "59bc338dc566784c",
Expand All @@ -85,7 +86,7 @@
"state": {
"type": "backlink",
"state": {
"file": "math/utils.md",
"file": "views/views-input.md",
"collapseAll": false,
"extraContext": false,
"sortOrder": "alphabetical",
Expand All @@ -102,7 +103,7 @@
"state": {
"type": "outgoing-link",
"state": {
"file": "math/utils.md",
"file": "views/views-input.md",
"linksCollapsed": false,
"unlinkedCollapsed": true
}
Expand All @@ -125,16 +126,16 @@
"state": {
"type": "outline",
"state": {
"file": "math/utils.md"
"file": "views/views-input.md"
}
}
}
]
],
"currentTab": 3
}
],
"direction": "horizontal",
"width": 300,
"collapsed": true
"width": 300
},
"left-ribbon": {
"hiddenItems": {
Expand All @@ -148,8 +149,17 @@
},
"active": "59a0d87ce96a06a1",
"lastOpenFiles": [
"math/Untitled.canvas",
"io/index.md",
"reference/resources.md",
"io.md",
"reference/testing.md",
"templates/filters.md",
"templates/extending.md",
"about/faq.md",
"about/jam.md",
"about/contributing.md",
"math/utils.md",
"math/Untitled.canvas",
"math/index.md",
"io/encoding.md",
"io/sstreams.md",
Expand All @@ -166,7 +176,6 @@
"data-structures/algo.md",
"getting-started/index.md",
"index.md",
"scenes/scenes.md",
"i/facebook.svg",
"i/file_drag_and_drop.webm",
"i/googleplus.svg",
Expand All @@ -175,15 +184,8 @@
"i/onCollision.webm",
"i/onCollisionShape.webm",
"i/onCollisionShapeImage.webm",
"io/compression.md",
"io/aasync.md",
"_includes/bottom_desc.md",
"korlibs-deps-tpl.svg",
"source code.md",
"korlibs-deps-tpl.canvas",
"Untitled 1.canvas",
"korlibs-deps.md",
"data-structures/maps.md",
"math/vector.md"
"Untitled 1.canvas"
]
}
Empty file added io.md
Empty file.
2 changes: 1 addition & 1 deletion reference/resources.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ fa-icon: fa-archive
priority: 10
---

KorGE uses the [Virtual File Systems from Korio](/io/) to load resources from different sources,
KorGE uses the [Virtual File Systems from Korio](/io/index) to load resources from different sources,
and its most basic resources are [Bitmaps](/imaging/) and [Sounds](/audio/).
But it can also load bitmap fonts, tiled maps, etc.

Expand Down
11 changes: 6 additions & 5 deletions reference/testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,11 +139,12 @@ try to test as much as possible without using views at all.
If you represent your game as states and state transitions, you can then display those
actions with animations and tweens. And you can convert user interactions into actions.

```nomnoml
[States]
[User Interactions] -> [User Actions]
[User Actions] -> [State Transitions]
[State Transitions] -> [View Animations]
```mermaid
graph LR;
States["States"];
UserInteractions["User Interactions"] --> UserActions["User Actions"];
UserActions["User Actions"] --> StateTransitions["State Transitions"];
StateTransitions["State Transitions"] --> ViewAnimations["View Animations"];
```

For example:
Expand Down
2 changes: 0 additions & 2 deletions templates/extending.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ priority: 70

It is possible to extend KorTE with new tags, functions and filters.



{% raw %}

## Extending
Expand Down
Loading

0 comments on commit 184f50c

Please sign in to comment.