nova64 0.2.5 â 0.2.6
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/README.md +25 -8
- package/bin/nova64.js +165 -0
- package/dist/assets/console-CY_kygm3.js +14 -0
- package/dist/assets/console-CY_kygm3.js.map +1 -0
- package/dist/assets/main-l0sNRNKZ.js.map +1 -0
- package/dist/assets/sky/studio/nx.png +0 -0
- package/dist/assets/sky/studio/ny.png +0 -0
- package/dist/assets/sky/studio/nz.png +0 -0
- package/dist/assets/sky/studio/px.png +0 -0
- package/dist/assets/sky/studio/py.png +0 -0
- package/dist/assets/sky/studio/pz.png +0 -0
- package/dist/assets/vanilla-Dcuy32gi.js +2 -0
- package/dist/assets/vanilla-Dcuy32gi.js.map +1 -0
- package/dist/console.html +899 -0
- package/dist/docs/BENCHMARK.md +77 -0
- package/dist/docs/CHEATSHEET.md +255 -0
- package/dist/docs/EFFECTS_API_GUIDE.md +577 -0
- package/dist/docs/EFFECTS_QUICK_REFERENCE.md +331 -0
- package/dist/docs/FONT_CHARACTER_REFERENCE.md +219 -0
- package/dist/docs/FREE_GLB_ASSETS.md +330 -0
- package/dist/docs/FULLSCREEN_BUTTON_FEATURE.md +296 -0
- package/dist/docs/GAMEPAD_SUPPORT.md +348 -0
- package/dist/docs/GAME_IMPROVEMENTS.md +278 -0
- package/dist/docs/GAME_QUALITY_STATUS.md +300 -0
- package/dist/docs/MIGRATION_GUIDE.md +553 -0
- package/dist/docs/NOVA64_3D_API.md +356 -0
- package/dist/docs/NOVA64_API_REFERENCE.md +1406 -0
- package/dist/docs/NOVA64_UI_API.md +503 -0
- package/dist/docs/UI_SYSTEM_SUMMARY.md +445 -0
- package/dist/docs/VOXEL_ENGINE_GUIDE.md +662 -0
- package/dist/docs/VOXEL_QUICK_REFERENCE.md +386 -0
- package/dist/docs/api-3d.html +750 -0
- package/dist/docs/api-effects.html +385 -0
- package/dist/docs/api-improvements.md +121 -0
- package/dist/docs/api-skybox.html +407 -0
- package/dist/docs/api-sprites.html +321 -0
- package/dist/docs/api-voxel.html +337 -0
- package/dist/docs/api.html +543 -0
- package/dist/docs/assets.html +306 -0
- package/dist/docs/audio.html +340 -0
- package/dist/docs/blogs.html +286 -0
- package/dist/docs/collision.html +316 -0
- package/dist/docs/console.html +247 -0
- package/dist/docs/editor.html +297 -0
- package/dist/docs/font.html +247 -0
- package/dist/docs/framebuffer.html +247 -0
- package/dist/docs/fullscreen-button.html +297 -0
- package/dist/docs/gpu-systems.html +247 -0
- package/dist/docs/index.html +580 -0
- package/dist/docs/input.html +491 -0
- package/dist/docs/physics.html +311 -0
- package/dist/docs/screens.html +311 -0
- package/dist/docs/storage.html +311 -0
- package/dist/docs/textinput.html +332 -0
- package/dist/docs/ui.html +488 -0
- package/dist/examples/3d-advanced/code.js +695 -0
- package/dist/examples/adventure-comic-3d/code.js +342 -0
- package/dist/examples/audio-lab/code.js +150 -0
- package/dist/examples/boids-flocking/code.js +270 -0
- package/dist/examples/crystal-cathedral-3d/code.js +706 -0
- package/dist/examples/cyberpunk-city-3d/code.js +1383 -0
- package/dist/examples/demoscene/README.md +192 -0
- package/dist/examples/demoscene/code.js +1081 -0
- package/dist/examples/demoscene/meta.json +21 -0
- package/dist/examples/dungeon-crawler-3d/code.js +1117 -0
- package/dist/examples/f-zero-nova-3d/code.js +865 -0
- package/dist/examples/f-zero-nova-3d/code_old.js +1555 -0
- package/dist/examples/fps-demo-3d/code.js +744 -0
- package/dist/examples/game-of-life-3d/code.js +338 -0
- package/dist/examples/generative-art/code.js +632 -0
- package/dist/examples/hello-3d/code.js +325 -0
- package/dist/examples/hello-skybox/code.js +183 -0
- package/dist/examples/hello-world/code.js +19 -0
- package/dist/examples/input-showcase/code.js +109 -0
- package/dist/examples/instancing-demo/code.js +315 -0
- package/dist/examples/minecraft-demo/code.js +387 -0
- package/dist/examples/model-viewer-3d/code.js +114 -0
- package/dist/examples/mystical-realm-3d/code.js +1203 -0
- package/dist/examples/nature-explorer-3d/code.js +1318 -0
- package/dist/examples/particles-demo/code.js +522 -0
- package/dist/examples/pbr-showcase/code.js +140 -0
- package/dist/examples/physics-demo-3d/code.js +948 -0
- package/dist/examples/screen-demo/code.js +267 -0
- package/dist/examples/shooter-demo-3d/code.js +1286 -0
- package/dist/examples/space-combat-3d/IMPLEMENTATION_SUMMARY.md +109 -0
- package/dist/examples/space-combat-3d/README.md +135 -0
- package/dist/examples/space-combat-3d/code.js +1332 -0
- package/dist/examples/space-harrier-3d/code.js +923 -0
- package/dist/examples/star-fox-nova-3d/code.js +1116 -0
- package/dist/examples/star-fox-nova-3d/code_backup.js +410 -0
- package/dist/examples/star-fox-nova-3d/code_broken.js +1821 -0
- package/dist/examples/storage-quest/code.js +209 -0
- package/dist/examples/strider-demo-3d/IMPROVEMENT_OPTIONS.md +285 -0
- package/dist/examples/strider-demo-3d/cache-test.html +132 -0
- package/dist/examples/strider-demo-3d/code-fixed.js +582 -0
- package/dist/examples/strider-demo-3d/code-old.js +1537 -0
- package/dist/examples/strider-demo-3d/code.js +1462 -0
- package/dist/examples/strider-demo-3d/code.js.bak2 +1169 -0
- package/dist/examples/strider-demo-3d/fix-game.sh +53 -0
- package/dist/examples/super-plumber-64/README.md +128 -0
- package/dist/examples/super-plumber-64/code.js +1185 -0
- package/dist/examples/super-plumber-64/index.html +88 -0
- package/dist/examples/test-2d-overlay/code.js +32 -0
- package/dist/examples/test-font/code.js +51 -0
- package/dist/examples/test-minimal/code.js +21 -0
- package/dist/examples/ui-demo/code.js +306 -0
- package/dist/examples/wing-commander-space/README.md +180 -0
- package/dist/examples/wing-commander-space/code.js +1285 -0
- package/dist/examples/wizardry-3d/CHANGELOG.md +366 -0
- package/dist/examples/wizardry-3d/code.js +3928 -0
- package/dist/index.html +666 -0
- package/dist/os9-shell/assets/index-DIHfrTaW.css +1 -0
- package/dist/os9-shell/assets/index-KchE_ngx.js +483 -0
- package/dist/os9-shell/assets/index-KchE_ngx.js.map +1 -0
- package/dist/os9-shell/index.html +23 -0
- package/dist/os9-shell/nova-icon.svg +12 -0
- package/index.html +6 -1
- package/package.json +37 -32
- package/public/assets/sky/studio/nx.png +0 -0
- package/public/assets/sky/studio/ny.png +0 -0
- package/public/assets/sky/studio/nz.png +0 -0
- package/public/assets/sky/studio/px.png +0 -0
- package/public/assets/sky/studio/py.png +0 -0
- package/public/assets/sky/studio/pz.png +0 -0
- package/public/os9-shell/assets/index-KchE_ngx.js +483 -0
- package/public/os9-shell/assets/index-KchE_ngx.js.map +1 -0
- package/public/os9-shell/index.html +10 -1
- package/runtime/api-2d.js +301 -21
- package/runtime/api-3d/pbr.js +45 -1
- package/runtime/api-3d.js +1 -0
- package/runtime/api-effects.js +90 -3
- package/runtime/api-gameutils.js +476 -0
- package/runtime/api-generative.js +610 -0
- package/runtime/api-skybox.js +54 -0
- package/runtime/api-voxel.js +139 -28
- package/runtime/gpu-threejs.js +13 -9
- package/runtime/ui.js +2 -2
- package/src/main.js +20 -0
- package/public/os9-shell/assets/index-B1Uvacma.js +0 -32825
- package/public/os9-shell/assets/index-B1Uvacma.js.map +0 -1
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
#!/bin/bash
|
|
2
|
+
# Fix the Shadow Ninja 3D game
|
|
3
|
+
|
|
4
|
+
echo "đ§ Fixing Shadow Ninja 3D Platformer..."
|
|
5
|
+
echo ""
|
|
6
|
+
|
|
7
|
+
# Navigate to game directory
|
|
8
|
+
cd "$(dirname "$0")"
|
|
9
|
+
|
|
10
|
+
# Backup old code
|
|
11
|
+
if [ -f "code.js" ]; then
|
|
12
|
+
echo "đĻ Backing up old code.js to code-old.js..."
|
|
13
|
+
cp code.js code-old.js
|
|
14
|
+
fi
|
|
15
|
+
|
|
16
|
+
# Replace with fixed version
|
|
17
|
+
if [ -f "code-fixed.js" ]; then
|
|
18
|
+
echo "â
Installing fixed version..."
|
|
19
|
+
cp code-fixed.js code.js
|
|
20
|
+
echo " â Game code updated!"
|
|
21
|
+
else
|
|
22
|
+
echo "â Error: code-fixed.js not found!"
|
|
23
|
+
exit 1
|
|
24
|
+
fi
|
|
25
|
+
|
|
26
|
+
# Create models directory
|
|
27
|
+
echo ""
|
|
28
|
+
echo "đ Setting up models directory..."
|
|
29
|
+
mkdir -p ../../../public/models
|
|
30
|
+
echo " â Created /public/models/"
|
|
31
|
+
|
|
32
|
+
echo ""
|
|
33
|
+
echo "đŽ Game fixed successfully!"
|
|
34
|
+
echo ""
|
|
35
|
+
echo "đ Next steps:"
|
|
36
|
+
echo " 1. Refresh your browser"
|
|
37
|
+
echo " 2. Test the game - it should work properly now!"
|
|
38
|
+
echo " 3. (Optional) Download GLB models from:"
|
|
39
|
+
echo " - https://poly.pizza"
|
|
40
|
+
echo " - https://kenney.nl/assets"
|
|
41
|
+
echo " - http://quaternius.com/assets.html"
|
|
42
|
+
echo " 4. Place models in public/models/ folder"
|
|
43
|
+
echo " 5. Enable USE_GLB_MODELS in code.js"
|
|
44
|
+
echo ""
|
|
45
|
+
echo "đ¯ The game now has:"
|
|
46
|
+
echo " â Proper collision detection"
|
|
47
|
+
echo " â Coyote time (150ms grace period)"
|
|
48
|
+
echo " â Jump buffering (100ms window)"
|
|
49
|
+
echo " â Progressive level design"
|
|
50
|
+
echo " â Clear visual feedback"
|
|
51
|
+
echo " â Smooth camera following"
|
|
52
|
+
echo ""
|
|
53
|
+
echo "Happy gaming! đŽ"
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
# đ SUPER PLUMBER 64
|
|
2
|
+
|
|
3
|
+
A Super Mario 64 inspired 3D platformer for Nova64!
|
|
4
|
+
|
|
5
|
+
## đŽ Features
|
|
6
|
+
|
|
7
|
+
### Mario-Like Mechanics
|
|
8
|
+
|
|
9
|
+
- **Triple Jump System** - Jump three times in quick succession for higher jumps
|
|
10
|
+
- **Ground Pound** - Press Down + Jump in mid-air for a powerful slam
|
|
11
|
+
- **Smooth Movement** - Analog stick support with camera-relative controls
|
|
12
|
+
- **3D Platforming** - Navigate colorful floating platforms
|
|
13
|
+
|
|
14
|
+
### Collectibles
|
|
15
|
+
|
|
16
|
+
- **Coins** (Yellow) - Spinning gold coins worth 10 points each (15 total)
|
|
17
|
+
- **Stars** (Orange) - Bobbing power stars worth 100 points each (3 total)
|
|
18
|
+
|
|
19
|
+
### Level Design
|
|
20
|
+
|
|
21
|
+
- 11 interconnected platforms at various heights
|
|
22
|
+
- Multiple paths to explore
|
|
23
|
+
- High platform requires skilled jumping
|
|
24
|
+
- Hidden areas with extra collectibles
|
|
25
|
+
|
|
26
|
+
## đšī¸ Controls
|
|
27
|
+
|
|
28
|
+
### Keyboard
|
|
29
|
+
|
|
30
|
+
- **Arrow Keys** or **WASD** - Move
|
|
31
|
+
- **Space** or **Z** - Jump
|
|
32
|
+
- **Down + Jump** (in air) - Ground Pound
|
|
33
|
+
- **Q** / **E** - Rotate Camera
|
|
34
|
+
|
|
35
|
+
### Gamepad
|
|
36
|
+
|
|
37
|
+
- **Left Stick** - Move (analog)
|
|
38
|
+
- **A Button** - Jump
|
|
39
|
+
- **Right Stick** - Rotate Camera
|
|
40
|
+
- **D-pad Down + A** (in air) - Ground Pound
|
|
41
|
+
|
|
42
|
+
## đ¯ Objectives
|
|
43
|
+
|
|
44
|
+
1. **Collect all 15 Coins** - Explore every platform
|
|
45
|
+
2. **Collect all 3 Stars** - Find the hidden power stars
|
|
46
|
+
3. **Master the triple jump** - Reach the highest platforms
|
|
47
|
+
|
|
48
|
+
## đ Special Moves
|
|
49
|
+
|
|
50
|
+
### Triple Jump
|
|
51
|
+
|
|
52
|
+
1. **First Jump** - Normal height
|
|
53
|
+
2. **Second Jump** - Higher (press jump again quickly)
|
|
54
|
+
3. **Third Jump** - HIGHEST! (press jump one more time)
|
|
55
|
+
|
|
56
|
+
_Tip: You have 0.5 seconds between jumps to maintain the combo!_
|
|
57
|
+
|
|
58
|
+
### Ground Pound
|
|
59
|
+
|
|
60
|
+
1. Jump into the air
|
|
61
|
+
2. Press **Down + Jump** together
|
|
62
|
+
3. Slam down at high speed
|
|
63
|
+
4. Bounce on landing
|
|
64
|
+
|
|
65
|
+
_Tip: Great for reaching lower platforms quickly!_
|
|
66
|
+
|
|
67
|
+
## đ Scoring
|
|
68
|
+
|
|
69
|
+
- Each Coin: **10 points**
|
|
70
|
+
- Each Star: **100 points**
|
|
71
|
+
- Maximum Score: **450 points** (150 from coins + 300 from stars)
|
|
72
|
+
|
|
73
|
+
## đ¨ Visual Features
|
|
74
|
+
|
|
75
|
+
- **Bloom Effects** - Shiny collectibles glow
|
|
76
|
+
- **Colorful Platforms** - Each platform has unique colors
|
|
77
|
+
- **Smooth Animations** - Coins spin, stars bob
|
|
78
|
+
- **Sky & Fog** - Beautiful sky gradient with atmospheric fog
|
|
79
|
+
- **3rd Person Camera** - Follows player smoothly
|
|
80
|
+
|
|
81
|
+
## đ Technical
|
|
82
|
+
|
|
83
|
+
- **Resolution**: 640Ã360 (Nintendo 64 style)
|
|
84
|
+
- **Frame Rate**: 60 FPS target
|
|
85
|
+
- **Physics**: Custom gravity and collision system
|
|
86
|
+
- **Camera**: 3rd person with manual rotation
|
|
87
|
+
- **Respawn**: Fall off? You'll respawn at spawn!
|
|
88
|
+
|
|
89
|
+
## đŦ Getting Started
|
|
90
|
+
|
|
91
|
+
1. Open `index.html` in a modern browser
|
|
92
|
+
2. Use arrow keys to move around
|
|
93
|
+
3. Press Space to jump
|
|
94
|
+
4. Jump quickly 3 times for a triple jump!
|
|
95
|
+
5. Collect all coins and stars
|
|
96
|
+
|
|
97
|
+
## đ Known Features
|
|
98
|
+
|
|
99
|
+
- Platforms are simple boxes (retro aesthetic!)
|
|
100
|
+
- No enemies (pure platforming challenge)
|
|
101
|
+
- Camera can be manually rotated with Q/E
|
|
102
|
+
- Fall detection respawns you at start
|
|
103
|
+
|
|
104
|
+
## đĄ Tips
|
|
105
|
+
|
|
106
|
+
1. **Practice triple jumping** - It's essential for high platforms
|
|
107
|
+
2. **Use ground pound** - Helps you land precisely
|
|
108
|
+
3. **Explore everywhere** - Coins are on all paths
|
|
109
|
+
4. **Rotate camera** - Find the best viewing angle
|
|
110
|
+
5. **The highest star** requires a running triple jump from a nearby platform
|
|
111
|
+
|
|
112
|
+
## đŽ Inspired By
|
|
113
|
+
|
|
114
|
+
- **Super Mario 64** - Movement mechanics, triple jump
|
|
115
|
+
- **Banjo-Kazooie** - Collectible hunting
|
|
116
|
+
- **Crash Bandicoot** - Platform layout
|
|
117
|
+
|
|
118
|
+
## đ Credits
|
|
119
|
+
|
|
120
|
+
Built with **Nova64 Fantasy Console**
|
|
121
|
+
|
|
122
|
+
- 3D Graphics: Three.js backend
|
|
123
|
+
- Post-Processing: Bloom effects
|
|
124
|
+
- Input: Keyboard + Gamepad support
|
|
125
|
+
|
|
126
|
+
---
|
|
127
|
+
|
|
128
|
+
**Now get out there and collect those stars! đ**
|