JavaScript
--
Questions
--
Followers
Top Experts
Hi
My Phaser game is coding itself nicely. I predict that I will be fully back where I was in Unity by Thursday evening. (i.e. basically finished)
I may as well ask now, and do a rehearsal on how I can get it into a device app. I have made it be the dimensions of my iPhone XR screen.
What is my first move? download a cordova suite? where is that? which one?
Thanks
Zero AI Policy
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
According to the Getting Started page, let's assume you use VScode as your "IDE". You could simply connect vscode to an iOS emulator or check out this article for a cloud-based device to test your game.
Hi
Thanks
Just when I've started my 3rd stab at this project. Unity and iOS before now, now being Phaser, - This page seems to suggest that Phaser is being kicked to the curb?
That would truly be a brick wall for me. My coding is flying ahead. Is JavaScript still a good solution for me? Will my HTML Phaser version be supported for long?
Devices are the in thing for gaming now, according to some dude I read?
Does that mean device specific game-apps, or website visit games? I assume it's apps.
Will Phaser still be my choice?
Scott F told me that part of game dev is accepting that technologies change and update continuously.
As long as I have all my logic settled, keeping up with this reality is just business as usual.
I wont take me much longer to finish this Phaser version. I'll leave it at that! for now
Thanks






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
This is really beyond what I have worked on recently.
Some of that documentation suggests using a webview for ios. This makes a simple native app that loads your game from your website.
https://developer.apple.com/documentation/webkit/wkwebview
https://www.gamedeveloper.com/programming/phaser-to-ios-without-phonegap-or-cordova---first-steps
I know that the last article suggests some drawbacks, but if your game is simple, a webview sounds easy. Plus you can keep track of everything on your own server.
Another good reason for this option is you can also do a webview for Android https://developer.android.com/reference/android/webkit/WebView with just a few lines of code.
A pure native app will probably always be better. But that means creating a different app for each device. Putting your game on a web server and loading it in a webview in android, ios and the browser will all use the same source files. If the game becomes a big hit and you can hire a team and expand to native.
Thanks
Are games at .io domains still a thing? or is native the way to go?
.io is just a tld It does seem to be used by games and tech companies. But you can have it on whatever you like.

Get a FREE t-shirt when you ask your first question.
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
Thanks
I looked through the Phaser outlines. Totally straightforward. I doubt it will take me longer than 15 or 20 minutes to be fully back where I was in Unity, in JavaScript.
I can then assess if I want to go native, or the other methods. Some of this is easier in Javascript than C#, IMHO, garbage collection, others
Are there any red flag problems devs make finishing up Phaser javascript projects that I haven't anticipated?
JavaScript
--
Questions
--
Followers
Top Experts
JavaScript is a dynamic, object-based language commonly used for client-side scripting in web browsers. Recently, server side JavaScript frameworks have also emerged. JavaScript runs on nearly every operating system and in almost every mainstream web browser.
Create your account and start contributing!