x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Cross-Platform and / or HTML 5 Multiplayer

Hello!

I'm currently exploring the possibility of setting up a scenario where the core game runs on a server, but can be interacted with in a lightweight way using a device such as an Android tablet or via a browser.

One option we're considering is to have an HTML 5 application that can be accessed by multiple players simultaneously - is this something that's possible in UE4, and if so, how would one go about setting such a thing up? It seems to me like this isn't something that UE4 presently caters for, since it's built around the idea of either local multiplayer (single device, multiple controllers) or server-client direct network multiplayer.

Thanks,

Luke

Product Version: Not Selected
Tags:
more ▼

asked Feb 05 '15 at 03:06 PM in Everything Else

avatar image

ambershee
603 23 30 52

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

So i assumed you want use HTTP for game that requires less traffic, UE4 intrnally support HTTP and even JSON

https://docs.unrealengine.com/latest/INT/API/Runtime/HTTP/FHttpModule/index.html https://docs.unrealengine.com/latest/INT/API/Runtime/Json/Serialization/TJsonReader/index.html

There also plugin adding that support to blueprint: https://forums.unrealengine.com/showthread.php?13509-Plugin-Http-s-REST-blueprintable-JSON-and-Parse-REST-API-manager-at-once-%28VaRest%29

Keep in mind HTTP is only good for request-responce kind of solution, if might consider sockets if you want more bidirectional communication, UE4 support that too

https://docs.unrealengine.com/latest/INT/API/Runtime/Sockets/index.html

I'm not sure if there any blueprint solution for that

more ▼

answered Feb 05 '15 at 03:25 PM

avatar image

Shadowriver
37.2k 936 172 1116

avatar image ambershee Feb 05 '15 at 03:37 PM

I could write my own networking using HTTP, but I'd like to avoid having to do that and use as much out-of-the-box stuff as possible. Socket based networking would be nice, but I'm not sure how an HTML application would work in this regard - am I still reduced to writing my own networking code?

I'm not sure what JSON has to do with any of this, could you elaborate?

avatar image Shadowriver Feb 05 '15 at 05:30 PM

There nothing wrong with going "out of the box", UE4 has only full replication system as you noticed, if you want to so something beyond that you need to code it

"I'm not sure what JSON has to do with any of this, could you elaborate?"

I assumed looking for other multiplier sollusions around HTTP, JSON is probably most popular for non-HTML HTTP based communications. Maybe try to explain more about your game and how multiplayer works in it and how you would use HTTP in it (as i assume you got some plan),

avatar image ambershee Feb 06 '15 at 11:26 AM

We're on 3 week sprints, so I'd like to avoid having to write my own networking when there are other things that also need doing.

HTTP isn't necessary, nor is reducing bandwidth. I'm more concerned about multiplatform behaviour between different devices.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question