-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from Rimuy/fix-wally
Fix wally build excluding some directories
- Loading branch information
Showing
8 changed files
with
46 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,7 @@ npm i @rbxts/gamejoy | |
For [wally](https://wally.run/) users, the package can be installed by adding the following line into their `wally.toml`. | ||
```cs | ||
[dependencies] | ||
GameJoy = "rimuy/[email protected].1" | ||
GameJoy = "rimuy/[email protected].4" | ||
``` | ||
|
||
After that, just run `wally install`. | ||
|
@@ -214,7 +214,7 @@ context.Bind(new Sequence(["LeftAlt", "E"]), () => { | |
}); | ||
``` | ||
|
||
`Sequence` is cancellable. When one of the keys is released, it'll trigger the `Cancelled` event. If there is already an action being executed and the composite was already queued, it'll remove the composite from the queue, preventing it to be triggered. This doesn't apply if `RunSynchronously` is set to true. | ||
`Sequence` is cancellable. When one of the keys is released, it'll trigger the `Cancelled` event. If there is already an action being executed and the composite was already queued, it'll remove the composite from the queue, preventing it from being triggered. This doesn't apply if `RunSynchronously` is set to true. | ||
|
||
```js | ||
context.BindEvent("onCancel", sequence.Cancelled, () => { | ||
|
@@ -330,7 +330,7 @@ Just like the above, `Sync` also aims to apply a configuration trait to a specif | |
|
||
```js | ||
context | ||
.Bind("A", () => task.wait(5)) | ||
.Bind("A", () => { task.wait(5); }) | ||
.Bind("B", () => print("Needs to wait till A is done...")) | ||
.Bind(new Sync("C"), () => { | ||
print("Will be executed even if there is already a pending action!"); | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,5 +4,5 @@ registry = "test" | |
|
||
[[package]] | ||
name = "rimuy/gamejoy" | ||
version = "1.1.1" | ||
version = "1.1.4" | ||
dependencies = [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,24 @@ | ||
[package] | ||
name = "rimuy/gamejoy" | ||
description = "A simple class-based input library" | ||
version = "1.1.1" | ||
description = "Simple class-based input library" | ||
version = "1.1.4" | ||
license = "MIT" | ||
authors = ["Rimuy"] | ||
realm = "shared" | ||
registry = "https://github.com/upliftgames/wally-index" | ||
exclude = ["*.d.ts"] | ||
exclude = ["*"] | ||
include = [ | ||
"include", | ||
"include/**/*", | ||
"out", | ||
"out/**/*", | ||
"LICENSE", | ||
"README.md", | ||
"default.project.json", | ||
"node_modules", | ||
"node_modules/@rbxts", | ||
"node_modules/@rbxts/**/*", | ||
"wally.toml", | ||
] | ||
|
||
[dependencies] |