Skip to content

Commit b1839fa

Browse files
authored
Merge pull request techwithtim#11 from DRincs-Productions/6-implement-my-pygame-library
6 implement my pygame library
2 parents 9b33d4b + 8bd1daf commit b1839fa

53 files changed

Lines changed: 8349 additions & 549 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/devskim.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# This workflow uses actions that are not certified by GitHub.
2+
# They are provided by a third-party and are governed by
3+
# separate terms of service, privacy policy, and support
4+
# documentation.
5+
6+
name: DevSkim
7+
8+
on:
9+
push:
10+
branches: [ "main" ]
11+
pull_request:
12+
branches: [ "main" ]
13+
schedule:
14+
- cron: '23 14 * * 5'
15+
16+
jobs:
17+
lint:
18+
name: DevSkim
19+
runs-on: ubuntu-20.04
20+
permissions:
21+
actions: read
22+
contents: read
23+
security-events: write
24+
steps:
25+
- name: Checkout code
26+
uses: actions/checkout@v3
27+
28+
- name: Run DevSkim scanner
29+
uses: microsoft/DevSkim-Action@v1
30+
31+
- name: Upload DevSkim scan results to GitHub Security tab
32+
uses: github/codeql-action/upload-sarif@v2
33+
with:
34+
sarif_file: devskim-results.sarif

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "wiki"]
2+
path = wiki
3+
url = https://github.com/DRincs-Productions/Renpygame.wiki.git

.vscode/extensions.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
// See https://go.microsoft.com/fwlink/?LinkId=827846
3+
// for the documentation about the extensions.json format
4+
"recommendations": [
5+
"luquedaniel.languague-renpy",
6+
"ms-python.python",
7+
"ms-vscode.powershell",
8+
"mrorz.language-gettext"
9+
]
10+
}

.vscode/launch.json

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
{
2+
// Usare IntelliSense per informazioni sui possibili attributi.
3+
// Al passaggio del mouse vengono visualizzate le descrizioni degli attributi esistenti.
4+
// Per altre informazioni, visitare: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"name": "Ren'Py: Setup",
9+
"type": "PowerShell",
10+
"request": "launch",
11+
"script": "echo \"${input:RenPySdk}\" > .renpy-sdk",
12+
},
13+
{
14+
"name": "Ren'Py: Run",
15+
"type": "PowerShell",
16+
"request": "launch",
17+
"script": "bin/renpy run",
18+
"cwd": "${workspaceFolder}"
19+
},
20+
{
21+
"name": "Ren'Py: Recompile & Run",
22+
"type": "PowerShell",
23+
"request": "launch",
24+
"script": "bin/renpy compile; bin/renpy run",
25+
"cwd": "${workspaceFolder}"
26+
},
27+
{
28+
"name": "Ren'Py: Delete Persistent",
29+
"type": "PowerShell",
30+
"request": "launch",
31+
"script": "bin/renpy rmpersistent",
32+
"cwd": "${workspaceFolder}"
33+
},
34+
{
35+
"name": "Ren'Py: Lint",
36+
"type": "PowerShell",
37+
"request": "launch",
38+
"script": "bin/renpy lint",
39+
"cwd": "${workspaceFolder}"
40+
},
41+
{
42+
"name": "Ren'Py: Distribute",
43+
"type": "PowerShell",
44+
"request": "launch",
45+
"script": "bin/renpy distribute",
46+
"cwd": "${workspaceFolder}"
47+
},
48+
],
49+
"inputs": [
50+
{
51+
"id": "RenPySdk",
52+
"description": "Paste the path to your Ren'Py SDK folder",
53+
"type": "promptString",
54+
}
55+
]
56+
}

.vscode/settings.json

