GC every frame? Jesus. Gamedevs jump though hoops to avoid it.
Your other choices are: - Never GC via using object pools. This code is nastier than C++ because Java is not intended to be used this way. - GC whenever needed randomly. The game will just pause occasionally. Very annoying as a player. - Write the actual game in C++. Make a few JNI calls here and there. On feature phones I only remember this being possible for some vendor apps.
Before the iPhone, I worked on a few games for what were called "feature phones"
251–260 of 407 posts
Re: Before the iPhone, I worked on a few games for what were called "feature phones"
#252Earlier quoted context omitted.
Probably added after profiling on that system found that the GC pauses would fit within frame budget, whereas not running it every frame would have a long pause eventually drop frames
This! If you GC every frame, you can almost guarantee that it runs fast enough to not cause a frame skip.
Re: Before the iPhone, I worked on a few games for what were called "feature phones"
#253I worked on a J2ME app that needed to access location on phones without GPS, I was in touch with the operator and got a list of cell ids with lat, lon. With that I created a daemon in Symbian that would query the cell id and open up a socket server to give it to the J2ME app. With that we developed an app to request a taxi service, but none of the taxi companies wanted it. Some of the complaints were: 1. GPRS data pl…
Re: Before the iPhone, I worked on a few games for what were called "feature phones"
#254Earlier quoted context omitted.
> 3. Looking at a screen on the windshield while driving was never going to be approved by authorities. The solution to that seems so obvious: make the phone speak to the driver instead. Was turn-by-turn navigation not feasible back then? Or what else am I missing?
This is me guessing: This sounds like before turn-by-turn navigation was possible. If they had to approximate location via a set list of cell ids, then that doesn't give very precise location data. Also, back then, I am guessing, there where not as good map data available, especially not that would fit in a phone. I would also think that this was before synthesised speech was really possible to do on a phone. The wor…
Re: Before the iPhone, I worked on a few games for what were called "feature phones"
#255I worked on a J2ME app that needed to access location on phones without GPS, I was in touch with the operator and got a list of cell ids with lat, lon. With that I created a daemon in Symbian that would query the cell id and open up a socket server to give it to the J2ME app. With that we developed an app to request a taxi service, but none of the taxi companies wanted it. Some of the complaints were: 1. GPRS data pl…
Why not just make the entire app native in Symbian if you require it anyway? Or did the Symbian SDK suck even more than I remember?
Re: Before the iPhone, I worked on a few games for what were called "feature phones"
#256Earlier quoted context omitted.
We have "been blessed" with OEM deviations from AOSP (we have a big number of clients and most of them are using Android because of regional characteristics), but still we have way more issues with customers using out-dated iOS versions than users on those devices. For comparison, we have way more iOS issues than Android ones, even if Android is the vast majority of our user base (~70% of our customers). Anyway, even…
- Bluetooth issues - Camera is hit and miss, even after the renewed API - Apps randomly killed on the background - Intents that don't launch as expected - NDK debugging that cannot attach to the server running on the device - Unstable GPGPU drivers - Keyboard handling - Perfectly working code that needs to be rewritten just because Yeah so much better than J2ME.
> - Perfectly working code that needs to be rewritten just because
This issue is much more frequently on iOS than Android, since iOS deprecates features much faster and there is no compatibility layer between versions.
Re: Before the iPhone, I worked on a few games for what were called "feature phones"
#257Earlier quoted context omitted.
My very first industry job was making J2ME games and oh my god does it still give me nightmares.
If you miss it, just try Android, contrary to Google arguments against J2ME, the fragmentation experience is kept unchanged.
Re: Before the iPhone, I worked on a few games for what were called "feature phones"
#258Earlier quoted context omitted.
Well, they stopped doing it, so perhaps not.
They don't offer emulated games as standalone purchases anymore (and, frankly, the idea that they charged repeatedly for games is insane to me) -- instead, now it's tied to the Switch Online subscription service.
Re: Before the iPhone, I worked on a few games for what were called "feature phones"
#259Earlier quoted context omitted.
Especially with respect to Bluetooth quirks. Every single phone has a different set of bugs in its bluetooth components, and none of those sets are remotely empty. In the end, we decided we could only afford to support the 5 most popular models of the day and if you don't have that phone, then too bad for you.
That one doesn't seem like purely on Android. I've never seen a device without Bluetooth bugs. The protocol is so complicated and implementation relies so much on chips that never get fixes that I'm surprised it works anywhere.
Re: Before the iPhone, I worked on a few games for what were called "feature phones"
#260Earlier quoted context omitted.
This is me guessing: This sounds like before turn-by-turn navigation was possible. If they had to approximate location via a set list of cell ids, then that doesn't give very precise location data. Also, back then, I am guessing, there where not as good map data available, especially not that would fit in a phone. I would also think that this was before synthesised speech was really possible to do on a phone. The wor…
GPS navigation is 90s tech, though. I had garmin barking turns at me in the early 2000s same as siri today. In fact usually better reception than my cell phone if it was a clear day, since cell coverage is still terrible where you really need need it out in the boonies where gas stations are miles and miles apart.