mrengy Posted December 4, 2016 Share Posted December 4, 2016 I've followed http://melonjs.github.io/tutorial-platformer/#part9 , and now I am seeing the white fade-in when the game first loads, but it's loading directly to level 1 - the title screen doesn't load at all. No errors in the console. Demo at https://mrengy.github.io/pesky-squirrels/boilerplate-master/ Code at https://github.com/mrengy/pesky-squirrels/tree/4ad5a4863bca515811b277ea7143535f7a1404e2/boilerplate-master Melon JS v3.1.0Mac OS 10.11.3Chrome Version 54.0.2840.98 (64-bit) Quote Link to comment Share on other sites More sharing options...
agmcleod Posted December 4, 2016 Share Posted December 4, 2016 Hi there! You can change this line here: https://github.com/mrengy/pesky-squirrels/blob/4ad5a4863bca515811b277ea7143535f7a1404e2/boilerplate-master/js/game.js#L59 to do: me.state.change(me.state.MENU); That will load the menu screen :). Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.