action-engine-js 1.0.1 → 1.0.2

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/LICENSE CHANGED
@@ -1,52 +1,52 @@
1
- MIT License
2
-
3
- Copyright (c) 2025 Tomobobo710
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.
22
-
23
- ---
24
-
25
- This project includes GoblinPhysics, licensed under the Zlib License:
26
-
27
- Copyright (c) 2012 Chandler Prall
28
-
29
- This software is provided 'as-is', without any express or implied
30
- warranty. In no event will the authors be held liable for any damages
31
- arising from the use of this software.
32
-
33
- Permission is granted to anyone to use this software for any purpose,
34
- including commercial applications, and to alter it and redistribute it
35
- freely, subject to the following restrictions:
36
-
37
- 1. The origin of this software must not be misrepresented; you must not
38
- claim that you wrote the original software. If you use this software
39
- in a product, an acknowledgment in the product documentation would be
40
- appreciated but is not required.
41
- 2. Altered source versions must be plainly marked as such, and must not be
42
- misrepresented as being the original software.
43
- 3. This notice may not be removed or altered from any source distribution.
44
-
45
- Repository: https://github.com/chandlerprall/GoblinPhysics
46
-
47
- ---
48
-
49
- This project includes TimGM6mb soundfont
50
- Source: https://www.timbrechbill.com/saxguru/Timidity.php
51
- Author: Tim Brechbill
52
- Status: Free to use
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Tomobobo710
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.
22
+
23
+ ---
24
+
25
+ This project includes GoblinPhysics, licensed under the Zlib License:
26
+
27
+ Copyright (c) 2012 Chandler Prall
28
+
29
+ This software is provided 'as-is', without any express or implied
30
+ warranty. In no event will the authors be held liable for any damages
31
+ arising from the use of this software.
32
+
33
+ Permission is granted to anyone to use this software for any purpose,
34
+ including commercial applications, and to alter it and redistribute it
35
+ freely, subject to the following restrictions:
36
+
37
+ 1. The origin of this software must not be misrepresented; you must not
38
+ claim that you wrote the original software. If you use this software
39
+ in a product, an acknowledgment in the product documentation would be
40
+ appreciated but is not required.
41
+ 2. Altered source versions must be plainly marked as such, and must not be
42
+ misrepresented as being the original software.
43
+ 3. This notice may not be removed or altered from any source distribution.
44
+
45
+ Repository: https://github.com/chandlerprall/GoblinPhysics
46
+
47
+ ---
48
+
49
+ This project includes TimGM6mb soundfont
50
+ Source: https://www.timbrechbill.com/saxguru/Timidity.php
51
+ Author: Tim Brechbill
52
+ Status: Free to use
package/README.md CHANGED
@@ -33,6 +33,7 @@ Action Engine simplifies game creation by handling all the tedious infrastructur
33
33
  html, body {
34
34
  margin: 0;
35
35
  padding: 0;
36
+ background: #0a0a2a;
36
37
  width: 100%;
37
38
  height: 100%;
38
39
  overflow: hidden;
@@ -66,6 +67,7 @@ npm install action-engine-js
66
67
  html, body {
67
68
  margin: 0;
68
69
  padding: 0;
70
+ background: #0a0a2a;
69
71
  width: 100%;
70
72
  height: 100%;
71
73
  overflow: hidden;
@@ -359,7 +361,7 @@ action_update(deltaTime) {
359
361
  // Move up
360
362
  }
361
363
 
362
- if (this.input.isKeyPressed("Action1")) {
364
+ if (this.input.isKeyJustPressed("Action1")) {
363
365
  this.player.jump();
364
366
  }
365
367
  }