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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

iOS turn-based multiplayer?

Greetings AnswerHub gods!

Is there any reference or tutorial on how to use the new(?) turn-based multiplayer mode on blueprints? How can I make a Game Center ready game? (Where do I start?? And/or can I do it with only blueprints?

Product Version: UE 4.9
Tags:
more ▼

asked Sep 12 '15 at 04:54 PM in Blueprint Scripting

avatar image

ronaldk
75 12 18 23

avatar image theonecalledtom Sep 14 '15 at 02:11 PM

You'll need to enable multiplayer in your engine ini files, I'm away from my machine but look for online subsystem documentation.

You'll need to setup an app profile with apple with the game centre enabled (developer.apple.com).

No idea how far you are along but start by getting an app up and running on an iOS device and take it from there!

avatar image ronaldk Sep 17 '15 at 09:31 AM

So, what I have so far is a blueprints only, turn based local multiplayer running on iOS devices (iPhone and iPad) that I hope to release someday soon! I have played with replication for online games, but what I need to understand is how to, in a very basic form, set up GameCenter and send the "turn information" to a second device through blueprints (if possible).

I get this is unrelated to replication but I can't seem to find what I'm looking for under the documentation. Please help?

avatar image ronaldk Sep 22 '15 at 07:22 PM

Can anyone help me with some steps to get this working? Game is running on iPad and i wanna get turn based multiplayer working (currently on local). How do I set up gamecenter access with blueprints?

please?

avatar image theonecalledtom Sep 27 '15 at 08:54 PM

Your out of my safe zone but here are the steps I would take if you are still in a vacuum.

1) enable Game Center in your project settings

2) go to developer.apple.com and enable the Game Center for your project (this is all Apple not unreal)

3) enable the IOS online subsystem in default engine.ini

4) look up how to get two clients in the same session (keywords - matchmaking, find session, host, client, LAN, server)

5) look up how to send a reliable message between your clients and how to receive it (TCP/IP, messaging, reliable)

6) take a deep breath, the starting setup to multiplayer development is often a bit tricky but once you are working on actual gameplay it gets way more interesting, and difficult!

If there is some turn based code that's cool for you as keeping clients in sync through gameplay progress is not entirely trivial but at the end of the day it's not that complicated either (lots of borderline what happens if client a drops while situation b is happening stumbling blocks) so if you've got some nice in order reliable messaging system you are away!

My guess would be some good samples are lying around for all this.

Good luck :)

avatar image ronaldk Sep 30 '15 at 07:06 PM

So, Up to point 4 is clear, then its where i cant find answers (maybe not looking hard enough?)

So, to be more specific, how can i send (push notification) game data to a deice? Do i have to have my own server that does this? can I get a phone to send the game data (turn info) to the second device? is this handled through apple? how do i set this up? what is the "turn based node" for? how does one use it?

I can currently play the game sending the info to a specific ip (pc to pc in real time as a server/ client) but what if i want to be able to have multiple games (a la draw something) and have the game send the data to a specific game on a phone?

I know this is complicated but i'm an artist working solely on blueprints and this has been incredible so far, just wish i could figure all of this somehow.

avatar image ronaldk Sep 30 '15 at 07:08 PM

I mean the concepts and theory of this. ;)

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

0 answers: sort voted first
Be the first one to answer this question
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