5 ms·
Without mentioning which platform(s) I prefer, I have to agree with the author. On one hand, it's nice to be able to work cross-platform, and architecting your
by ryandrake 10y ago
Without mentioning which platform(s) I prefer, I have to agree with the author. On one hand, it's nice to be able to work cross-platform, and architecting your app such that you maximize code sharing is a worthy and satisfying goal. But quite a bit of code (the UI mainly) cannot be shared and it's kind of tiring to finish your Platform A app, look at it with pride, and then face the need to essentially re-write the exact same thing for Platforms B and C, only in different languages and frameworks "because platform competition". You're splitting your attention, expertise, time, and learning N-ways.
- mentos 10y agoAs a once iOS and Android Dev (before moving to game dev in UE4) I found the act of having to rewrite an app again on another platform a great way to refactor the code and do things better the second time around. If I had to go back though I'd probably try to find a way to do things once on the web, is React Native this?
- rhizome 10y agoI don't get it. How can there then be all of these weekend tossoff games in the Play Store that work just fine? Unless I'm unclear on what you mean by "platform."
- seibelj 10y agoAn app that uses native UI widgets is very different from a game which uses a graphics engine. The game compiles cross-platform with minimal changes.
- praneshp 10y agoCan you point me to a good resource for "a game which uses a graphics engine". Last week, I built both an android app and an iOS app, and would like to build something that compiles cross-platform to complete the set.
- TylerE 10y agoI would assume he is talking about something like Unity.
- striking 10y agoOr Godot, or Love2D, or many other open source game engines with both desktop and mobile functionality.
- seibelj 10y agoUnity is one example, another would be libGDX[0]. A game engine will give you a blank window, like an OpenGL context, which you draw raw onto. Any decent graphics library will provide useful functions for drawing 2D and 3D graphics, updating the screen, handling input, etc. to make using it easier. Making a typical UI application means reusing lots of widgets provided by the OS, like buttons and sliders, to keep things consistent and make development much faster. If you tried to build a normal UI app inside a graphics engine, you could do it, but you would have to build all widgets from scratch and it wouldn't look like a native UI app. [0] https://libgdx.badlogicgames.com/ https://libgdx.badlogicgames.com/
- rhizome 10y agoSure, but I think I'm still unclear on "platform" here. Does it mean "Android" and "iOS" (et al), or does each of those have multiple platforms within them?