Skip to content

livoras/nestscript-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

使用 nestscript 编译的开源伪 3D 游戏。

DEMO: https://livoras.github.io/nestscript-demo/index.html

<!-- 引入 nestscript 虚拟机 -->
<script src="./nestscript/dist/vm.js"></script>

<!-- 下载二进制文件,并且用虚拟机运行 -->
<script>
   fetch('./game').then((res) => {
      res.arrayBuffer().then((data) => {
         const vm = createVMFromArrayBuffer(data, window)
         vm.run()
      })
   })
</script>

About

使用 nestscript 编译的开源伪 3D 游戏

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published