In this series of lessons, we are going to code our first HTML5 / Javascript game, using the Phaser library.
In the first lesson we learned to import the Phaser library and set up the dimensions of our level. We also explained the three main functions that will make up our game.
In this lesson, to start off we will load some images into the game, and give them each a name for future referral. We then insert each image as sprites onto our level as either a tiled background or as a player sprite to specified coordinates.
The source code for this lesson (and subsequent lessons as they are uploaded) can be viewed on Github at:
https://github.com/Bulletproofmonk/PhaserGameTutorial
Link to previous lessons:
For more tutorials by the Magic Monk, visit http://magicmonk.org
1000+ Tutorial Videos
9+ Million Views
20,000+ Subscribers
Posted on Utopian.io - Rewarding Open Source Contributors
Hey @magicmonk I am @utopian-io. I have just upvoted you!
Achievements
Community-Driven Witness!
I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!
Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thank you so much!!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thank you for the contribution. It has been approved.
You can contact us on Discord.
[utopian-moderator]
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thank you so much @drigweeu. Much appreciated.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Alright I'm following, I used to use Phaser and things went well but they could've been better. I think the reason I stopped was horrendous frame rates even though I barely used any resources. Would be nice to jump back in, so keep posting these :D
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thank you so much @atherz. I've seen some pretty intense games made with Phaser, so it might have been something that could be fixed. Cheers.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
@magicmonk,我想加入teamaustralia,怎么弄?望指点
我在悉尼,哈哈
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
hi @bobdos. If you read this article, it will tell you the exact instructions for joining.
https://steemit.com/teamaustralia/@choogirl/team-australia-new-recruits-update-19-12-17-and-the-brisbane-meet-up-30-december-2017
Search for: "The rules for joining Team Australia
If you’re not yet a member and want to be, this is what you need to do:"
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
thanks a lot!!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Wow amazing video. Very informative! :)
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thank you so much @sweetcarol.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Good friend
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
thanks bro
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Interesting work. resteemed 😬
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
thanks mate
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit