Jump to content

Packaging a game for iOS/Android


Jordan Davis
 Share

Recommended Posts

I had a couple questions about packaging files to make the push to Mobile Operating Systems.

 

When I am coding with Phaser, I use Dreamweaver, and I code on the html5 that starts like this: <!doctype html> 

<html lang="en"> 
<head> 
<meta charset="UTF-8" />
<title>Phaser - Making your first game, part 1</title>
<script type="text/javascript" src="js/phaser.min.js"></script>
    <style type="text/css">
        body {
            margin: 0;
        }
    </style>
</head>
<body>
 
<script type="text/javascript">
 
var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create, update: update });
 
function preload() {
}
 
function create() {
}
 
function update() {
}
 
</script>
 
</body>
</html>
 
Then I have the phaser.min.js file present, too. All changes and coding I do is reflected in the Live area.  So when packaging, Is it as simple as inserting the .html and phaser.min.js files to be outputted? 
 
Thanks | Jordan
 
 
 
 
 
 
Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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