avgjs / avg-core Goto Github PK
View Code? Open in Web Editor NEWA Future-oriented Adventure Game Framework based on React & Pixi.js. Docs: https://avgjs.github.io/docs/
Home Page: https://avgjs.org
License: Apache License 2.0
A Future-oriented Adventure Game Framework based on React & Pixi.js. Docs: https://avgjs.github.io/docs/
Home Page: https://avgjs.org
License: Apache License 2.0
re-try or ?
and adjust frequency in desktop and mobile device
for example, common properies of PIXI.DisplayObject (alpha, position, rotation, etc.) should be exposed as component props.
this.node.x = props.x || 0;
this.node.y = props.y || 0;
should be
layer.x = props.x || layer.x || 0;
layer.y = props.y || layer.x || 0;
so do other properties...
in NodeMixin.js
binds events only in construct()
, and forget updateComponent
Components of UI
This project is amazing!
A cool logo would be great (to attract developers to contribute).
node 版本 v12.10.0
Mac 版本 10.15.2
报错信息
npm WARN deprecated [email protected]: ffmpeg-static@2 won't be updated with new ffmpeg binaries anymore. Use ffmpeg-static@latest.
npm ERR! Unexpected end of JSON input while parsing near '...wqMgKK+JgWsAQik5o0HTL'
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/guofeng/.npm/_logs/2020-03-02T11_03_28_462Z-debug.log
To solve:
fetch
in apps (win, macos, crosswalk-android)file:
with XHRI tried your demo in my Firefox browser.
Firefox does support WebGL (it can run Google Map in 3D mode). I've also checked in about:support
to make sure that the driver works with WebGL 1 and 2. But when I run your demo, I only see a message like this:
This browser does not support webGL. Try using the canvas renderer.
This is a screencap of the console message I found:
I would like to play a gal game on my disk rather than online because it takes long time to load resources. Electron can help us to package it into an cross-platform application. Saves can be store on disk instead of in 'local storage'. Also it can protect source code partly.
Could create a new project integrate Electron into it?
The current event system is divided into three layers:
In the third layer, the component with click event listener will be set to buttonMode = true
, but in most cases this is not appropriate, such as "Click Execute Script" this function, need to listen the entire stage layer, the cursor should be Normal status.
It's a good idea to have components set up their own buttonMode
or even kept full control of cursor type.
On the keyboard, wheel events, also need to consider a better solution
like BKEngine, provide a independent layer, you can manage sprites by index as you wish
我在安卓终端模拟器上不使用
node v8.9.3
执行 avg create mygame
输出 Unsupported platform.
难道有什么不能用 nodejs 解决的?
I can't find controling code about se,cv and bgm,.Could you tell me where the file catalogue is?
Reason: PIXI#Container doesn't have anchor
property, has opened a issue
Impact: UI#Dialog cannot set to be centered without screen width/height.
I am unable to get some basic functionality working on my AVG.js React app and would like to look at the code for the live demo to see how it was programmed. Is this possible?
should be done after #21
Levels:
Default level: Info
Local Storage
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.