Lines changed: 243 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,251 @@
11
{
2+
// format
3+
"[renpy]": {
4+
"editor.defaultFormatter": "ms-python.python",
5+
},
6+
"editor.formatOnSave": true,
7+
// reorganise imports
8+
"editor.codeActionsOnSave": {
9+
"source.organizeImports": true
10+
},
11+
// hide
212
"files.exclude": {
313
"**/*.rpyc": true,
414
"**/*.rpa": true,
515
"**/*.rpymc": true,
616
"**/cache/": true
17+
},
18+
// olther
19+
"extensions.ignoreRecommendations": false,
20+
"diffEditor.ignoreTrimWhitespace": false,
21+
// color
22+
"editor.tokenColorCustomizations": {
23+
"textMateRules": [
24+
{
25+
"scope": "renpy.meta.plain",
26+
"settings": {
27+
"fontStyle": ""
28+
}
29+
},
30+
{
31+
"scope": "renpy.meta.i",
32+
"settings": {
33+
"fontStyle": "italic"
34+
}
35+
},
36+
{
37+
"scope": "renpy.meta.b",
38+
"settings": {
39+
"fontStyle": "bold"
40+
}
41+
},
42+
{
43+
"scope": [
44+
"renpy.meta.u",
45+
"renpy.meta.a"
46+
],
47+
"settings": {
48+
"fontStyle": "underline"
49+
}
50+
},
51+
{
52+
"scope": "renpy.meta.s",
53+
"settings": {
54+
"fontStyle": "strikethrough"
55+
}
56+
},
57+
{
58+
"scope": "renpy.meta.i renpy.meta.b",
59+
"settings": {
60+
"fontStyle": "italic bold"
61+
}
62+
},
63+
{
64+
"scope": "renpy.meta.i renpy.meta.u",
65+
"settings": {
66+
"fontStyle": "italic underline"
67+
}
68+
},
69+
{
70+
"scope": "renpy.meta.i renpy.meta.s",
71+
"settings": {
72+
"fontStyle": "italic strikethrough"
73+
}
74+
},
75+
{
76+
"scope": "renpy.meta.b renpy.meta.u",
77+
"settings": {
78+
"fontStyle": "bold underline"
79+
}
80+
},
81+
{
82+
"scope": "renpy.meta.b renpy.meta.s",
83+
"settings": {
84+
"fontStyle": "bold strikethrough"
85+
}
86+
},
87+
{
88+
"scope": "renpy.meta.u renpy.meta.s",
89+
"settings": {
90+
"fontStyle": "underline strikethrough"
91+
}
92+
},
93+
{
94+
"scope": "renpy.meta.i renpy.meta.b renpy.meta.u",
95+
"settings": {
96+
"fontStyle": "italic bold underline"
97+
}
98+
},
99+
{
100+
"scope": "renpy.meta.i renpy.meta.b renpy.meta.s",
101+
"settings": {
102+
"fontStyle": "italic bold strikethrough"
103+
}
104+
},
105+
{
106+
"scope": "renpy.meta.i renpy.meta.u renpy.meta.s",
107+
"settings": {
108+
"fontStyle": "italic underline strikethrough"
109+
}
110+
},
111+
{
112+
"scope": "renpy.meta.b renpy.meta.u renpy.meta.s",
113+
"settings": {
114+
"fontStyle": "bold underline strikethrough"
115+
}
116+
},
117+
{
118+
"scope": "renpy.meta.i renpy.meta.b renpy.meta.u renpy.meta.s",
119+
"settings": {
120+
"fontStyle": "italic bold underline strikethrough"
121+
}
122+
},
123+
{
124+
"scope": "renpy.meta.color.text",
125+
"settings": {
126+
"foreground": "#ffffff"
127+
}
128+
},
129+
{
130+
"scope": "renpy.meta.color.#cfc",
131+
"settings": {
132+
"foreground": "#cfc"
133+
}
134+
},
135+
{
136+
"scope": "renpy.meta.color.#fcc",
137+
"settings": {
138+
"foreground": "#fcc"
139+
}
140+
},
141+
{
142+
"scope": "renpy.meta.color.#fff",
143+
"settings": {
144+
"foreground": "#fff"
145+
}
146+
},
147+
{
148+
"scope": "renpy.meta.color.#570058",
149+
"settings": {
150+
"foreground": "#570058"
151+
}
152+
},
153+
{
154+
"scope": "renpy.meta.color.#cc5dcd",
155+
"settings": {
156+
"foreground": "#cc5dcd"
157+
}
158+
},
159+
{
160+
"scope": "renpy.meta.color.#ff0000",
161+
"settings": {
162+
"foreground": "#ff0000"
163+
}
164+
},
165+
{
166+
"scope": "renpy.meta.color.#f00",
167+
"settings": {
168+
"foreground": "#f00"
169+
}
170+
},
171+
{
172+
"scope": "renpy.meta.color.#00ff00",
173+
"settings": {
174+
"foreground": "#00ff00"
175+
}
176+
},
177+
{
178+
"scope": "renpy.meta.color.#e59400",
179+
"settings": {
180+
"foreground": "#e59400"
181+
}
182+
},
183+
{
184+
"scope": "renpy.meta.color.#ffbe00",
185+
"settings": {
186+
"foreground": "#ffbe00"
187+
}
188+
},
189+
{
190+
"scope": "renpy.meta.color.#00ccff",
191+
"settings": {
192+
"foreground": "#00ccff"
193+
}
194+
},
195+
{
196+
"scope": "renpy.meta.color.#f5bc02",
197+
"settings": {
198+
"foreground": "#f5bc02"
199+
}
200+
},
201+
{
202+
"scope": "renpy.meta.color.#ffffff",
203+
"settings": {
204+
"foreground": "#ffffff"
205+
}
206+
},
207+
{
208+
"scope": "renpy.meta.color.#ffff",
209+
"settings": {
210+
"foreground": "#ffff"
211+
}
212+
},
213+
{
214+
"scope": "renpy.meta.color.#000000",
215+
"settings": {
216+
"foreground": "#000000"
217+
}
218+
},
219+
{
220+
"scope": "renpy.meta.color.#00008b",
221+
"settings": {
222+
"foreground": "#00008b"
223+
}
224+
},
225+
{
226+
"scope": "renpy.meta.color.e is",
227+
"settings": {
228+
"foreground": "e is"
229+
}
230+
},
231+
{
232+
"scope": "renpy.meta.color.{/color",
233+
"settings": {
234+
"foreground": "{/color"
235+
}
236+
},
237+
{
238+
"scope": "renpy.meta.color. is an ",
239+
"settings": {
240+
"foreground": " is an "
241+
}
242+
},
243+
{
244+
"scope": "renpy.meta.color./color}",
245+
"settings": {
246+
"foreground": "/color}"
247+
}
248+
}
249+
]
7250
}
8251
}

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2020 Don Renpy
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

0 commit comments

Comments
 (0)