phaser
lodash
Our great sponsors
phaser | lodash | |
---|---|---|
6 | 187 | |
36,324 | 58,868 | |
99.1% | 0.5% | |
9.8 | 5.1 | |
6 days ago | 7 days ago | |
JavaScript | JavaScript | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
phaser
-
3 years of fulltime Rust game development, and why we're leaving Rust behind
If you're targeting the browser first why not use a browser first library like PhaserJS [0]?. I don't see a reason to work around with WASM; HTML5 canvas might be everything that you need.
[0] https://phaser.io/
-
Gamedev.js Jam 2024 start and theme announcement!
Gold : GitHub, Phaser Studio, Arcadia
-
Introduction to JavaScript: Empowering Web Development with Interactivity
Versatility: JavaScript is not limited to web browsers. It's used in a variety of environments, including mobile app development (using frameworks like React Native), game development (using libraries like Phaser), and even serverless computing (using platforms like AWS Lambda).
-
A developer portfolio as a 2D top-down walking simulator
This reminds me of my first real dev job, 10y ago, making small facebook games with https://phaser.io it was actually kind of fun now that I think back.
-
Aftermath of switching from VSCode to Neovim
Is it worth it? I think while attempting to create a game engine with the Canvas API and vanilla JavaScript. (I quickly ditched that idea and started using PhaserJS)
-
Phaser: A fast, fun and free open source HTML5 game framework
I didn't try to build anything with Phaser, but I evaluated it a bit when trying to pick a game engine for a 2D web game.
The tech didn't impress me that much, but it also seemed like the most mature 2D game engine available in JS.
Notably, Phaser 4 was announced ~four years ago and was an attempt to get the project written natively in TypeScript. It looks pretty dead in the water - https://github.com/phaserjs/phaser and having a "best effort" TypeScript experience layered onto Phaser 3 didn't excite me.
Additionally, with browsers gaining support for WebGPU, I expect any game engine worth their snuff to begin rapidly adopting support for WebGPU. As best I can tell, any hope of Phaser supporting WebGPU is lumped into Phaser 4, so... not much to say there.
Overall, it was a little tough for me to tell if I was being overly critical and viewing a mature product as a ghost town, but that's the impression I took away from it.
As far as I can tell, BabylonJS is king in town for a TypeScript game engine, but its focus is 3D experiences. I didn't find an especially compelling 2D game engine. I ended up making a prototype using React + PixiJS + React-Pixi, but that was hardly an engine and had significant performance issues.
Now I am building in Rust with Bevy. It's slow going, creating UI elements sucks right now, but the underlying tech is super solid and I feel good about what I write and what I learn even if I'm dismayed at the pace in which I am creating.
lodash
-
8 NPM Packages for JavaScript Beginners [2024][+tutorials]
Lodash.js is like the Swiss Army knife for JavaScript developers. Need to manipulate data structures or dabble in functional programming? Lodash is here to save the day with its arsenal of utilities. It's all about making your code cleaner and your life easier, which is probably why big guns like Google and Airbnb have it in their toolkit.
-
Full Stack Web Development Concept map
lodash - utility library enabling things like deep object comparison that aren't easy to do with javascript out of the box. docs
-
Getting Started with Lodash: A Beginner's Guide to JavaScript Utility Functions
Lodash is a widely used JavaScript utility library that provides a plethora of functions to simplify common programming tasks. From manipulating arrays and objects to handling edge cases and implementing functional programming paradigms, Lodash offers a comprehensive toolkit for JavaScript developers. In this beginner's guide, we'll learn how to get started with Lodash and leverage its functionality to write cleaner, more efficient, and more maintainable code.
-
JavaScript Libraries That You Should Know
5. Lodash
-
JavaScript Equality Under the Lens: Enhancing React's Dependency Checks
If you want even more sophisticated equality checks like deep comparisons, there's the: lodash.iseQual library that'll do this for you out of the box. At least now you do have a bit of clarity on what's happening under the hood, so there's no harm in using a library.
-
Top 20 Frontend Interview Questions With Answers
It's also important to ensure that you're importing libraries correctly, so webpack can perform tree shaking effectively. For example, let's import lodash, as follows:
-
How to Remove Duplicate Objects from an Array in JavaScript
Lodash is awesome! It’s a JavaScript library that helps you do many things with data. You can use Lodash to manipulate arrays, objects, JavaScript strings, numbers, and more. It’s easy to get Lodash in your project. You can use npm or a CDN to install and import it. Here’s how:
-
Observables and Observers in RxJS
Think of RxJS as Lodash for events.
-
Coming to grips with JS: a Rubyist's deep dive
lodash and You Might Not Need Lodash
-
Deep Cloning Objects in JavaScript, the Modern Way
A lot of Lodash functions are implemented as combinations of other Lodash functions, so importing a single function actually imports half of Lodash under the hood:
https://github.com/lodash/lodash/blob/main/src/.internal/bas...
What are some alternatives?
kaboom.js - 💥 JavaScript game library
ramda - :ram: Practical functional Javascript
Excalibur - 🎮 Your friendly TypeScript 2D game engine for the web 🗡️
underscore - JavaScript's utility _ belt
cocos-engine - Cocos simplifies game creation and distribution with Cocos Creator, a free, open-source, cross-platform game engine. Empowering millions of developers to create high-performance, engaging 2D/3D games and instant web entertainment.
lazy.js - Like Underscore, but lazier
Godot - Godot Engine – Multi-platform 2D and 3D game engine
RxJS
A-Frame - :a: Web framework for building virtual reality experiences.
Sugar - A Javascript library for working with native objects.
melonJS - a fresh, modern & lightweight HTML5 game engine
immutable-js - Immutable persistent data collections for Javascript which increase efficiency and simplicity.