Coder Social home page Coder Social logo

shg42 / star_catcher Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 5.45 MB

Quick, simple Phaser 3 project from a junior dev's attempts at learning the Phaser basics.

JavaScript 88.97% EJS 5.94% CSS 0.57% HTML 4.53%
phaser3 javascript-game phaser junior-developer self-taught nodejs

star_catcher's Introduction

star_catcher

Local Install Instructions:

  • Run npm install
  • Run npm start

A simple, fun exercise I did to get accustomed to Phaser and expand my capabilities with the framework. This was my first "solo" attempt at a Phaser 3 project (that is, not following along with a tutorial's source code), as well as my first experiment with using the Tiled map editor. The challenge I gave myself in this project: to have the stars spawn at random coordinates... but only where they wouldn't be overlapping the platforms. To resolve this, I turned to the Phaser community for help, at the Phaser Discourse group. With their guidance, I arrived at the solution of filtering empty tiles on the collision layer and spawning each star at the coordinates of a randomly selected tile from the array of empties.

Check it out on Heroku

star_catcher's People

Contributors

shg42 avatar

Watchers

 avatar

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.