Skip to content

Commit 3b05fec

Browse files
committed
improvements
add automated release add steam achievements
1 parent d00311c commit 3b05fec

File tree

10 files changed

+1014
-42
lines changed

10 files changed

+1014
-42
lines changed

.github/workflows/build_and_release.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,14 @@ jobs:
6666
with:
6767
files: dist/**/*
6868

69+
- name: Publish to C3Addons
70+
if: startsWith(github.ref, 'refs/tags/')
71+
env:
72+
CONSTRUCT_USERNAME: ${{ secrets.CONSTRUCT_USERNAME }}
73+
CONSTRUCT_PASSWORD: ${{ secrets.CONSTRUCT_PASSWORD }}
74+
run: |
75+
node ./scripts/publish.js
76+
6977
# - name: Check if variables are set
7078
# id: check
7179
# run: |

.vscode/settings.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"i18n-ally.localesPaths": [
3+
"export/lang",
4+
"export-sdk1/lang",
5+
"export-sdk2/lang"
6+
]
7+
}

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ A plugin that integrate with Pipelab <br>
55
Author: Armaldio <br>
66
Website: https://github.com/CynToolkit/construct-plugin <br>
77
Addon Url: https://github.com/CynToolkit/construct-plugin <br>
8-
Download Latest Version : [Version: 1.8.0](https://github.com/CynToolkit/construct-plugin/releases/latest) <br>
8+
Download Latest Version : [Version: 1.9.1](https://github.com/CynToolkit/construct-plugin/releases/latest) <br>
99
<sub>Made using [c3ide2-framework](https://github.com/ConstructFund/c3ide2-framework) </sub><br>
1010

1111
## Table of Contents
@@ -87,6 +87,10 @@ The main files you may want to look at would be instance.js
8787
| Show dev tools | Show or hide the dev tools. | Show *(combo)* <br> |
8888
| Unmaximize | Unmaximize the window | |
8989
| Set Fullscreen | Change fullscreen state | Fullscreen *(combo)* <br> |
90+
| Activate achievement | Activate a steam achievement | Achievement *(string)* <br> |
91+
| Clear achievement | Clear a steam achievement | Achievement *(string)* <br> |
92+
| Check achievement activation state | Check the activation state of a steam achievement | Achievement *(string)* <br> |
93+
| Set rich presence | Set the rich presence of the local player. | Key *(string)* <br>Value *(string)* <br> |
9094

9195

9296
---
@@ -108,6 +112,7 @@ The main files you may want to look at would be instance.js
108112
| On file dropped | Triggered when the user drag-and-drops a file to the window | |
109113
| On file system error | Triggered when a file operation fails. | |
110114
| On path verification | Triggered when a file verification result is available. | Path *(string)* <br>Tag *(string)* <br> |
115+
| Is full screen | Returns true if the window is in full screen mode. | State *(combo)* <br> |
111116

112117

113118
---
@@ -152,6 +157,8 @@ The main files you may want to look at would be instance.js
152157
| WindowTitle | Return the title of the window. | string | |
153158
| WindowX | Return the x position of the window. | number | |
154159
| WindowY | Return the y position of the window. | number | |
160+
| FullscreenState | Return the fullscreen state of the window. | number | |
161+
| LatestAchievementActivationState | Return the latest achievement activation state. | number | |
155162

156163
## Paths
157164
**ProjectFilesFolder**: Direct path to your games's content

examples/example.c3p

2.13 KB
Binary file not shown.

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"dependencies": {
33
"@pipelab/core": "1.4.5",
44
"adm-zip": "0.5.16",
5+
"c3addon": "1.0.9",
56
"chokidar": "4.0.3",
67
"cors": "2.8.5",
78
"express": "4.21.2",
@@ -31,6 +32,7 @@
3132
"devDependencies": {
3233
"c3ide2-types": "1.0.1",
3334
"electron": "34.0.2",
35+
"steamworks.js": "0.4.0",
3436
"typescript": "5.7.3"
3537
}
3638
}

0 commit comments

Comments
 (0)