Giter Site home page Giter Site logo

avgjs / avg-core Goto Github PK

View Code? Open in Web Editor NEW
843.0 843.0 67.0 11.75 MB

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

JavaScript 98.44% GLSL 1.56%
adventure-game-engine avg galgame game game-development game-engine game-frameworks gamemaker react visual-novel visual-novel-engine webgl

avg-core's People

Contributors

icemic avatar tmr111116 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

avg-core's Issues

UI System

Components of UI

  • Dialog
  • Layout
  • Scroll View
  • Checkbox
  • Radio
  • Button
  • Dropdown
  • Slider
  • Switch
  • Input
  • Tooltip
  • Tab View
  • Progress Bar
  • Pagination

New log module

Levels:

  • Fatal: Making the whole game can not continue
  • Error: Making a part of functions crash, but game can still continue (though might have some problems).
  • Warn: Something broken but has alternatives, or potential problems with better solutions, or the other things need to pay attention to.
  • Info: Normal information.
  • Debug: Essential info for developers.
  • Trace: Very specific information for debug.

Default level: Info

Need a more flexible event system

The current event system is divided into three layers:

  • PIXI events
  • PIXI events encapsulated with React
  • Connect React event of Surface component to the signal system (eg click tap)

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

Firefox support issue

I 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:

2022-01-04 11-02-53 的螢幕擷圖

need package it into a local game (not an online game on a web page)

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?

Is the live demo code available?

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?

node 13.x安装报错

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

Refactor sound plugin

  1. Now using howler v1.x, which is too old
  2. Command needs redesign, don't have to simulate BKEngine now.
  3. Don't forget save&load

About se,cv and bgm

I can't find controling code about se,cv and bgm,.Could you tell me where the file catalogue is?

Sprite Layer

like BKEngine, provide a independent layer, you can manage sprites by index as you wish

Unsupported platform?

我在安卓终端模拟器上不使用

node v8.9.3

执行 avg create mygame 输出 Unsupported platform.

难道有什么不能用 nodejs 解决的?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.