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.
Files changed (140) hide show
  1. package/README.md +25 -8
  2. package/bin/nova64.js +165 -0
  3. package/dist/assets/console-CY_kygm3.js +14 -0
  4. package/dist/assets/console-CY_kygm3.js.map +1 -0
  5. package/dist/assets/main-l0sNRNKZ.js.map +1 -0
  6. package/dist/assets/sky/studio/nx.png +0 -0
  7. package/dist/assets/sky/studio/ny.png +0 -0
  8. package/dist/assets/sky/studio/nz.png +0 -0
  9. package/dist/assets/sky/studio/px.png +0 -0
  10. package/dist/assets/sky/studio/py.png +0 -0
  11. package/dist/assets/sky/studio/pz.png +0 -0
  12. package/dist/assets/vanilla-Dcuy32gi.js +2 -0
  13. package/dist/assets/vanilla-Dcuy32gi.js.map +1 -0
  14. package/dist/console.html +899 -0
  15. package/dist/docs/BENCHMARK.md +77 -0
  16. package/dist/docs/CHEATSHEET.md +255 -0
  17. package/dist/docs/EFFECTS_API_GUIDE.md +577 -0
  18. package/dist/docs/EFFECTS_QUICK_REFERENCE.md +331 -0
  19. package/dist/docs/FONT_CHARACTER_REFERENCE.md +219 -0
  20. package/dist/docs/FREE_GLB_ASSETS.md +330 -0
  21. package/dist/docs/FULLSCREEN_BUTTON_FEATURE.md +296 -0
  22. package/dist/docs/GAMEPAD_SUPPORT.md +348 -0
  23. package/dist/docs/GAME_IMPROVEMENTS.md +278 -0
  24. package/dist/docs/GAME_QUALITY_STATUS.md +300 -0
  25. package/dist/docs/MIGRATION_GUIDE.md +553 -0
  26. package/dist/docs/NOVA64_3D_API.md +356 -0
  27. package/dist/docs/NOVA64_API_REFERENCE.md +1406 -0
  28. package/dist/docs/NOVA64_UI_API.md +503 -0
  29. package/dist/docs/UI_SYSTEM_SUMMARY.md +445 -0
  30. package/dist/docs/VOXEL_ENGINE_GUIDE.md +662 -0
  31. package/dist/docs/VOXEL_QUICK_REFERENCE.md +386 -0
  32. package/dist/docs/api-3d.html +750 -0
  33. package/dist/docs/api-effects.html +385 -0
  34. package/dist/docs/api-improvements.md +121 -0
  35. package/dist/docs/api-skybox.html +407 -0
  36. package/dist/docs/api-sprites.html +321 -0
  37. package/dist/docs/api-voxel.html +337 -0
  38. package/dist/docs/api.html +543 -0
  39. package/dist/docs/assets.html +306 -0
  40. package/dist/docs/audio.html +340 -0
  41. package/dist/docs/blogs.html +286 -0
  42. package/dist/docs/collision.html +316 -0
  43. package/dist/docs/console.html +247 -0
  44. package/dist/docs/editor.html +297 -0
  45. package/dist/docs/font.html +247 -0
  46. package/dist/docs/framebuffer.html +247 -0
  47. package/dist/docs/fullscreen-button.html +297 -0
  48. package/dist/docs/gpu-systems.html +247 -0
  49. package/dist/docs/index.html +580 -0
  50. package/dist/docs/input.html +491 -0
  51. package/dist/docs/physics.html +311 -0
  52. package/dist/docs/screens.html +311 -0
  53. package/dist/docs/storage.html +311 -0
  54. package/dist/docs/textinput.html +332 -0
  55. package/dist/docs/ui.html +488 -0
  56. package/dist/examples/3d-advanced/code.js +695 -0
  57. package/dist/examples/adventure-comic-3d/code.js +342 -0
  58. package/dist/examples/audio-lab/code.js +150 -0
  59. package/dist/examples/boids-flocking/code.js +270 -0
  60. package/dist/examples/crystal-cathedral-3d/code.js +706 -0
  61. package/dist/examples/cyberpunk-city-3d/code.js +1383 -0
  62. package/dist/examples/demoscene/README.md +192 -0
  63. package/dist/examples/demoscene/code.js +1081 -0
  64. package/dist/examples/demoscene/meta.json +21 -0
  65. package/dist/examples/dungeon-crawler-3d/code.js +1117 -0
  66. package/dist/examples/f-zero-nova-3d/code.js +865 -0
  67. package/dist/examples/f-zero-nova-3d/code_old.js +1555 -0
  68. package/dist/examples/fps-demo-3d/code.js +744 -0
  69. package/dist/examples/game-of-life-3d/code.js +338 -0
  70. package/dist/examples/generative-art/code.js +632 -0
  71. package/dist/examples/hello-3d/code.js +325 -0
  72. package/dist/examples/hello-skybox/code.js +183 -0
  73. package/dist/examples/hello-world/code.js +19 -0
  74. package/dist/examples/input-showcase/code.js +109 -0
  75. package/dist/examples/instancing-demo/code.js +315 -0
  76. package/dist/examples/minecraft-demo/code.js +387 -0
  77. package/dist/examples/model-viewer-3d/code.js +114 -0
  78. package/dist/examples/mystical-realm-3d/code.js +1203 -0
  79. package/dist/examples/nature-explorer-3d/code.js +1318 -0
  80. package/dist/examples/particles-demo/code.js +522 -0
  81. package/dist/examples/pbr-showcase/code.js +140 -0
  82. package/dist/examples/physics-demo-3d/code.js +948 -0
  83. package/dist/examples/screen-demo/code.js +267 -0
  84. package/dist/examples/shooter-demo-3d/code.js +1286 -0
  85. package/dist/examples/space-combat-3d/IMPLEMENTATION_SUMMARY.md +109 -0
  86. package/dist/examples/space-combat-3d/README.md +135 -0
  87. package/dist/examples/space-combat-3d/code.js +1332 -0
  88. package/dist/examples/space-harrier-3d/code.js +923 -0
  89. package/dist/examples/star-fox-nova-3d/code.js +1116 -0
  90. package/dist/examples/star-fox-nova-3d/code_backup.js +410 -0
  91. package/dist/examples/star-fox-nova-3d/code_broken.js +1821 -0
  92. package/dist/examples/storage-quest/code.js +209 -0
  93. package/dist/examples/strider-demo-3d/IMPROVEMENT_OPTIONS.md +285 -0
  94. package/dist/examples/strider-demo-3d/cache-test.html +132 -0
  95. package/dist/examples/strider-demo-3d/code-fixed.js +582 -0
  96. package/dist/examples/strider-demo-3d/code-old.js +1537 -0
  97. package/dist/examples/strider-demo-3d/code.js +1462 -0
  98. package/dist/examples/strider-demo-3d/code.js.bak2 +1169 -0
  99. package/dist/examples/strider-demo-3d/fix-game.sh +53 -0
  100. package/dist/examples/super-plumber-64/README.md +128 -0
  101. package/dist/examples/super-plumber-64/code.js +1185 -0
  102. package/dist/examples/super-plumber-64/index.html +88 -0
  103. package/dist/examples/test-2d-overlay/code.js +32 -0
  104. package/dist/examples/test-font/code.js +51 -0
  105. package/dist/examples/test-minimal/code.js +21 -0
  106. package/dist/examples/ui-demo/code.js +306 -0
  107. package/dist/examples/wing-commander-space/README.md +180 -0
  108. package/dist/examples/wing-commander-space/code.js +1285 -0
  109. package/dist/examples/wizardry-3d/CHANGELOG.md +366 -0
  110. package/dist/examples/wizardry-3d/code.js +3928 -0
  111. package/dist/index.html +666 -0
  112. package/dist/os9-shell/assets/index-DIHfrTaW.css +1 -0
  113. package/dist/os9-shell/assets/index-KchE_ngx.js +483 -0
  114. package/dist/os9-shell/assets/index-KchE_ngx.js.map +1 -0
  115. package/dist/os9-shell/index.html +23 -0
  116. package/dist/os9-shell/nova-icon.svg +12 -0
  117. package/index.html +6 -1
  118. package/package.json +37 -32
  119. package/public/assets/sky/studio/nx.png +0 -0
  120. package/public/assets/sky/studio/ny.png +0 -0
  121. package/public/assets/sky/studio/nz.png +0 -0
  122. package/public/assets/sky/studio/px.png +0 -0
  123. package/public/assets/sky/studio/py.png +0 -0
  124. package/public/assets/sky/studio/pz.png +0 -0
  125. package/public/os9-shell/assets/index-KchE_ngx.js +483 -0
  126. package/public/os9-shell/assets/index-KchE_ngx.js.map +1 -0
  127. package/public/os9-shell/index.html +10 -1
  128. package/runtime/api-2d.js +301 -21
  129. package/runtime/api-3d/pbr.js +45 -1
  130. package/runtime/api-3d.js +1 -0
  131. package/runtime/api-effects.js +90 -3
  132. package/runtime/api-gameutils.js +476 -0
  133. package/runtime/api-generative.js +610 -0
  134. package/runtime/api-skybox.js +54 -0
  135. package/runtime/api-voxel.js +139 -28
  136. package/runtime/gpu-threejs.js +13 -9
  137. package/runtime/ui.js +2 -2
  138. package/src/main.js +20 -0
  139. package/public/os9-shell/assets/index-B1Uvacma.js +0 -32825
  140. 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!_