0 votes

I am making a mobile game for my friends and I to play, but one of them has an iPhone, and nothing else. Normally, this wouldn't be a problem, except I don't have a Mac.

I have an Acer Laptop running Windows 10, and a Dell Optiplex 380 running Linux Mint 20.2 Cinnamon, and I don't really want to buy a Mac, because of how expensive they are, and would prefer to use my Dell Optiplex 380 to compile it.

Is there any way I can do that?

Thanks in advance.


Godot Engine Version: Godot Engine 3.3.3 (Steam)
Language Used: GDScript
OS: Linux Mint (Linux)
OS Version: 20.2 Cinnamon

Godot version Godot Engine 3.3.3 (Steam)
in Engine by (87 points)

1 Answer

+1 vote

You can export for mac through export templates. But how will you give it to your friend? Unlike Android, you cant install from third party source. You need a phone with developer account on it to test debug apps. Which brings cost for anual developer account.

Your best bet is web export. Host your html game on some free platform.

by (118 points)

Does NetworkedPlayerENet work for web export? I could do that, and I'm fine paying to publish it to the app store. I know you can't install apps from unknown sources on iOS, but I was just wondering if I just need to settle down and buy a Mac Mini or not.

ENet uses UDP sockets, which web browsers can't use as they can't send raw UDP packets for security reasons.

Instead, you have to use WebSocketMultiplayerPeer (easier to set up, higher latency) or WebRTCMultiplayer (difficult to set up, lower latency).

Well if its only for testing purposes I don't really think you need to own a mac. There are services which lets you test your applications and websites on different platforms through cloud. But since I haven't dabbled in those waters I can't say for sure how well they work. But you know at the end of the day it might just worth it to get a second hand mac.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.