4 ms·
He developed it in PhoneGap and didn't release the Android version? :( I've heard a full engine like Unity is a lot better for designing games across mobile pl
by djsumdog 10y ago
He developed it in PhoneGap and didn't release the Android version? :(
I've heard a full engine like Unity is a lot better for designing games across mobile platforms. I've heard cross platform mobile development is a pain, but if you're going to do it, use the right too for the job. Don't develop a shopping app in a game engine and don't try to implement a game engine in something meant for a shopping app.
- kennu 10y agoPersonally, after playing around with all kinds of game engines and frameworks, I always go back to Unity. It has a lot of warts and issues, but for me it's the most productive way to focus on actually creating games.
- Tobias42 10y agoHave you tried SpriteKit? I chose SpriteKit with Swift for my first game and like it quite a lot, but I keep wondering if it was a good choice to limit myself to iOS. What I'm interested in mostly is if I at least got a significant performance gain from chosing SpriteKit over Unity.
- morbidhawk 10y agoI'm not sure about the performance differences, but there was a different reason that kept me away from switching to Unity. I've built a couple games in SpriteKit doing it entirely programmatically in code and realized Unity is not setup to work that way at all. If you have experience using SpriteKit Scene Editor then you might not be bothered by that, but I was. Instead of Unity I'm using MonoGame now since it is meant to build the game using just code and I find it was a lot easier to jump into using my existing knowledge from SpriteKit
- AlexeyBrin 10y agoTry Cocos2d-x which is a multiplatform C++ implementation of the old Cocos2d-iPhone, SpriteKit was, at least partially, inspired from Cocos2d-iPhone.
- wslh 10y agoThe same author is working in Cocos2d-x and Cocos2d-iPhone, although Cocos2d-x is not owned by him.
- AlexeyBrin 10y agoThe same author is working in Cocos2d-x and Cocos2d-iPhone That was in the past, AFAIK Ricardo works only on Cocos2d-x now. Cocos2d-iPhone is community driven now.
- TillE 10y agoThis is good advice. From the article: > So I added a few more entities to the world. Suddenly, it was running at around 30 FPS. Yikes. If your framework can't do simple OpenGL draw call batching, it's unsuitable for games. I'm not a huge fan of Unity (though it'll be a lot better when their version of C# is finally updated), but it's probably the best thing available for cross-platform game development.
- bayonetz 10y agoThis is worth repeating; use the right tool for the job. Phone gap is actually pretty great for the scenario where you need a simpler info screen app to be cross platform from day one. I made a personal app that way and it worked out great. The author sort of conflates Phonegap being bad for games for Phonegap being bad for apps in general. I think a lot of smaller companies would be better of going the hybrid route for things like food ordering or boutique shopping, etc. but there is this serious bias against it that I think 9 out of 10 times is more tribal/religious than for actual technical limitations.
- rudedogg 10y ago> there is this serious bias against it that I think 9 out of 10 times is more tribal/religious than for actual technical limitations I always feel like it's the opposite. People who haven't tried it themselves will say to use Cordova for everything, but once you start you notice the performance issues right away. It's frustrating because a lot of freelance jobs I see are asking for Cordova experts, and it's pretty obvious they're going to end up with a shitty app. But, no one is going to tell them that. They'll spend all their money getting a Cordova app made, and then look for a native developer when they realize how bad it is and have no money left. For background, I was learning JS development, and was really excited about Cordova. I thought Moore's law had finally put web based mobile apps (mostly) on par with native. But it's just not true, and I don't think it will be for a long time. I wish people would be more honest in their documentation about the limitations of things.
- wingworks 10y agoAgreed, when I first heard about PhoneGap it sounded amazing, then I tried and the performance hit is just too great, even for simple apps. Maybe in the future it'll be better, but not yet.
- ahmetkun 10y agoThis is what people have been telling since 2010. In the future with faster phones the difference will be negligible or something along these lines.
- codinghorror 10y agoThe problem is that JS perf is so much worse on Android, and adding insult to injury, the single threaded perf of the very fastest Android devices are less than half an iPhone 7. Worse still, Apple devices get upgraded aggressively, whereas Android devices don't, so the long tail of very old very slow devices (mobile devices age in dog years) is enormous. Sad but true.