Comments (11)
Actually, engo uses github.com/EngoEngine/gl
which has support for mobile and web!
from engo.
Actually, engo uses
github.com/EngoEngine/gl
which has support for mobile and web!
Huh, I tried to build for Web and it failed
from engo.
I currently use https://github.com/Noofbiz/engoWasmServer as an automated tool for testing myself, but all it uses is the normal go tools with goos=js and goarch=wasm to build. If you need more help building for us let me know, I’ll keep this open.
from engo.
I currently use https://github.com/Noofbiz/engoWasmServer as an automated tool for testing myself, but all it uses is the normal go tools with goos=js and goarch=wasm to build. If you need more help building for us let me know, I’ll keep this open.
Alright, I will grab the error later.
from engo.
@Noofbiz After further research, I get src/github.com/EngoEngine/gl/gl_webgl.go:1541:2: undefined: log.Error
when attempting to build EngoEngine/gl, rather then a constraint related error like I got before, but still an error. Any idea why this happens?
from engo.
I updated to use the latest gl, should take care of that error message
from engo.
I updated to use the latest gl, should take care of that error message
Great, I will try building, glad I could help ^^)
from engo.
@Noofbiz Now it fails with:
/home/redacted/go/src/github.com/EngoEngine/engo/engo_js.go:46:25: document.Get("body").IsNull undefined (type js.Value has no field or method IsNull)
/home/redacted/go/src/github.com/EngoEngine/engo/engo_js.go:172:9: joy.IsNull undefined (type js.Value has no field or method IsNull)
/home/redacted/go/src/github.com/EngoEngine/engo/engo_js.go:188:9: joy.IsNull undefined (type js.Value has no field or method IsNull)
/home/redacted/go/src/github.com/EngoEngine/engo/gamepads_js.go:32:19: gpds.Index(i).IsNull undefined (type js.Value has no field or method IsNull)
/home/redacted/go/src/github.com/EngoEngine/engo/gamepads_js.go:54:11: window.IsUndefined undefined (type js.Value has no field or method IsUndefined)
/home/redacted/go/src/github.com/EngoEngine/engo/gamepads_js.go:54:52: window.Get("navigator").IsUndefined undefined (type js.Value has no field or method IsUndefined)
/home/redacted/go/src/github.com/EngoEngine/engo/gamepads_js.go:66:20: gpds.Index(i).IsNull undefined (type js.Value has no field or method IsNull)
EDIT: Turns out it was an outdated version of Go
from engo.
@Noofbiz Turns out that on some versions of Go, you need to use ValueEqual
. Build fails with this error for reference:
engo_js.go:45:26: invalid operation: document.Get("body") == js.Null() (struct containing [0]func() cannot be compared)
from engo.
Oh wait, turns out my version of Engo was outdated haha, will try building once I fix that
from engo.
Can confirm, it works now
from engo.
Related Issues (20)
- Get Font Via URL
- Export current frame in the Animation Component
- Update isometric demo to use tiles of different sizes
- WSL to build on windows
- Shape drawing problem HOT 7
- Circle fill transparency HOT 6
- About performance HOT 7
- Scale operation seems to move the entity to the wrong position
- shader
- TMX resources cannot handle tile sets that leave a rest at end of rows HOT 2
- TMX resources don't respect transformations when loading tiles
- Build on macos M1 / Apple Silicon fails (GL/mobile-related) HOT 2
- AudioSystem's Pause and Restart aren't working
- Question: Can you draw upon a transparent window/canvas? HOT 1
- Cannot Compile on m1 mac HOT 3
- Release v1.0.7 appears to be tagged incorrectly HOT 1
- Properly handle gifs
- Add function to disable cursor
- quadtree to fast
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from engo.