Almost done with my first game ever, quick questions about unity

After many months i’m nearly done with my game, at the moment it’s WebGL build and i want to have it for mobile as well , so just have some questions out of curiosity…

-Do i need to create seperate projects for each platforum (ex: webGL, android, Iphone)
-Do i need to credit all the asset owners i downloaded from asset store?
-How hard is it to change a small game platform from PC to mobile? what things that need to be changed when doing so (aside from controls ofc from keyboard to touch)
-silly question, but can i make Non-Game apps with unity??
-do unity ads work fine in WebGL games?

No. If you have platform-specific code, the best thing to do is have a separate class you call that determines the right platform-specific functions to call. In that class, you’ll do checks to see what platform they’re on and respond appropriately. The rest of your game code just calls the abstraction class the same either way.

No.

It really depends on the game and what you’ve done. A simple game may be fairly easy to port, where a more complex one feels almost impossible. And if you’ve used platform specific functions (like code that requires Direct X or something) then you may have to refactor portions. Generally, though, I would think a game that runs in WebGL should be a fairly easy port to mobile.

Sure. But it’s not optimal. Games run on a loop (executing code constantly) where most non-game apps are more event-based. So your non-game app made with Unity will be less power efficient than the same application made using the proper tools. You’ll also have to create all the UI yourself, where other tools give you access to native UI components to make your life easier.

Not according to this page.

2 Likes