Advertisement

@vanxo , welcome to gamedev.net. You aren't asking a programming question, so I moved your post to the Game Design forum. Please browse the forums so your subsequent posts can be placed properly. Good luck with your project!

1,425 views
Advertisement

Often artists just draw mask layers, it's easier than programmers trying to match curves and complex shapes with complicated math. Stencil masks work great, and can slide into place easily. 

What you are doing can work, and for some designs and shapes is the easiest approach. It looks like you …

1,666 views

Creating an open-source game engine using JavaScript involves several key steps:

  • Plan the Engine Architecture – Define the core components: rendering (using WebGL or Canvas), physics, input handling, audio, and scripting.
  • Set Up the Development Environment – Use tools like Node.js, npm, and a code e…
  • 1,259 views
    Building a simple, lightweight, pure ECS in Javascript.
    Building a simple, pure, C-like ECS in JavaScript. For newbies to ECS; many tutorials out there are misleading when it comes to building an efficient and lightweight ECS.
    2,477 views

    @khawk I have tried your suggestions but they dont work. I still get the following error when i try to execute the command npm run build

     

    PS C:\Users\vivek\Learning\demo\platformer+game\platformer game> npm run build
    
    > [email protected] build
    > webpack --con…
    3,612 views
    September 02, 2024 05:07 PM

    Link to the demo: 
    https://maiu-online.io/

    Hello Adventurer,
    Since last post a lot changed, I even don't remember what write about. But better than writing is showing demo.
    Finally time has come to share my game prototype with outside world. There are a lot of to fix and improve but I believe current s…

    2,538 views
    June 27, 2024 08:43 PM

    Hello, Finally I finished work on first prototype of monsters AI module. Monsters have several states: IDLE, PATROL, DEAD, FLEEING, COMBAT. 

    Idle monsters are non active even when someone attack them. Patrolling ones are walking around and checking each 0.5s is they have someone to attack in a …

    8,967 views
    May 11, 2024 08:45 PM
    Simple third person controller with Three.js, OimoPhysics and JavaScript

    Demo on Glitch

    GitHub repository

    The camera follows the ship. The camera can be rotated around an object by holding down the left mouse button. The camera can be zoomed in and out using the mouse wheel. There is a cube on the stage that the ship cannot pass through, because there is a static collider…

    7,336 views
    April 05, 2024 10:42 AM

    ​Playground: https://plnkr.co/edit/BGNYcIJRiJXpd9N4?preview

    GitHub: https://github.com/8Observer8/how-to-set-up-box2dwasm-with-importmap-rollup-js

    glMatrix is just a bonus:

    index.html

    <!DOCTYPE html>
    
    <html lang="en">
    
    <head>
        <meta charset="utf-8">
        <meta name="viewpor…
    45,595 views
    July 24, 2023 02:11 PM
    Sprite in SFML style using FreeTexturePacker, pure WebGL 1.0, and JavaScript

    This example loads sprites from the FreeTexturePacker sprite sheet and uses a sprite in SFML style

    Playgrounds:

    4,310 views
    Part Two Creating a Game using Vite, BabylonJS, and TypeScript: The Game World and the Player
    The Core Element of Every Game The core element of every game is the player's character and how it feels to control. Having a clunky character can make a game feel more difficult than it needs to be, although this can also be a design choice. We'll start here and make a player that can move around using a basic Entity class and a World class to manage everything. Next, we'll add monsters to create a basic arcade game.
    11,220 views
    Part One Creating a Game using Vite, BabylonJS, and TypeScript: A Basic Scene with Objects
    If you need a fast, reliable, and lightweight way to create 3D browser games you've landed on the right post. With BabylonJS, a powerful 3D engine; Vite, one of the latest fast and lightweight build tools; and TypeScript, arguably a better version of JavaScript, we can create decent-sized WebGL games with realistic graphics, physics, skeletal animation, and post-processing effects just to name a few of the features. Let's get right into it!
    10,197 views
    khawk
    April 28, 2020 03:46 PM
    Phaser 3.23.0 Released - New Rope Game Object and more

    The Phaser community, the open source desktop and mobile HTML5 game framework, has released Phaser 3.23.0 to GitHub and npm. This release includes the new Rope Game Object, 100% JSDoc coverage for the entire API, and a list of improvements and new features as they progress to Phase 4.

    The new Rope G…

    5,288 views
    September 19, 2018 04:48 PM

    Game developers will be able to become pioneers in the development of decentralized games for the gambling industry using DAO.Casino protocol.

    On September 17, 2018, DAO.Casino is opening Sandbox for developers, independent teams and game development studios that choose to harness the power of the …

    5,526 views
    Advertisement