3 ms·
Just to be clear, you’re talking about GUIs for applications rather than games?
by Q6T46nT668w6i3m 9y ago
Just to be clear, you’re talking about GUIs for applications rather than games?
- blueprint 9y agoNo, I have built and have had need to build all kinds of applications. And even games have 'views' and 'controls' within them.
- panopticon 9y agoI have seen very few games leverage native controls (with the exception of dialog boxes which are supported by almost every write-once framework), so I'd be curious to know your specific case for needing native controls in a game.
- blueprint 9y agoThen you miss the point of systems like Haxe.
- ZenoArrow 9y agoThe point of systems like Haxe is "write once, run anywhere". You don't need to mimic the standard OS interface style to do so, especially not with games (as it's more important that the style of the interface suits the game).
- blueprint 9y agoThat's great as long as you don't care about reusing your code. It's not just biz logic, services, utils, etc either, I'm talking about the fact that people put UIViews over SpriteKit games all the time and you can't rightly say that doesn't exist just because you get to downvote me.
- ZenoArrow 9y agoFirstly, I didn't downvote you. Secondly, I don't know what point you're trying to prove. The people that create frameworks for Haxe have their own priorities, if those priorities don't align with your own that doesn't mean they lack merit for those that use them. Haxe has been used to create a number of successful apps and games. Instead of just looking for weaknesses, try also looking for strengths, try understanding why developers are choosing to use it.
- deleted 9y ago[deleted]
- blueprint 9y agoI'm not sure why you responded if you didn't get my point then, but let's assume you're asking me in good faith. All I'm saying is that your premise of "write once, run anywhere" is still not true for everyone, everywhere. So I don't see why I have to accept it as if I'm being unfair to someone. I think it's not honest when people are not upfront about hidden limitations to their promises which are going to have material effects on the future. We ought not to sweep this problem under the rug when we have the chance to solve it. I don't buy that people have entirely their own priorities. We all need a solution to this problem, but who wants to dedicate their life to making "learn once write anywhere" an actual reality? Especially when the developers of top platforms "have their own priorities". Go ahead and call me esoteric but I guess I just prefer it if projects didn't overhype their capabilities when I'm supposed to be evaluating them for security- and business-sensitive contexts. :P
- ZenoArrow 9y ago> "I'm not sure why you responded if you didn't get my point then" For the sake of clarity. > "All I'm saying is that your premise of "write once, run anywhere" is still not true for everyone, everywhere. So I don't see why I have to accept it as if I'm being unfair to someone." Use of native UI widgets is not a prerequisite for "write once, run anywhere". Code runs just fine using custom UI widgets. From a styling point of view, native UI widgets are a nice-to-have option, but they're not a required feature.