• Content Count

  • Joined

  • Last visited

  • Days Won


SunOfABeach last won the day on September 10

SunOfABeach had the most liked content!

About SunOfABeach

  • Rank

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. If that's the case... I'm afraid I don't support your phone. 😛
  2. On my S5 using the standard builtin browser (Samsung Internet v7.4), it works. I transpile my ES6 to support the last 3 major versions of each browser, except IE. Are you running the latest version? I totally hear you. Most games I played ended with searching for those last single square ships, which is a total guessing game. It might be better to make two squares the smallest variant and introduce a 5 or 6 square carrier or something. It took me about two months to complete, spending 2-3h per day. I had to learn Node/Express,, Webpack and Bootstrap for this project, so that slowed things down a little.
  3. That ain't cool. Can you tell me what phone / browser you are using?
  4. I made a classic battleship game that you can play against others or an AI. To challenge myself, I did it without any game framework, not even canvas. Just raw HTML5 element manipulation. It's also fully responsive and mobile first. The code:
  5. Major Update I just released version 2 of the template, which is now based on Vue's new CLI 3. This means we get to use an excellent Webpack config that is maintained by the Vue CLI team, which I tweaked a little to make it play nice with Phaser. Additionally, we no longer have to modify any Webpack config directly if we want to make changes like adding a linter, router or vuex. Instead, we can add these things using Vue CLI 3's sleek plugin system. You can even use a GUI for that! Check out the docs.
  6. What's up kormilo. The GameDownloader component's job is to download the Phaser game asynchronously as soon as the Vue components have finished downloading and have been rendered for the first time (as opposed to downloading everything all at once). Doing it this way is just personal preference. It gives the visitor of the site visual feedback as soon as possible, for the price of a two-step download process and delayed game launch. You can read about the async component pattern in the official Vue docs.
  7. I created a Webpack template that sets up a Vue project with Phaser 3 integration. It's really minimal but can get people started. Feel free to hit me with suggestions. Cheers