Jump to content

[Free Book] Infinite Jumper in Phaser 3 with Modern JavaScript


supertommy
 Share

Recommended Posts

Here's a free book for interested in getting started with modern JavaScript and Phaser 3.

You won't need to use NPM or set up any complex build tools. If you've been hesitant or unable to use modern JavaScript because of these web development configuration and tooling hurdles then this book might be perfect for you!

You'll just need Google Chrome and Visual Studio Studio.

Aside from being an easier way to start using modern JavaScript, the book also goes through creating an infinite jumper game like Doodle Jump.

You'll learn everything within the context of modern JavaScript best practices like splitting code into separate files and using the import/export module syntax for dependencies.

You can learn more and get the book here: https://ourcade.co/books/infinite-jumper-phaser3

Link to comment
Share on other sites

  • 7 months later...
On 4/21/2020 at 3:50 AM, tkohey_sad said:

Hello @supertommy

Is there any way to do Phaser 3 code obfuscation without setup NPM  and webpack.

My way(maybe stupid), combine all js files in one js file  and copy it to Online JavaScript Obfuscator Tool to obfuscate it. (e.g http://beautifytools.com/javascript-obfuscator.php)

 

Thanks

Hi @tkohey_sad! I do use npm but have recently encountered parceljs which requires little to none config. Just go to your project folder and do:

npm init -y
npm install -g parcel
parcel your/path/to/index.html

it will create a 'dist' folder, where it will bundle all your dependent .js files and serve to localhost.

I will create a small guide here in a few days: https://www.html5gamedevs.com/profile/38684-emarb/
Stay tuned!

Link to comment
Share on other sites

  • 1 month later...
On 12/21/2020 at 6:02 AM, emarb said:

Hi @tkohey_sad! I do use npm but have recently encountered parceljs which requires little to none config. Just go to your project folder and do:


npm init -y
npm install -g parcel
parcel your/path/to/index.html

it will create a 'dist' folder, where it will bundle all your dependent .js files and serve to localhost.

I will create a small guide here in a few days: https://www.html5gamedevs.com/profile/38684-emarb/
Stay tuned!

thanks for the advice

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...