q5play 4.0.0 → 4.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/Icon/r ADDED
File without changes
package/LICENSE.md ADDED
@@ -0,0 +1,74 @@
1
+ # q5play Creator License
2
+
3
+ This License Agreement ("Agreement") is made between Quinton Ashley, the sole copyright owner of q5play ("Licensor") and an individual, organization, or company ("Licensee") that is using q5play.
4
+
5
+ **_For use in Computer Science (CS) education, see the [q5play Educational License](https://q5play.org/teach)._**
6
+
7
+ ## 1. License Grant
8
+
9
+ The Licensee is granted a non-exclusive, world-wide, royalty-free right to use the q5play software library ("Content") for **personal, professional, and commercial purposes**, subject to the following restrictions.
10
+
11
+ ### 1a. Permitted Commercial Use
12
+
13
+ The Licensee may use the Content to create, publish, and sell software, games, or applications without the requirement to make their own application source code public or open source.
14
+
15
+ ### 1b. Limited Redistribution
16
+
17
+ The Licensee may host or distribute verbatim, unmodified copies of the Content only as part of their own applications. "Verbatim copies" means exact duplicates of the Content as provided by the Licensor. The Licensee may not sell, sublicense, or redistribute the Content as a standalone library or as part of a competing software development kit (SDK).
18
+
19
+ ### 1c. Derivative Work Restrictions
20
+
21
+ Modification, enhancement, or adaptation of the Content ("Derivative Work") can be done privately, but any Derivative Work that is shared with others must be shared under the same terms as this original Agreement. Derivative Works must be created for the sole purpose of improving the Content for the benefit of all users of q5play.
22
+
23
+ ### 1d. Computer Science Education Restriction
24
+
25
+ The Licensee is **expressly forbidden** from using the Content for the purpose of teaching computer science, programming, game development, or the use of q5play itself.
26
+
27
+ - **Prohibited Use:** This includes, but is not limited to, use in schools, universities, coding bootcamps, online programming courses, or paid CS instructional content.
28
+ - **Permitted Use:** The Content may be used to create interactive educational media for other subjects (e.g., teaching math, cooking, or history), provided the application does not instruct the user on how to code or use q5play.
29
+ - **Ambiguity:** In cases of ambiguity regarding subject matter, the Licensor reserves the right to determine if the use falls under "CS Education."
30
+
31
+ Any use for CS education requires the [q5play Educational License](https://q5play.org/teach).
32
+
33
+ ### 1e. No Military Use
34
+
35
+ The Licensee is expressly forbidden from using the Content in projects that are directly endorsed by military organizations, arms manufacturers, or military contractors.
36
+
37
+ ### 1f. Attribution Required
38
+
39
+ The Licensee must publicly display appropriate credit to the Licensor. Use of the "made with q5play" Loading Screen is required for all published work, unless the work is published on an online code editing platform or other web app that was approved by the Licensor to be exempt from this requirement.
40
+
41
+ Attribution can also be made at the top of the primary script file or in a README file.
42
+
43
+ Example Attribution:
44
+
45
+ ```js
46
+ /**
47
+ * Made with q5play!
48
+ * https://q5play.org
49
+ */
50
+ ```
51
+
52
+ ## 2. Licensee Eligibility
53
+
54
+ Any individual or entity using q5play is required to comply with this Agreement. Use of q5play constitutes acceptance of these terms.
55
+
56
+ ## 3. "Learn q5play" Interactive Textbook Access
57
+
58
+ The Licensee is granted access to the ["Learn q5play"](https://q5play.org/learn) interactive textbook for personal learning and evaluation only. Use of these materials for group instruction or classroom settings is prohibited without an Educational License.
59
+
60
+ ## 4. No Warranty
61
+
62
+ The Content is provided "as is." The Licensor makes no warranties, express or implied, including without limitation any implied warranty of merchantability or fitness for a particular purpose.
63
+
64
+ ## 5. Limitation of Liability
65
+
66
+ The Licensor shall not be liable for any damages suffered by the Licensee resulting from the use or inability to use the Content. Licensees must comply with all applicable laws and are fully liable for any content they create with q5play.
67
+
68
+ ## 6. Termination
69
+
70
+ This Agreement terminates automatically, without notice from the Licensor, if the Licensee fails to comply with any term(s) of this Agreement.
71
+
72
+ ## 7. Entire Agreement
73
+
74
+ This Agreement constitutes the entire agreement between the parties. To the extent possible, if any provision is deemed unenforceable, it shall be automatically reformed to the minimum extent necessary to make it enforceable. If it cannot be reformed, it shall be severed without affecting the remaining terms.
package/README.md CHANGED
@@ -1,5 +1,41 @@
1
- # q5play
1
+ # <img src="https://q5play.org/assets/q5play_logo.avif" width="64"> q5play ![](https://img.shields.io/github/package-json/v/q5play/q5play)
2
2
 
3
- Coming soon...
3
+ ## Visit [q5play.org][]! 🎮🧑‍💻
4
4
 
5
- q5play combines the fastest 2D graphics library, q5.js, with the fastest 2D physics library, Box2D v3, enabling users to create and share incredible interactive experiences on the web!
5
+ [q5play][] is a beginner friendly, powerful, and cutting edge game engine for the web.
6
+
7
+ It uses [q5.js WebGPU][] for graphics and [Box2D v3 WASM][] for physics.
8
+
9
+ [Join us on Discord][] to ask questions and meet other people making games with q5play. 👾
10
+
11
+ ## Licensing 📝
12
+
13
+ The [q5play Creator License][] enables free personal and commercial use.
14
+
15
+ Educational use requires the [q5play Educational License][].
16
+
17
+ ## Credits ⭐️
18
+
19
+ q5play and p5play v3 were created by Quinton Ashley.
20
+
21
+ Huge thanks to everyone that's helped with q5play! 🙏
22
+
23
+ Erik Sombroek and Alex Birch, creators of [Box2D v3 WASM][].
24
+
25
+ Erin Catto, creator of the Box2D physics simulator.
26
+
27
+ Paolo Pedercini, creator of p5.play (version 1), who trusted me to take over this project.
28
+
29
+ Ali Shakiba, creator of planck.js, a JS port of Box2D v2 used by p5play v3.
30
+
31
+ Contributors: @Tezumie, Oliver Zell, Caleb Foss, and Bobby S.
32
+
33
+ Testers and bug reporters: Lachlan Noble, Raj Raizada, Nathan Anil, Chayarat Wangweera, Zhiyuan Guo, Aarnav Gupta, and Carter Noa.
34
+
35
+ [q5play.org]: https://q5play.org
36
+ [q5play]: https://q5play.org
37
+ [q5.js WebGPU]: https://q5js.org
38
+ [Box2D v3 WASM]: https://github.com/Birch-san/box2d3-wasm
39
+ [Join us on Discord]: https://discord.gg/EJwnJATmj7
40
+ [q5play Creator License]: LICENSE.md
41
+ [q5play Educational License]: https://q5play.org/teach
package/package.json CHANGED
@@ -1,13 +1,30 @@
1
1
  {
2
2
  "name": "q5play",
3
- "version": "4.0.0",
3
+ "version": "4.0.1",
4
4
  "author": "quinton-ashley",
5
- "license": "q5play License",
6
- "description": "JavaScript game engine that uses q5.js for graphics and Box2D for physics.",
5
+ "license": "SEE LICENSE IN LICENSE.md",
6
+ "description": "A web-based game engine that uses q5.js WebGPU for graphics and Box2D v3 WASM for physics.",
7
7
  "main": "q5play.js",
8
+ "types": "q5play.d.ts",
9
+ "homepage": "https://q5play.org",
10
+ "repository": {
11
+ "type": "git",
12
+ "url": "git+https://github.com/q5play/q5play.git"
13
+ },
14
+ "keywords": [
15
+ "q5",
16
+ "p5play",
17
+ "p5"
18
+ ],
8
19
  "scripts": {
9
- "test": "echo \"Error: no test specified\" && exit 1",
20
+ "multi": "ws --https --cors.embedder-policy require-corp --cors.opener-policy same-origin --directory .",
10
21
  "v": "npm version patch --force",
11
- "V": "npm version minor --force"
22
+ "V": "npm version minor --force",
23
+ "version": "git add -A",
24
+ "postversion": "git push"
25
+ },
26
+ "dependencies": {
27
+ "box2d3-wasm": "^5.2.0",
28
+ "q5": "^4.4.4"
12
29
  }
13
30
  }