When we create a new project we have the options to start from an empty project, mobile game or desktop game template.
It does say that they contain useful settings and assets for your target platform, but I am curious, what are the exact differences between the templates?
1 Like
The mobile template consists of:
- Launch images and app icons (all launch images must be present on iOS unless iOS reverts to a compatibility mode and renders with black areas above and below the game)
- Reasonable portrait mode aspect ratio (640x1136)
- Accelerometer events are disabled (drains battery if enabled and not many games actually need it)
- Mouse/single touch trigger in input bindings (left mouse trigger will on mobile automatically also detect single touch)
The Desktop template contains the following changes from an empty project:
- Landscape mode aspect ratio (1280x72)
- Left mouse button binding
- App icons
So, as you can see, it’s only minor changes really. We debated if we should add more things, but decided against it. The templates should be really bare bones. If you want something more then it’s better to start from one of the sample games.
2 Likes
Thanks britzl. I didn’t want any extra features or anything. I prefer working from a blank template and didnt want to go anywhere near the other templates since I had no idea whay they even actually did
Now that I know the specifics I won’t shy away from them to save time if I need those settings anyways.
Tried to find documentation before asking here but couldnt find it. Maybe it’s worth adding somewhere to clarify the specifics for other users unless it was already clarified somewhere and I just missed it.
1 Like
Good point. I’ll see if we can improve on the template descriptions.
1 Like
There is a readme in each template. Check them out here:
1 Like
I didn’t think to check on git, thanks. I was looking through “Learn” section of the website for specifics on the templates.
Yes, the github projects are not linked to from anywhere on the site so they are not easy to find. We’ll see if there’s a good way to make this clearer.
2 Likes