James Hancock
asked on
IS React Native the best/ only graphics solution for io games?
Hi
I was advised to use React Native for the graphics aspect of my io game.
I'm getting it up. Is that the only option, say if I wanted to do checkers, or chess, or Mario Bros, Dig Dug?
Thanks
I was advised to use React Native for the graphics aspect of my io game.
I'm getting it up. Is that the only option, say if I wanted to do checkers, or chess, or Mario Bros, Dig Dug?
Thanks
ASKER
Thanks
So, basically, it's React Native, or nothing in JavaScript games?
So, basically, it's React Native, or nothing in JavaScript games?
ASKER
What do u think of this dude's video series here about using pure Javascript for graphics?
It looks pretty solid to me.
Will this transfer to a phone?
here
Thanks
It looks pretty solid to me.
Will this transfer to a phone?
here
Thanks
You can also create a Javascript game with hybrid apps.
In any case, to install the game on a phone / mobile device you need to make it use one of the following technology (create an apps using hybrid, React Native or Native method)
and you need to meet Goolge Play and Apple requirements (plus pay some fees $) to be able to publish your game.
So you can use Cordova, Ionic,Phone gap etc... but you won't be able to use all native features, compare with React Native which is considered a Native apps.
Here are my research to compare each option for apps that can be applied to game apps
Hybride Cordova, Ionic and PhoneGap
Pros:
High development speed
Coded in web development technologies (HTML, CSS, Javascript)
UX is close to a native experience using UI elements that mimic native app behavior
Access to the smartphone’s hardware API, facilitating device functionality (camera, push notifications, geolocation,...)
Cons:
The more complex the application, the slower it works
Doesn’t work offline
Animations are difficult to implement
React Native (Instagram Facebook Skype Airbnb)
Pros:
High development speed for the React-based apps
Web application built with React.js can be easily converted to a React Native mobile app, and some source code can be reused
Native user experience
Application looks and feels like a native mobile app for a specific platform
Reduces development costs
Experts in React Native can usually build both Android and iOS apps
Cons:
Relatively new technology
Limited with visual design
Not ideal for complex projects that require a high load
Native IOS / Android
iOS : Objective-C or Swift
Android : Java or Kotlin
Pros:
Many modules and libraries available
Good performance and great user experience on all mobile platforms
Enables app to access all device hardware allowed by the manufacturer
Can work offline and store data locally on the device
Cons:
Higher costs compared to hybrid app development
Different technology stacks for different platforms
In any case, to install the game on a phone / mobile device you need to make it use one of the following technology (create an apps using hybrid, React Native or Native method)
and you need to meet Goolge Play and Apple requirements (plus pay some fees $) to be able to publish your game.
So you can use Cordova, Ionic,Phone gap etc... but you won't be able to use all native features, compare with React Native which is considered a Native apps.
Here are my research to compare each option for apps that can be applied to game apps
Hybride Cordova, Ionic and PhoneGap
Pros:
High development speed
Coded in web development technologies (HTML, CSS, Javascript)
UX is close to a native experience using UI elements that mimic native app behavior
Access to the smartphone’s hardware API, facilitating device functionality (camera, push notifications, geolocation,...)
Cons:
The more complex the application, the slower it works
Doesn’t work offline
Animations are difficult to implement
React Native (Instagram Facebook Skype Airbnb)
Pros:
High development speed for the React-based apps
Web application built with React.js can be easily converted to a React Native mobile app, and some source code can be reused
Native user experience
Application looks and feels like a native mobile app for a specific platform
Reduces development costs
Experts in React Native can usually build both Android and iOS apps
Cons:
Relatively new technology
Limited with visual design
Not ideal for complex projects that require a high load
Native IOS / Android
iOS : Objective-C or Swift
Android : Java or Kotlin
Pros:
Many modules and libraries available
Good performance and great user experience on all mobile platforms
Enables app to access all device hardware allowed by the manufacturer
Can work offline and store data locally on the device
Cons:
Higher costs compared to hybrid app development
Different technology stacks for different platforms
ASKER
Thanks
I'm pretty sure my current Javascript game would not be a problem for any device. It will use the primitive Javascript drawing techniques of that YT vid above.
DO you foresee any issues using JS for relatively simple games?
I'm pretty sure my current Javascript game would not be a problem for any device. It will use the primitive Javascript drawing techniques of that YT vid above.
DO you foresee any issues using JS for relatively simple games?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks
you are not limited, you can do what you want.
https://github.com/bberak/react-native-game-engine
You can try to clone an existing game to learn how it's work
https://github.com/bberak/react-native-donkey-kong
To my opinion this is the best and fastest way as you only need to code once and you get the native code...
Like any new language it have some learning curve...