Before we can start creating our games, we need to have a web server we can use. The reason for this is internet security. So you can start loading images and assets that your games require if you're working with a local file system, because your browser isn't allowed to work with the local file system at all. So it's essential that you have a web server to use. That could be a remote one, but it's it's very easy. If it's all on your local machine.
There are lots of ways you can do it. So the simplest I find is web server for Chrome. So if you do a search for that, you'll find when you go to you need to be in Chrome. You find it on webstore. And you'll come to the web server for Chrome install it And then once you've installed it, you can launch it. Firstly, you need to choose a folder.
So wherever your files are going to be, put them in that. That's where you want you choose chosen folder to be. For me, I selected this folder. And the game that we're going to be developing is this one called Lost Treasure, which I've got a variety of different versions of it, we couldn't be working our way through. And then you can start to see it. It'll open in your default browser.
So in my instance, I'm working on a market Safari. And if I go to the folder where the game is straight away we have the game working in progress. couldn't be simpler. So now we have the facility to view something via web server for Chrome. There we have the game. Home name from the file system chose to the folder.
But uh, but no complaints from the browser, because it's deal is dealing with all the content via an HTTP server. And now it's running from local host local host is usually one to seven dot zero dot zero dot one. And this is working from a particular port on that, which in this instance is 8887. couldn't be simpler.