SlideShare a Scribd company logo
12/1/2016 Multiplayer Game With Unity3D And Meteor
https://blog.designveloper.com/2016/10/11/unity3d­and­meteor­game/ 1/6

Multiplayer Game With Unity3D And
Meteor
FYI: This is one of two topics of our 4th Meteor Meetup, take place on 17th September, 2016.
The author is Huy Trinh , a young talent member of Designveloper
(https://www.designveloper.com/).
Those who were not able to attend our 4th Meteor Ho Chi Minh meetup
(https://blog.designveloper.com/2016/09/19/4th-meteor-meetup-review/) at September 17th could
nd all about Multiplayer Game with Unity3D and Meteor – one of the main topics of the meetup – in
this blog.
Before digging into every facet of this post, you are required to have a fairly good background of
Meteor and Unity3D.
What is Unity3D?
Unity is a cross-platform game engine developed by Unity Technologies and used to develop video
games for PC, consoles, mobile devices and websites. First announced only for OS X, at Apple’s
Worldwide Developers Conference in 2005, it has since been extended to target 24 platforms.
M E T E O R ( H T T P S : / / B L O G . D E S I G N V E L O P E R . C O M / C A T E G O R Y / M E T E O R / )
B y Va n D o ( h t t p s : // b l o g . d e s i g n v e l o p e r. c o m / a u t h o r / v a n d o / ) o n O c t o b e r 1 1 , 2 0 1 6

12/1/2016 Multiplayer Game With Unity3D And Meteor
https://blog.designveloper.com/2016/10/11/unity3d­and­meteor­game/ 2/6
What is Meteor JS?
Meteor is a full-stack JavaScript platform for developing modern web and mobile applications. Meteor
includes a key set of technologies for building connected-client reactive applications, a build tool, and
a curated set of packages from the Node.js and general JavaScript community.
If you are a Meteor-novice, no worries! You can discover more about this full-stack JavaScript platform
for developing single-page, real time web and mobile apps at Meteor.com (https://www.meteor.com/)
Why we should use Meteor with Unity3D?
When using Meteor, launching a MVP in 3-4 weeks can be a reality. With JavaScript on back-end, plus
smart packages, Meteor allows you to develop faster. You don’t need to have experience about
implement TCP/IP, UDP or pure Socket for a Gaming Server. With collection and method we can easily
implement Gaming Network Architecture like Latency Compensation, Client Prediction, Server
Reconciling and other technique.
How to connect MeteorJS with Unity3D
A team in Los Angeles have developed a plugin that make a bridge between Unity3D and MeteorJS
through Websocket and DDP. You can nd it here https://github.com/hiddenswitch/Meteor-Unity
(https://github.com/hiddenswitch/Meteor-Unity). By using this plugin we can use almost Meteor API
such as: login, method, collection, publish/subscription. The plugin is great in general but one thing, it
hasn’t supported WebGL for Unity3D yet.
M o b ile
You can watch how to setup and connect step by step here: https://github.com/hiddenswitch/Meteor-
Unity (https://github.com/hiddenswitch/Meteor-Unity)
WebGL
You cannot use hiddenswitch plugin with Unity3d WebGL now. But we can use other way to interact it.
Unity3d WebGL support 2 API that help calling from inside WebGL container to javascripton page
outside and reserve.
To call methods on GameObjects in your content from browser JavaScript, you can use the
following code:
SendMessage ('MyGameObject', 'MyFunction', 'foobar');
Read more here: https://docs.unity3d.com/Manual/webgl-interactingwithbrowserscripting.html
(https://docs.unity3d.com/Manual/webgl-interactingwithbrowserscripting.html)
To calls a function in the web page that contains the WebGL Player.
Application.ExternalCall
ExternalCall calls functionName in the web page containing the WebGL player, passing the given
arguments to it. Supported argument types are the primitive types (string, int, oat, string) and arrays
of such types. Any other objects are converted to string using ToString and passed as strings.

12/1/2016 Multiplayer Game With Unity3D And Meteor
https://blog.designveloper.com/2016/10/11/unity3d­and­meteor­game/ 3/6
For a deeper understanding, you can read here:
https://docs.unity3d.com/ScriptReference/Application.ExternalCall.html
(https://docs.unity3d.com/ScriptReference/Application.ExternalCall.html)
So, did you nd some great information of your own in this blog? Do you have any questions? Let me
know in the comments and we can discuss about it!
(https://www.facebook.com/sharer/sharer.php?
u=https%3A%2F%2Fblog.designveloper.com%2F2016%2F10%2F11%2Funity3d-
and-
meteor-
game%2F)

(http://twitter.com/intent/tweet?
source=Designveloper
Software
agency
-
Meteor
prime
partner&text=https%3A%2F%2Fblog.designveloper.com%2F2016%2F10%2F11%2Funity3d-
and-
meteor-
game%2F)

(https://plus.google.com/share?
url=https%3A%2F%2Fblog.designveloper.com%2F2016%2F10%2F11%2Funity3d-
and-
meteor-
game%2F)

(http://www.linkedin.com/shareArticle?
mini=true&url=https%3A%2F%2Fblog.designveloper.com%2F2016%2F10
and-
meteor-
game%2F&title=Multiplayer%20Game%20With%20Unity3D%20And%20Meteor&
Software
agency
-
Meteor
prime
partner)

(http://www.tumblr.com/share/link?
url=https%3A%2F%2Fblog.designveloper.com%2F2016%2F10
and-
meteor-
game%2F&name=Multiplayer%20Game%20With%20Unity3D%20And

Meteor js
 multiplayer game
 unity3D

 3 Things Make A Single-Page Website Stunning (https://blog.designveloper.com/2016/10/05/tips-for-single-
page-sites/)
 (https://blog.designveloper.com)
Reasons Why Visitors Leave Your Website In 10 Seconds 
(https://blog.designveloper.com/2016/10/13/reasons-for-leaving-a-website/)
Y O U M AY A L S O L I K E


More Related Content

Viewers also liked

J.Raman RESUME - Accounting Administrator NEW REVISED June 27
J.Raman RESUME - Accounting Administrator NEW REVISED June 27J.Raman RESUME - Accounting Administrator NEW REVISED June 27
J.Raman RESUME - Accounting Administrator NEW REVISED June 27
Julie Raman,PCP
 
METODOLOGIA DE LA INVESTIGACION
METODOLOGIA DE LA INVESTIGACION METODOLOGIA DE LA INVESTIGACION
METODOLOGIA DE LA INVESTIGACION
Patricia Marcillo Marcillo Gualotuña
 
Exploring Dallas Poverty in Local, Regional, and National Contexts
Exploring Dallas Poverty in Local, Regional, and National ContextsExploring Dallas Poverty in Local, Regional, and National Contexts
Exploring Dallas Poverty in Local, Regional, and National Contexts
Timothy Bray
 
Convergence of PR and Content Marketing
Convergence of PR and Content Marketing Convergence of PR and Content Marketing
Convergence of PR and Content Marketing
Kenneth Lim
 
Projeto Integrado - Agência Órbita - IIIPP - Slides
Projeto Integrado - Agência Órbita - IIIPP - Slides Projeto Integrado - Agência Órbita - IIIPP - Slides
Projeto Integrado - Agência Órbita - IIIPP - Slides
Nathalia Channoschi
 
Dr. Rebecca Stafford - My four years as a Ph.D. candidate
Dr. Rebecca Stafford - My four years as a Ph.D. candidateDr. Rebecca Stafford - My four years as a Ph.D. candidate
Dr. Rebecca Stafford - My four years as a Ph.D. candidate
Rebecca Stafford
 
Sorry mum & dad "I quit"
Sorry mum & dad "I quit"Sorry mum & dad "I quit"
Sorry mum & dad "I quit"
Philip Stoneman
 
wing resume 1
wing resume 1wing resume 1
wing resume 1
Ying Su
 
Bareon functional testing ci
Bareon functional testing   ciBareon functional testing   ci
Bareon functional testing ci
Max Lobur
 
Guião Técnico
Guião TécnicoGuião Técnico
Guião Técnico
claudiowww
 
Induccion al-pnf-i-iuteb-160718152855
Induccion al-pnf-i-iuteb-160718152855Induccion al-pnf-i-iuteb-160718152855
Induccion al-pnf-i-iuteb-160718152855
Angel Ojeda AngelOjeda
 
LA UNIVERSIDAD POLITECNICA TERRITORIAL COMO NUEVO TEJIDO INSTITUCIONAL DE LA ...
LA UNIVERSIDAD POLITECNICA TERRITORIAL COMO NUEVO TEJIDO INSTITUCIONAL DE LA ...LA UNIVERSIDAD POLITECNICA TERRITORIAL COMO NUEVO TEJIDO INSTITUCIONAL DE LA ...
LA UNIVERSIDAD POLITECNICA TERRITORIAL COMO NUEVO TEJIDO INSTITUCIONAL DE LA ...
Pedro Arcia
 
Mi ple
Mi pleMi ple
Detección de necesidades de aprendizaje
Detección de necesidades de aprendizajeDetección de necesidades de aprendizaje
Detección de necesidades de aprendizaje
Arturo Llaca
 

Viewers also liked (15)

J.Raman RESUME - Accounting Administrator NEW REVISED June 27
J.Raman RESUME - Accounting Administrator NEW REVISED June 27J.Raman RESUME - Accounting Administrator NEW REVISED June 27
J.Raman RESUME - Accounting Administrator NEW REVISED June 27
 
METODOLOGIA DE LA INVESTIGACION
METODOLOGIA DE LA INVESTIGACION METODOLOGIA DE LA INVESTIGACION
METODOLOGIA DE LA INVESTIGACION
 
Exploring Dallas Poverty in Local, Regional, and National Contexts
Exploring Dallas Poverty in Local, Regional, and National ContextsExploring Dallas Poverty in Local, Regional, and National Contexts
Exploring Dallas Poverty in Local, Regional, and National Contexts
 
Convergence of PR and Content Marketing
Convergence of PR and Content Marketing Convergence of PR and Content Marketing
Convergence of PR and Content Marketing
 
Novotel BAli Benoa Certificates
Novotel BAli Benoa CertificatesNovotel BAli Benoa Certificates
Novotel BAli Benoa Certificates
 
Projeto Integrado - Agência Órbita - IIIPP - Slides
Projeto Integrado - Agência Órbita - IIIPP - Slides Projeto Integrado - Agência Órbita - IIIPP - Slides
Projeto Integrado - Agência Órbita - IIIPP - Slides
 
Dr. Rebecca Stafford - My four years as a Ph.D. candidate
Dr. Rebecca Stafford - My four years as a Ph.D. candidateDr. Rebecca Stafford - My four years as a Ph.D. candidate
Dr. Rebecca Stafford - My four years as a Ph.D. candidate
 
Sorry mum & dad "I quit"
Sorry mum & dad "I quit"Sorry mum & dad "I quit"
Sorry mum & dad "I quit"
 
wing resume 1
wing resume 1wing resume 1
wing resume 1
 
Bareon functional testing ci
Bareon functional testing   ciBareon functional testing   ci
Bareon functional testing ci
 
Guião Técnico
Guião TécnicoGuião Técnico
Guião Técnico
 
Induccion al-pnf-i-iuteb-160718152855
Induccion al-pnf-i-iuteb-160718152855Induccion al-pnf-i-iuteb-160718152855
Induccion al-pnf-i-iuteb-160718152855
 
LA UNIVERSIDAD POLITECNICA TERRITORIAL COMO NUEVO TEJIDO INSTITUCIONAL DE LA ...
LA UNIVERSIDAD POLITECNICA TERRITORIAL COMO NUEVO TEJIDO INSTITUCIONAL DE LA ...LA UNIVERSIDAD POLITECNICA TERRITORIAL COMO NUEVO TEJIDO INSTITUCIONAL DE LA ...
LA UNIVERSIDAD POLITECNICA TERRITORIAL COMO NUEVO TEJIDO INSTITUCIONAL DE LA ...
 
Mi ple
Mi pleMi ple
Mi ple
 
Detección de necesidades de aprendizaje
Detección de necesidades de aprendizajeDetección de necesidades de aprendizaje
Detección de necesidades de aprendizaje
 

Similar to Multiplayer game with unity3 d and meteor

Building Beautiful and Interactive Metro apps with JavaScript, HTML5 & CSS3
Building Beautiful and Interactive Metro apps with JavaScript, HTML5 & CSS3Building Beautiful and Interactive Metro apps with JavaScript, HTML5 & CSS3
Building Beautiful and Interactive Metro apps with JavaScript, HTML5 & CSS3
Doris Chen
 
Android 3D by Ivan Trajkovic and Dotti Colvin
Android 3D by Ivan Trajkovic and Dotti ColvinAndroid 3D by Ivan Trajkovic and Dotti Colvin
Android 3D by Ivan Trajkovic and Dotti Colvin
swengineers
 
HTML5 Game Development frameworks overview
HTML5 Game Development frameworks overviewHTML5 Game Development frameworks overview
HTML5 Game Development frameworks overview
Abhishek Singhal [L.I.O.N]
 
Gwt kickoff - Alberto Mancini & Francesca Tosi
Gwt kickoff - Alberto Mancini & Francesca TosiGwt kickoff - Alberto Mancini & Francesca Tosi
Gwt kickoff - Alberto Mancini & Francesca Tosi
firenze-gtug
 
GWT - AppDays - (25 aprile 2014, pordenone)
GWT - AppDays - (25 aprile 2014, pordenone)GWT - AppDays - (25 aprile 2014, pordenone)
GWT - AppDays - (25 aprile 2014, pordenone)
firenze-gtug
 
Getting started with immersive technologies
Getting started with immersive technologiesGetting started with immersive technologies
Getting started with immersive technologies
Uchechukwu Obimma
 
Devraj_Nataraj_CV_PDF
Devraj_Nataraj_CV_PDFDevraj_Nataraj_CV_PDF
Devraj_Nataraj_CV_PDF
Devraj Nataraj
 
[Gstar 2013] Unity Security
[Gstar 2013] Unity Security[Gstar 2013] Unity Security
[Gstar 2013] Unity Security
Seungmin Shin
 
Common Missteps in Cross-Platform Development.pdf
Common Missteps in Cross-Platform Development.pdfCommon Missteps in Cross-Platform Development.pdf
Common Missteps in Cross-Platform Development.pdf
Pridesys IT Ltd.
 
WebGL For Game Development Spring 2013
WebGL For Game Development Spring 2013WebGL For Game Development Spring 2013
WebGL For Game Development Spring 2013
Tony Parisi
 
Blender Tutorial - Creating 3D Model Of Millennium Falcon And Cosmos Scene
Blender Tutorial - Creating 3D Model Of Millennium Falcon And Cosmos SceneBlender Tutorial - Creating 3D Model Of Millennium Falcon And Cosmos Scene
Blender Tutorial - Creating 3D Model Of Millennium Falcon And Cosmos Scene
FIDE Master Tihomir Dovramadjiev PhD
 
Get started with meteor | designveloper software agency meteor prime partner
Get started with meteor | designveloper software agency   meteor prime partnerGet started with meteor | designveloper software agency   meteor prime partner
Get started with meteor | designveloper software agency meteor prime partner
Designveloper
 
Android development beginners faq
Android development  beginners faqAndroid development  beginners faq
Android development beginners faq
Khirulnizam Abd Rahman
 
Ways to Choose the Right Game Development Platform.pdf
Ways to Choose the Right Game Development Platform.pdfWays to Choose the Right Game Development Platform.pdf
Ways to Choose the Right Game Development Platform.pdf
Muhammad Waqas
 
What Web Developers Need to Know to Develop Windows 8 Apps
What Web Developers Need to Know to Develop Windows 8 AppsWhat Web Developers Need to Know to Develop Windows 8 Apps
What Web Developers Need to Know to Develop Windows 8 Apps
Doris Chen
 
Single page web application development using meteor js
Single page web application development using meteor jsSingle page web application development using meteor js
Single page web application development using meteor js
Designveloper
 
Intro to Mobile Game Development
Intro to Mobile Game DevelopmentIntro to Mobile Game Development
Intro to Mobile Game Development
Shahed Chowdhuri
 
micro-frontends-with-vuejs
micro-frontends-with-vuejsmicro-frontends-with-vuejs
micro-frontends-with-vuejs
Oleksandr Tserkovnyi
 
製作 Unity Plugin for Android
製作 Unity Plugin for Android製作 Unity Plugin for Android
製作 Unity Plugin for Android
Johnny Sung
 
Introduction to html5 game programming with ImpactJs
Introduction to html5 game programming with ImpactJsIntroduction to html5 game programming with ImpactJs
Introduction to html5 game programming with ImpactJs
Luca Galli
 

Similar to Multiplayer game with unity3 d and meteor (20)

Building Beautiful and Interactive Metro apps with JavaScript, HTML5 & CSS3
Building Beautiful and Interactive Metro apps with JavaScript, HTML5 & CSS3Building Beautiful and Interactive Metro apps with JavaScript, HTML5 & CSS3
Building Beautiful and Interactive Metro apps with JavaScript, HTML5 & CSS3
 
Android 3D by Ivan Trajkovic and Dotti Colvin
Android 3D by Ivan Trajkovic and Dotti ColvinAndroid 3D by Ivan Trajkovic and Dotti Colvin
Android 3D by Ivan Trajkovic and Dotti Colvin
 
HTML5 Game Development frameworks overview
HTML5 Game Development frameworks overviewHTML5 Game Development frameworks overview
HTML5 Game Development frameworks overview
 
Gwt kickoff - Alberto Mancini & Francesca Tosi
Gwt kickoff - Alberto Mancini & Francesca TosiGwt kickoff - Alberto Mancini & Francesca Tosi
Gwt kickoff - Alberto Mancini & Francesca Tosi
 
GWT - AppDays - (25 aprile 2014, pordenone)
GWT - AppDays - (25 aprile 2014, pordenone)GWT - AppDays - (25 aprile 2014, pordenone)
GWT - AppDays - (25 aprile 2014, pordenone)
 
Getting started with immersive technologies
Getting started with immersive technologiesGetting started with immersive technologies
Getting started with immersive technologies
 
Devraj_Nataraj_CV_PDF
Devraj_Nataraj_CV_PDFDevraj_Nataraj_CV_PDF
Devraj_Nataraj_CV_PDF
 
[Gstar 2013] Unity Security
[Gstar 2013] Unity Security[Gstar 2013] Unity Security
[Gstar 2013] Unity Security
 
Common Missteps in Cross-Platform Development.pdf
Common Missteps in Cross-Platform Development.pdfCommon Missteps in Cross-Platform Development.pdf
Common Missteps in Cross-Platform Development.pdf
 
WebGL For Game Development Spring 2013
WebGL For Game Development Spring 2013WebGL For Game Development Spring 2013
WebGL For Game Development Spring 2013
 
Blender Tutorial - Creating 3D Model Of Millennium Falcon And Cosmos Scene
Blender Tutorial - Creating 3D Model Of Millennium Falcon And Cosmos SceneBlender Tutorial - Creating 3D Model Of Millennium Falcon And Cosmos Scene
Blender Tutorial - Creating 3D Model Of Millennium Falcon And Cosmos Scene
 
Get started with meteor | designveloper software agency meteor prime partner
Get started with meteor | designveloper software agency   meteor prime partnerGet started with meteor | designveloper software agency   meteor prime partner
Get started with meteor | designveloper software agency meteor prime partner
 
Android development beginners faq
Android development  beginners faqAndroid development  beginners faq
Android development beginners faq
 
Ways to Choose the Right Game Development Platform.pdf
Ways to Choose the Right Game Development Platform.pdfWays to Choose the Right Game Development Platform.pdf
Ways to Choose the Right Game Development Platform.pdf
 
What Web Developers Need to Know to Develop Windows 8 Apps
What Web Developers Need to Know to Develop Windows 8 AppsWhat Web Developers Need to Know to Develop Windows 8 Apps
What Web Developers Need to Know to Develop Windows 8 Apps
 
Single page web application development using meteor js
Single page web application development using meteor jsSingle page web application development using meteor js
Single page web application development using meteor js
 
Intro to Mobile Game Development
Intro to Mobile Game DevelopmentIntro to Mobile Game Development
Intro to Mobile Game Development
 
micro-frontends-with-vuejs
micro-frontends-with-vuejsmicro-frontends-with-vuejs
micro-frontends-with-vuejs
 
製作 Unity Plugin for Android
製作 Unity Plugin for Android製作 Unity Plugin for Android
製作 Unity Plugin for Android
 
Introduction to html5 game programming with ImpactJs
Introduction to html5 game programming with ImpactJsIntroduction to html5 game programming with ImpactJs
Introduction to html5 game programming with ImpactJs
 

More from Designveloper

Let us take care of your brand image
Let us take care of your brand imageLet us take care of your brand image
Let us take care of your brand image
Designveloper
 
5 java script frameworks to watch in 2017
5 java script frameworks to watch in 20175 java script frameworks to watch in 2017
5 java script frameworks to watch in 2017
Designveloper
 
Happy international women's day!
Happy international women's day!Happy international women's day!
Happy international women's day!
Designveloper
 
Typing racer game - a nice break from work
Typing racer game  - a nice break from workTyping racer game  - a nice break from work
Typing racer game - a nice break from work
Designveloper
 
Should we work remotely?
Should we work remotely?Should we work remotely?
Should we work remotely?
Designveloper
 
Meet song nhi your virtual financial assistance
Meet song nhi   your virtual financial assistanceMeet song nhi   your virtual financial assistance
Meet song nhi your virtual financial assistance
Designveloper
 
Why pair programming is a good idea
Why pair programming is a good idea Why pair programming is a good idea
Why pair programming is a good idea
Designveloper
 
5 worst mistakes of diy websites
5 worst mistakes of diy websites5 worst mistakes of diy websites
5 worst mistakes of diy websites
Designveloper
 
Basic glossary of web design terms for non designers (part 2)
Basic glossary of web design terms for non designers (part 2)Basic glossary of web design terms for non designers (part 2)
Basic glossary of web design terms for non designers (part 2)
Designveloper
 
Awesome free resources for learning javascript
Awesome free resources for learning javascriptAwesome free resources for learning javascript
Awesome free resources for learning javascript
Designveloper
 
What is the best java script frameworks to learn?
What is the best java script frameworks to learn?What is the best java script frameworks to learn?
What is the best java script frameworks to learn?
Designveloper
 
Travelling forms a young man
Travelling forms a young manTravelling forms a young man
Travelling forms a young man
Designveloper
 
5 compelling reasons your website should be responsive
5 compelling reasons your website should be responsive5 compelling reasons your website should be responsive
5 compelling reasons your website should be responsive
Designveloper
 
Reactive programming with tracker
Reactive programming with trackerReactive programming with tracker
Reactive programming with tracker
Designveloper
 
Benefits of using single page websites
Benefits of using single page websitesBenefits of using single page websites
Benefits of using single page websites
Designveloper
 
What is the best programming language for beginner?
What is the best programming language for beginner?What is the best programming language for beginner?
What is the best programming language for beginner?
Designveloper
 
No sql injection in meteor.js application
No sql injection in meteor.js applicationNo sql injection in meteor.js application
No sql injection in meteor.js application
Designveloper
 
How to deploy and scale your meteor apps
How to deploy and scale your meteor appsHow to deploy and scale your meteor apps
How to deploy and scale your meteor apps
Designveloper
 
Meetup groups you need to join if you are new to tech
Meetup groups you need to join if you are new to techMeetup groups you need to join if you are new to tech
Meetup groups you need to join if you are new to tech
Designveloper
 
What to consider before deploying a meteor app?
What to consider before deploying a meteor app?What to consider before deploying a meteor app?
What to consider before deploying a meteor app?
Designveloper
 

More from Designveloper (20)

Let us take care of your brand image
Let us take care of your brand imageLet us take care of your brand image
Let us take care of your brand image
 
5 java script frameworks to watch in 2017
5 java script frameworks to watch in 20175 java script frameworks to watch in 2017
5 java script frameworks to watch in 2017
 
Happy international women's day!
Happy international women's day!Happy international women's day!
Happy international women's day!
 
Typing racer game - a nice break from work
Typing racer game  - a nice break from workTyping racer game  - a nice break from work
Typing racer game - a nice break from work
 
Should we work remotely?
Should we work remotely?Should we work remotely?
Should we work remotely?
 
Meet song nhi your virtual financial assistance
Meet song nhi   your virtual financial assistanceMeet song nhi   your virtual financial assistance
Meet song nhi your virtual financial assistance
 
Why pair programming is a good idea
Why pair programming is a good idea Why pair programming is a good idea
Why pair programming is a good idea
 
5 worst mistakes of diy websites
5 worst mistakes of diy websites5 worst mistakes of diy websites
5 worst mistakes of diy websites
 
Basic glossary of web design terms for non designers (part 2)
Basic glossary of web design terms for non designers (part 2)Basic glossary of web design terms for non designers (part 2)
Basic glossary of web design terms for non designers (part 2)
 
Awesome free resources for learning javascript
Awesome free resources for learning javascriptAwesome free resources for learning javascript
Awesome free resources for learning javascript
 
What is the best java script frameworks to learn?
What is the best java script frameworks to learn?What is the best java script frameworks to learn?
What is the best java script frameworks to learn?
 
Travelling forms a young man
Travelling forms a young manTravelling forms a young man
Travelling forms a young man
 
5 compelling reasons your website should be responsive
5 compelling reasons your website should be responsive5 compelling reasons your website should be responsive
5 compelling reasons your website should be responsive
 
Reactive programming with tracker
Reactive programming with trackerReactive programming with tracker
Reactive programming with tracker
 
Benefits of using single page websites
Benefits of using single page websitesBenefits of using single page websites
Benefits of using single page websites
 
What is the best programming language for beginner?
What is the best programming language for beginner?What is the best programming language for beginner?
What is the best programming language for beginner?
 
No sql injection in meteor.js application
No sql injection in meteor.js applicationNo sql injection in meteor.js application
No sql injection in meteor.js application
 
How to deploy and scale your meteor apps
How to deploy and scale your meteor appsHow to deploy and scale your meteor apps
How to deploy and scale your meteor apps
 
Meetup groups you need to join if you are new to tech
Meetup groups you need to join if you are new to techMeetup groups you need to join if you are new to tech
Meetup groups you need to join if you are new to tech
 
What to consider before deploying a meteor app?
What to consider before deploying a meteor app?What to consider before deploying a meteor app?
What to consider before deploying a meteor app?
 

Recently uploaded

Waze vs. Google Maps vs. Apple Maps, Who Else.pdf
Waze vs. Google Maps vs. Apple Maps, Who Else.pdfWaze vs. Google Maps vs. Apple Maps, Who Else.pdf
Waze vs. Google Maps vs. Apple Maps, Who Else.pdf
Ben Ramedani
 
pgroll - Zero-downtime, reversible, schema migrations for Postgres
pgroll - Zero-downtime, reversible, schema migrations for Postgrespgroll - Zero-downtime, reversible, schema migrations for Postgres
pgroll - Zero-downtime, reversible, schema migrations for Postgres
Tudor Golubenco
 
BDRSuite - #1 Cost effective Data Backup and Recovery Solution
BDRSuite - #1 Cost effective Data Backup and Recovery SolutionBDRSuite - #1 Cost effective Data Backup and Recovery Solution
BDRSuite - #1 Cost effective Data Backup and Recovery Solution
praveene26
 
Fantastic Design Patterns and Where to use them No Notes.pdf
Fantastic Design Patterns and Where to use them No Notes.pdfFantastic Design Patterns and Where to use them No Notes.pdf
Fantastic Design Patterns and Where to use them No Notes.pdf
6m9p7qnjj8
 
UW Cert degree offer diploma
UW Cert degree offer diploma UW Cert degree offer diploma
UW Cert degree offer diploma
dakyuhe
 
BitLocker Data Recovery | BLR Tools Data Recovery Solutions
BitLocker Data Recovery | BLR Tools Data Recovery SolutionsBitLocker Data Recovery | BLR Tools Data Recovery Solutions
BitLocker Data Recovery | BLR Tools Data Recovery Solutions
Alina Tait
 
Unified Customer Experience Management tools.pptx
Unified Customer Experience Management tools.pptxUnified Customer Experience Management tools.pptx
Unified Customer Experience Management tools.pptx
sharmatulika51
 
05. Ruby Control Structures - Ruby Core Teaching
05. Ruby Control Structures - Ruby Core Teaching05. Ruby Control Structures - Ruby Core Teaching
05. Ruby Control Structures - Ruby Core Teaching
quanhoangd129
 
Monitoring the Execution of 14K Tests: Methods Tend to Have One Path that Is ...
Monitoring the Execution of 14K Tests: Methods Tend to Have One Path that Is ...Monitoring the Execution of 14K Tests: Methods Tend to Have One Path that Is ...
Monitoring the Execution of 14K Tests: Methods Tend to Have One Path that Is ...
andrehoraa
 
08. Ruby Enumerable - Ruby Core Teaching
08. Ruby Enumerable - Ruby Core Teaching08. Ruby Enumerable - Ruby Core Teaching
08. Ruby Enumerable - Ruby Core Teaching
quanhoangd129
 
Unlocking value with event-driven architecture by Confluent
Unlocking value with event-driven architecture by ConfluentUnlocking value with event-driven architecture by Confluent
Unlocking value with event-driven architecture by Confluent
confluent
 
Applitools Autonomous 2.0 Sneak Peek.pdf
Applitools Autonomous 2.0 Sneak Peek.pdfApplitools Autonomous 2.0 Sneak Peek.pdf
Applitools Autonomous 2.0 Sneak Peek.pdf
Applitools
 
Crowd Strike\Windows Update Issue: Overview and Current Status
Crowd Strike\Windows Update Issue: Overview and Current StatusCrowd Strike\Windows Update Issue: Overview and Current Status
Crowd Strike\Windows Update Issue: Overview and Current Status
ramaganesan0504
 
Bring Strategic Portfolio Management to Monday.com using OnePlan - Webinar 18...
Bring Strategic Portfolio Management to Monday.com using OnePlan - Webinar 18...Bring Strategic Portfolio Management to Monday.com using OnePlan - Webinar 18...
Bring Strategic Portfolio Management to Monday.com using OnePlan - Webinar 18...
OnePlan Solutions
 
What is Micro Frontends and Why Use it.pdf
What is Micro Frontends and Why Use it.pdfWhat is Micro Frontends and Why Use it.pdf
What is Micro Frontends and Why Use it.pdf
lead93317
 
PathSpotter: Exploring Tested Paths to Discover Missing Tests (FSE 2024)
PathSpotter: Exploring Tested Paths to Discover Missing Tests (FSE 2024)PathSpotter: Exploring Tested Paths to Discover Missing Tests (FSE 2024)
PathSpotter: Exploring Tested Paths to Discover Missing Tests (FSE 2024)
andrehoraa
 
07. Ruby String Slides - Ruby Core Teaching
07. Ruby String Slides - Ruby Core Teaching07. Ruby String Slides - Ruby Core Teaching
07. Ruby String Slides - Ruby Core Teaching
quanhoangd129
 
02. Ruby Basic slides - Ruby Core Teaching
02. Ruby Basic slides - Ruby Core Teaching02. Ruby Basic slides - Ruby Core Teaching
02. Ruby Basic slides - Ruby Core Teaching
quanhoangd129
 
06. Ruby Array & Hash - Ruby Core Teaching
06. Ruby Array & Hash - Ruby Core Teaching06. Ruby Array & Hash - Ruby Core Teaching
06. Ruby Array & Hash - Ruby Core Teaching
quanhoangd129
 
Mlm software - Binary, Board, Matrix, Monoline, Unilevel MLM Ecommerce or E-p...
Mlm software - Binary, Board, Matrix, Monoline, Unilevel MLM Ecommerce or E-p...Mlm software - Binary, Board, Matrix, Monoline, Unilevel MLM Ecommerce or E-p...
Mlm software - Binary, Board, Matrix, Monoline, Unilevel MLM Ecommerce or E-p...
LETSCMS Private Limited
 

Recently uploaded (20)

Waze vs. Google Maps vs. Apple Maps, Who Else.pdf
Waze vs. Google Maps vs. Apple Maps, Who Else.pdfWaze vs. Google Maps vs. Apple Maps, Who Else.pdf
Waze vs. Google Maps vs. Apple Maps, Who Else.pdf
 
pgroll - Zero-downtime, reversible, schema migrations for Postgres
pgroll - Zero-downtime, reversible, schema migrations for Postgrespgroll - Zero-downtime, reversible, schema migrations for Postgres
pgroll - Zero-downtime, reversible, schema migrations for Postgres
 
BDRSuite - #1 Cost effective Data Backup and Recovery Solution
BDRSuite - #1 Cost effective Data Backup and Recovery SolutionBDRSuite - #1 Cost effective Data Backup and Recovery Solution
BDRSuite - #1 Cost effective Data Backup and Recovery Solution
 
Fantastic Design Patterns and Where to use them No Notes.pdf
Fantastic Design Patterns and Where to use them No Notes.pdfFantastic Design Patterns and Where to use them No Notes.pdf
Fantastic Design Patterns and Where to use them No Notes.pdf
 
UW Cert degree offer diploma
UW Cert degree offer diploma UW Cert degree offer diploma
UW Cert degree offer diploma
 
BitLocker Data Recovery | BLR Tools Data Recovery Solutions
BitLocker Data Recovery | BLR Tools Data Recovery SolutionsBitLocker Data Recovery | BLR Tools Data Recovery Solutions
BitLocker Data Recovery | BLR Tools Data Recovery Solutions
 
Unified Customer Experience Management tools.pptx
Unified Customer Experience Management tools.pptxUnified Customer Experience Management tools.pptx
Unified Customer Experience Management tools.pptx
 
05. Ruby Control Structures - Ruby Core Teaching
05. Ruby Control Structures - Ruby Core Teaching05. Ruby Control Structures - Ruby Core Teaching
05. Ruby Control Structures - Ruby Core Teaching
 
Monitoring the Execution of 14K Tests: Methods Tend to Have One Path that Is ...
Monitoring the Execution of 14K Tests: Methods Tend to Have One Path that Is ...Monitoring the Execution of 14K Tests: Methods Tend to Have One Path that Is ...
Monitoring the Execution of 14K Tests: Methods Tend to Have One Path that Is ...
 
08. Ruby Enumerable - Ruby Core Teaching
08. Ruby Enumerable - Ruby Core Teaching08. Ruby Enumerable - Ruby Core Teaching
08. Ruby Enumerable - Ruby Core Teaching
 
Unlocking value with event-driven architecture by Confluent
Unlocking value with event-driven architecture by ConfluentUnlocking value with event-driven architecture by Confluent
Unlocking value with event-driven architecture by Confluent
 
Applitools Autonomous 2.0 Sneak Peek.pdf
Applitools Autonomous 2.0 Sneak Peek.pdfApplitools Autonomous 2.0 Sneak Peek.pdf
Applitools Autonomous 2.0 Sneak Peek.pdf
 
Crowd Strike\Windows Update Issue: Overview and Current Status
Crowd Strike\Windows Update Issue: Overview and Current StatusCrowd Strike\Windows Update Issue: Overview and Current Status
Crowd Strike\Windows Update Issue: Overview and Current Status
 
Bring Strategic Portfolio Management to Monday.com using OnePlan - Webinar 18...
Bring Strategic Portfolio Management to Monday.com using OnePlan - Webinar 18...Bring Strategic Portfolio Management to Monday.com using OnePlan - Webinar 18...
Bring Strategic Portfolio Management to Monday.com using OnePlan - Webinar 18...
 
What is Micro Frontends and Why Use it.pdf
What is Micro Frontends and Why Use it.pdfWhat is Micro Frontends and Why Use it.pdf
What is Micro Frontends and Why Use it.pdf
 
PathSpotter: Exploring Tested Paths to Discover Missing Tests (FSE 2024)
PathSpotter: Exploring Tested Paths to Discover Missing Tests (FSE 2024)PathSpotter: Exploring Tested Paths to Discover Missing Tests (FSE 2024)
PathSpotter: Exploring Tested Paths to Discover Missing Tests (FSE 2024)
 
07. Ruby String Slides - Ruby Core Teaching
07. Ruby String Slides - Ruby Core Teaching07. Ruby String Slides - Ruby Core Teaching
07. Ruby String Slides - Ruby Core Teaching
 
02. Ruby Basic slides - Ruby Core Teaching
02. Ruby Basic slides - Ruby Core Teaching02. Ruby Basic slides - Ruby Core Teaching
02. Ruby Basic slides - Ruby Core Teaching
 
06. Ruby Array & Hash - Ruby Core Teaching
06. Ruby Array & Hash - Ruby Core Teaching06. Ruby Array & Hash - Ruby Core Teaching
06. Ruby Array & Hash - Ruby Core Teaching
 
Mlm software - Binary, Board, Matrix, Monoline, Unilevel MLM Ecommerce or E-p...
Mlm software - Binary, Board, Matrix, Monoline, Unilevel MLM Ecommerce or E-p...Mlm software - Binary, Board, Matrix, Monoline, Unilevel MLM Ecommerce or E-p...
Mlm software - Binary, Board, Matrix, Monoline, Unilevel MLM Ecommerce or E-p...
 

Multiplayer game with unity3 d and meteor

  • 1. 12/1/2016 Multiplayer Game With Unity3D And Meteor https://blog.designveloper.com/2016/10/11/unity3d­and­meteor­game/ 1/6  Multiplayer Game With Unity3D And Meteor FYI: This is one of two topics of our 4th Meteor Meetup, take place on 17th September, 2016. The author is Huy Trinh , a young talent member of Designveloper (https://www.designveloper.com/). Those who were not able to attend our 4th Meteor Ho Chi Minh meetup (https://blog.designveloper.com/2016/09/19/4th-meteor-meetup-review/) at September 17th could nd all about Multiplayer Game with Unity3D and Meteor – one of the main topics of the meetup – in this blog. Before digging into every facet of this post, you are required to have a fairly good background of Meteor and Unity3D. What is Unity3D? Unity is a cross-platform game engine developed by Unity Technologies and used to develop video games for PC, consoles, mobile devices and websites. First announced only for OS X, at Apple’s Worldwide Developers Conference in 2005, it has since been extended to target 24 platforms. M E T E O R ( H T T P S : / / B L O G . D E S I G N V E L O P E R . C O M / C A T E G O R Y / M E T E O R / ) B y Va n D o ( h t t p s : // b l o g . d e s i g n v e l o p e r. c o m / a u t h o r / v a n d o / ) o n O c t o b e r 1 1 , 2 0 1 6 
  • 2. 12/1/2016 Multiplayer Game With Unity3D And Meteor https://blog.designveloper.com/2016/10/11/unity3d­and­meteor­game/ 2/6 What is Meteor JS? Meteor is a full-stack JavaScript platform for developing modern web and mobile applications. Meteor includes a key set of technologies for building connected-client reactive applications, a build tool, and a curated set of packages from the Node.js and general JavaScript community. If you are a Meteor-novice, no worries! You can discover more about this full-stack JavaScript platform for developing single-page, real time web and mobile apps at Meteor.com (https://www.meteor.com/) Why we should use Meteor with Unity3D? When using Meteor, launching a MVP in 3-4 weeks can be a reality. With JavaScript on back-end, plus smart packages, Meteor allows you to develop faster. You don’t need to have experience about implement TCP/IP, UDP or pure Socket for a Gaming Server. With collection and method we can easily implement Gaming Network Architecture like Latency Compensation, Client Prediction, Server Reconciling and other technique. How to connect MeteorJS with Unity3D A team in Los Angeles have developed a plugin that make a bridge between Unity3D and MeteorJS through Websocket and DDP. You can nd it here https://github.com/hiddenswitch/Meteor-Unity (https://github.com/hiddenswitch/Meteor-Unity). By using this plugin we can use almost Meteor API such as: login, method, collection, publish/subscription. The plugin is great in general but one thing, it hasn’t supported WebGL for Unity3D yet. M o b ile You can watch how to setup and connect step by step here: https://github.com/hiddenswitch/Meteor- Unity (https://github.com/hiddenswitch/Meteor-Unity) WebGL You cannot use hiddenswitch plugin with Unity3d WebGL now. But we can use other way to interact it. Unity3d WebGL support 2 API that help calling from inside WebGL container to javascripton page outside and reserve. To call methods on GameObjects in your content from browser JavaScript, you can use the following code: SendMessage ('MyGameObject', 'MyFunction', 'foobar'); Read more here: https://docs.unity3d.com/Manual/webgl-interactingwithbrowserscripting.html (https://docs.unity3d.com/Manual/webgl-interactingwithbrowserscripting.html) To calls a function in the web page that contains the WebGL Player. Application.ExternalCall ExternalCall calls functionName in the web page containing the WebGL player, passing the given arguments to it. Supported argument types are the primitive types (string, int, oat, string) and arrays of such types. Any other objects are converted to string using ToString and passed as strings. 
  • 3. 12/1/2016 Multiplayer Game With Unity3D And Meteor https://blog.designveloper.com/2016/10/11/unity3d­and­meteor­game/ 3/6 For a deeper understanding, you can read here: https://docs.unity3d.com/ScriptReference/Application.ExternalCall.html (https://docs.unity3d.com/ScriptReference/Application.ExternalCall.html) So, did you nd some great information of your own in this blog? Do you have any questions? Let me know in the comments and we can discuss about it! (https://www.facebook.com/sharer/sharer.php? u=https%3A%2F%2Fblog.designveloper.com%2F2016%2F10%2F11%2Funity3d- and- meteor- game%2F)  (http://twitter.com/intent/tweet? source=Designveloper Software agency - Meteor prime partner&text=https%3A%2F%2Fblog.designveloper.com%2F2016%2F10%2F11%2Funity3d- and- meteor- game%2F)  (https://plus.google.com/share? url=https%3A%2F%2Fblog.designveloper.com%2F2016%2F10%2F11%2Funity3d- and- meteor- game%2F)  (http://www.linkedin.com/shareArticle? mini=true&url=https%3A%2F%2Fblog.designveloper.com%2F2016%2F10 and- meteor- game%2F&title=Multiplayer%20Game%20With%20Unity3D%20And%20Meteor& Software agency - Meteor prime partner)  (http://www.tumblr.com/share/link? url=https%3A%2F%2Fblog.designveloper.com%2F2016%2F10 and- meteor- game%2F&name=Multiplayer%20Game%20With%20Unity3D%20And  Meteor js  multiplayer game  unity3D   3 Things Make A Single-Page Website Stunning (https://blog.designveloper.com/2016/10/05/tips-for-single- page-sites/)  (https://blog.designveloper.com) Reasons Why Visitors Leave Your Website In 10 Seconds  (https://blog.designveloper.com/2016/10/13/reasons-for-leaving-a-website/) Y O U M AY A L S O L I K E 