Hi guys,
I’m responsible for a game development and I decided to go for cross-platform and use Corona or Cocos2d-x.
I have a 2D game in early development which basically compares 2 streams of data. The game does not require high graphic performance it would be pretty much static with only some pop-up bubbles, but it would need to handle a continuous data stream.
- Phone is connected to hotspot.
- Hotspot is sending data to your phone - Let’s say amount of g-force, acceleration, braking activation, gear shifting etc. all in real time.
- You have a visual contact with everything what’s happening.
- With your smartphone/tablet you are trying to reproduce all the actions mention above (tilting, hitting brake buttons, shifting gears etc.)
- Game compares these actions and gives you additional points when you are succesfull and precise.
- Idea is very close to Guitar Hero - More precise you are, more points you get.
My questions:
- Is it possible to develop game like this in Corona/Cocos2d-x?
- Would the performance be enough to handle and compare both Wi-Fi data and Mobile sensors data?
- Consider: Is cross-platform better for this than native?
- Data flow:
Average - 30/90 (up/down) kbit/s
Peak - 40/120 kbit/s
Worst case - 100/300 kbit/s
Many thanks,
David Z.