Comments (9)
Switched from Pixi to Phaser once I realized how much Pixi is lacking (and what Phaser takes care of for you). Seeing some huge performance gains with frame rates at a solid 60fps with the entire map on screen. Still needs a lot of work specifically around z-order issues and getting animations working again, but it's progressing. Hoping to put a version up in the next day or so, eventually this will become the main branch.
from opensc2k.
It's coming along very well - I've finally got it back up and running to the point it was before switching to Phaser - just need to work out a few remaining bugs and hoping to post a commit tomorrow evening with the changes.
Solid 60fps will full animations, also have the game asset extraction / import / tile map generation completed - if a bit ugly. That'll be included as well.
Next steps after this will be removing the native SQLite dependency and restructuring the project to ES6 standards.
Side note: One nice thing about moving to Phaser, I'm already seeing some benefits of the framework in things such as Camera controls and instances - I've tested multiple cameras (similar to how the Tycoon series does it) and it works flawlessly with zero impact to the frame rate. Full zooming and controls in all cameras as well.
from opensc2k.
Agreed - I've already started looking in to PixiJS - after I've got the game importing assets this is my next large milestone. The canvas performance isn't terrible now, but there is a ton of room for improvement.
from opensc2k.
I raised the same suggestion here. Phaser is also built on top of Pixi - depends how far we want to go with it.
from opensc2k.
from opensc2k.
You're probably good for now, but Phaser 3 has just been released.
It is bleeding edge at the moment so you've probably got a bit of time but it's there.
from opensc2k.
I’ve been working with the 3.x codebase, it’s given me some headaches (most examples are 2.x) and the docs are lacking, but it’s been worth it
from opensc2k.
Any eta when the rewrite will be up? Was wanting to contribute, but have to wait till that's done.
from opensc2k.
@ntomsic now 😊
from opensc2k.
Related Issues (20)
- The module '../better_sqlite3.node' was compiled against a different Node.js version using NODE_MODULE_VERSION 59. This version of Node.js requires NODE_MODULE_VERSION 57. HOT 2
- Switch to Sequelize or other ORM HOT 5
- macOS: libtool: unrecognized option `-static' HOT 9
- Port to web HOT 8
- This is awesome!
- :( did not work/ atttached log HOT 1
- Fixed typo in the readme HOT 2
- error [email protected]: The engine "node" is incompatible with this module. Expected version ">=5.10.0". HOT 2
- Hosted deployment HOT 4
- Cameras.Controls.Smoothed removed in Phaser 3.10.1 HOT 1
- 3D rendered artwork HOT 15
- Windows instructions? HOT 1
- Package "pngjs" refers to a non-existing file HOT 2
- This doesn't work anymore HOT 11
- `npm i` not working from mac
- It don’t worrrrrrrrrrk😫 HOT 1
- Is this (at least planned to be) actively maintained? HOT 3
- I have an idea
- rage8885 does not exist HOT 1
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 opensc2k.