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,192 @@
|
|
|
1
|
+
# 🎬 NOVA64 DEMOSCENE - TRON ODYSSEY
|
|
2
|
+
|
|
3
|
+
An epic visual journey through a neon digital realm, showcasing the full capabilities of the Nova64 engine.
|
|
4
|
+
|
|
5
|
+
## ✨ Features
|
|
6
|
+
|
|
7
|
+
### Visual Effects
|
|
8
|
+
|
|
9
|
+
- **💫 Advanced Bloom**: Intense neon glow with dynamic strength adjustment
|
|
10
|
+
- **🎨 Post-Processing**: FXAA anti-aliasing and shader effects
|
|
11
|
+
- **✨ GPU Particles**: Hundreds of animated particles with physics
|
|
12
|
+
- **🌫️ Atmospheric Fog**: Dynamic fog for depth and atmosphere
|
|
13
|
+
- **🎪 Procedural Geometry**: Real-time generated neon structures
|
|
14
|
+
|
|
15
|
+
### Scenes
|
|
16
|
+
|
|
17
|
+
The demo features 5 unique scenes, each showcasing different aspects of the engine:
|
|
18
|
+
|
|
19
|
+
#### 1. GRID AWAKENING (8s)
|
|
20
|
+
|
|
21
|
+
- Pulsing neon grid floor
|
|
22
|
+
- Floating crystalline structures
|
|
23
|
+
- Expanding energy rings
|
|
24
|
+
- Camera rises dramatically
|
|
25
|
+
|
|
26
|
+
#### 2. DATA TUNNEL (10s)
|
|
27
|
+
|
|
28
|
+
- High-speed tunnel fly-through
|
|
29
|
+
- Streaming data particles
|
|
30
|
+
- Dynamic geometry generation
|
|
31
|
+
- Camera barrel roll effect
|
|
32
|
+
|
|
33
|
+
#### 3. DIGITAL CITY (12s)
|
|
34
|
+
|
|
35
|
+
- 40+ procedural neon towers
|
|
36
|
+
- Flying light cycles with trails
|
|
37
|
+
- Pulsating building effects
|
|
38
|
+
- Orbiting camera movement
|
|
39
|
+
|
|
40
|
+
#### 4. ENERGY CORE (10s)
|
|
41
|
+
|
|
42
|
+
- Swirling energy fields
|
|
43
|
+
- Intense bloom increase
|
|
44
|
+
- Spiral camera movement
|
|
45
|
+
- Particle explosion buildup
|
|
46
|
+
|
|
47
|
+
#### 5. THE VOID (8s)
|
|
48
|
+
|
|
49
|
+
- Fade to darkness
|
|
50
|
+
- Final particle burst
|
|
51
|
+
- Dramatic camera pullback
|
|
52
|
+
- Demo loops back to start
|
|
53
|
+
|
|
54
|
+
## 🎮 Controls
|
|
55
|
+
|
|
56
|
+
- **Mouse**: Navigate UI buttons on start screen
|
|
57
|
+
- **Click "BEGIN ODYSSEY"**: Start the visual journey
|
|
58
|
+
- The demo plays automatically through all 5 scenes
|
|
59
|
+
- Seamless transitions between scenes
|
|
60
|
+
- Auto-loops after completion
|
|
61
|
+
|
|
62
|
+
## 🛠️ Technical Details
|
|
63
|
+
|
|
64
|
+
### Engine Features Showcased
|
|
65
|
+
|
|
66
|
+
- Three.js 3D rendering with WebGL2
|
|
67
|
+
- UnrealBloomPass for neon glow
|
|
68
|
+
- FXAAShader for anti-aliasing
|
|
69
|
+
- Dynamic mesh creation/destruction
|
|
70
|
+
- Real-time particle physics
|
|
71
|
+
- Cinematic camera choreography
|
|
72
|
+
- Procedural geometry generation
|
|
73
|
+
|
|
74
|
+
### Performance
|
|
75
|
+
|
|
76
|
+
- Optimized for 60 FPS
|
|
77
|
+
- Automatic LOD and culling
|
|
78
|
+
- Efficient particle management
|
|
79
|
+
- Smart object pooling
|
|
80
|
+
- Progressive scene loading
|
|
81
|
+
|
|
82
|
+
### Code Structure
|
|
83
|
+
|
|
84
|
+
```javascript
|
|
85
|
+
// 5 distinct scene update functions
|
|
86
|
+
updateGridAwakening(); // Scene 0
|
|
87
|
+
updateDataTunnel(); // Scene 1
|
|
88
|
+
updateDigitalCity(); // Scene 2
|
|
89
|
+
updateEnergyCore(); // Scene 3
|
|
90
|
+
updateTheVoid(); // Scene 4
|
|
91
|
+
|
|
92
|
+
// Automated scene transitions
|
|
93
|
+
// Dynamic camera choreography
|
|
94
|
+
// Real-time effects management
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
## 🎨 Visual Style
|
|
98
|
+
|
|
99
|
+
The demo embraces a **Tron-like cyberpunk aesthetic**:
|
|
100
|
+
|
|
101
|
+
- Neon cyan, magenta, and yellow colors
|
|
102
|
+
- Dark space with glowing geometry
|
|
103
|
+
- Grid-based architecture
|
|
104
|
+
- Energy trails and particle effects
|
|
105
|
+
- Smooth, cinematic camera movements
|
|
106
|
+
|
|
107
|
+
## 🚀 How It Works
|
|
108
|
+
|
|
109
|
+
### Start Screen
|
|
110
|
+
|
|
111
|
+
1. Animated 3D scene in background
|
|
112
|
+
2. Pulsing title with color shift
|
|
113
|
+
3. Two interactive buttons
|
|
114
|
+
4. Slow camera orbit
|
|
115
|
+
|
|
116
|
+
### Demo Mode
|
|
117
|
+
|
|
118
|
+
1. Each scene has a defined duration
|
|
119
|
+
2. Progress bar shows scene completion
|
|
120
|
+
3. Automatic transitions with fade effects
|
|
121
|
+
4. Scene-specific camera paths
|
|
122
|
+
5. Dynamic effects adjust per scene
|
|
123
|
+
|
|
124
|
+
### Scene Transitions
|
|
125
|
+
|
|
126
|
+
- 2-second smooth transitions
|
|
127
|
+
- Fade to black with scene name display
|
|
128
|
+
- Cleanup of previous scene objects
|
|
129
|
+
- Setup of new scene geometry
|
|
130
|
+
- Seamless camera continuity
|
|
131
|
+
|
|
132
|
+
## 📊 Stats Display
|
|
133
|
+
|
|
134
|
+
The HUD shows:
|
|
135
|
+
|
|
136
|
+
- Current scene name and number
|
|
137
|
+
- Progress bar with percentage
|
|
138
|
+
- Active effects list
|
|
139
|
+
- Scene description text
|
|
140
|
+
- Nova64 branding
|
|
141
|
+
|
|
142
|
+
## 🎬 Making Your Own Demoscene
|
|
143
|
+
|
|
144
|
+
This code demonstrates best practices for:
|
|
145
|
+
|
|
146
|
+
1. **Scene Management**: Multiple scenes with state machine
|
|
147
|
+
2. **Camera Choreography**: Scripted camera movements
|
|
148
|
+
3. **Effect Control**: Dynamic bloom and fog adjustments
|
|
149
|
+
4. **Particle Systems**: Creation, update, and cleanup
|
|
150
|
+
5. **Procedural Generation**: Real-time geometry creation
|
|
151
|
+
6. **Transition Effects**: Smooth scene changes
|
|
152
|
+
|
|
153
|
+
### Key Patterns
|
|
154
|
+
|
|
155
|
+
```javascript
|
|
156
|
+
// Scene state machine
|
|
157
|
+
const SCENES = [
|
|
158
|
+
{ name: 'SCENE NAME', duration: 8, color: 0x00ffff },
|
|
159
|
+
// ...
|
|
160
|
+
];
|
|
161
|
+
|
|
162
|
+
// Scene-specific update
|
|
163
|
+
function updateScene(dt, progress) {
|
|
164
|
+
// progress = 0.0 to 1.0 over scene duration
|
|
165
|
+
// Use progress for camera paths and animations
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
// Automatic transitions
|
|
169
|
+
if (sceneTime >= SCENES[currentScene].duration) {
|
|
170
|
+
startSceneTransition();
|
|
171
|
+
}
|
|
172
|
+
```
|
|
173
|
+
|
|
174
|
+
## 🌟 Credits
|
|
175
|
+
|
|
176
|
+
- **Engine**: Nova64 Fantasy Console
|
|
177
|
+
- **3D**: Three.js
|
|
178
|
+
- **Effects**: UnrealBloomPass, FXAAShader
|
|
179
|
+
- **Style**: Tron, Cyberpunk, Demoscene culture
|
|
180
|
+
|
|
181
|
+
## 📝 Notes
|
|
182
|
+
|
|
183
|
+
- Demo is fully automatic - no user input required during playback
|
|
184
|
+
- Loops infinitely for continuous display
|
|
185
|
+
- Optimized for both desktop and capable mobile devices
|
|
186
|
+
- All geometry generated procedurally at runtime
|
|
187
|
+
- No external 3D models or textures required
|
|
188
|
+
|
|
189
|
+
---
|
|
190
|
+
|
|
191
|
+
**Nova64: The Ultimate Fantasy Console** 🎮✨
|
|
192
|
+
_Now with demoscene-quality visual effects!_
|