ionic framework - integrate real-time a/v chat into construct 2 game or embed construct 2 into app -
i incorporate quickblox or twilio webrtc chat , a/v calling same angular apps running on web page or inside cordova/crosswalk app, construct 2 game. have audio/video chat running during game play.
can embed construct 2 games ionic view or simple dom element , render video chat on it? or, should integrating webrtc chat sessions construct 2? or can display both canvases in same page?
thanks in advance.
junior, here's answer twilio video team.
we aren’t investing time in cordova/crosswalk right now, although customers have been asking on our github project (https://github.com/twilio/twilio-video.js/issues/85).
twilio-video.js can integrated angular app today. have minimal framework test in our github project showing how set (https://github.com/twilio/twilio-video.js/tree/master/test/framework/twilio-video-angular). isn't full-fledged application; instead, it's meant ensure retain compatibility angular develop twilio-video.js. might nice if had more full-fledge angular quickstart application in future, gets difficult support , maintain various different front-end frameworks (angular, react, ember, meteor, vue, etc.).
i don’t know construct 2, although looks commercial game engine built on javascript/html5.
can embed construct 2 games ionic view or simple dom element , render video chat on it?
yes, work.
or, should integrating webrtc chat sessions construct 2?
this might work, too, assuming construct 2 allows arbitrary javascript inside game engine.
or can display both canvases in same page?
yes, work.
the technique used depend on how interaction between game , video chat needs take place. example, if lifecycle of video chat should correspond in way in-game elements, should created within construct 2. if video chat serves more commentary on game, separate gameplay mechanics, either overlaid or alongside in same page should work.
Comments
Post a Comment