UI framework

From CatchChallenger wiki
Jump to: navigation, search

Version 2.0

Actually the UI framework is Qt, QGraphicView CPU + Qt Widget

All the code client is delimited by API to easy change the Interface/Input/Sound

All the code client is delimited by API to easy change the Interface/Input/Sound

Version 2.2

I have look about:

  • http://oxygine.org oxygine for C++ version, Linux, Windows, Mac, Browser
    • Pro: Safe, more efficient via TCP message, multiple OS
    • Cons: More hard to do the UI, no SVG, no joystick support, no javascript for the attack
  • https://phaser.io/ for js version, Browser
    • Pro: More fast and easy to dev and UI, SVG, popular framework, JavaScript is very common and it's easy to found dev
    • Cons: WebSocket Increase message size, no native build, html interface is not renderer in same way in fonction of the browser
    • Note: possible usage of https://cordova.apache.org to run on android and Windows, maybe https://nwjs.io
  • https://godotengine.org custom script, godotengine
    • Pro: Well established framework
    • Cons: custom language, but editor, no javascript for the attack
  • http://www.cocos2d-x.org/ cocos2d-x
    • Pro: Well established framework, support javascript for attack animation, support android and web
    • Cons: bad integration under linux for editor, need re-learn all UI
  • https://www.qt.io/ qt
    • Pro: Well established framework, no GPU needed without QtQuick
    • Cons: No GPU acceleration, QtQuick is not common
  • https://unity3d.com/ unity
    • Pro: Well established framework, support javascript for attack animation, support android and web
    • Cons: Unfortunately, we do not officially support Unity on Linux. We do have an experimental build for this and a community page which is dedicated to purely Linux editor related questions. However, we cannot guarantee that the build is stable. Please see the link below. https://blogs.unity3d.com/2015/08/26/unity-comes-to-linux-experimental-build-now-available/