generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: Turn Based Games

Previous Thread :: Next Thread 
evolvedpikachu is not online. evolvedpikachu
Joined: 18 Aug 2010
Total Posts: 10696
31 Jan 2014 09:42 PM
I'm thinking of doing something turn-based. The problem is HOW I'm going to design the turn, and who's turn it is. My current plan is to use a RemoteFunction to signal LocalScripts to do something, and that something is a turn, and a turn is whatever I make the player do. Is there a good way to signal the RemoteFunction WHICH player is going against who (or send to who)?
Report Abuse
evolvedpikachu is not online. evolvedpikachu
Joined: 18 Aug 2010
Total Posts: 10696
31 Jan 2014 10:52 PM
bump
Report Abuse
secretidagent is online. secretidagent
Joined: 07 Nov 2010
Total Posts: 1600
31 Jan 2014 10:53 PM
Nobody is responding do to the difficulty. Most people dont know how to use remote functions and events.
Report Abuse
evolvedpikachu is not online. evolvedpikachu
Joined: 18 Aug 2010
Total Posts: 10696
31 Jan 2014 10:54 PM
@secret

They aren't very hard to understand actually.
Report Abuse
secretidagent is online. secretidagent
Joined: 07 Nov 2010
Total Posts: 1600
31 Jan 2014 11:11 PM
Can you explain it to me in a PM then please? The wiki doesnt explain it very well.
http://wiki.roblox.com/index.php?title=Remotefunction

Report Abuse
debug33 is not online. debug33
Joined: 17 Jan 2014
Total Posts: 40
31 Jan 2014 11:16 PM
@secret

It's me Yankee. I have a whole new easy project that we won't abandon :D

message me if you would like to work tonight.
Report Abuse
secretidagent is online. secretidagent
Joined: 07 Nov 2010
Total Posts: 1600
31 Jan 2014 11:36 PM
Let me get this straight debug33/YankeeJr. You send me a PM, like I couldnt see the message already, you make a forum thread on scripting helpers used specifically just to say this as well, and you do it on a specific thread too. The PM was enough.
Report Abuse
evolvedpikachu is not online. evolvedpikachu
Joined: 18 Aug 2010
Total Posts: 10696
01 Feb 2014 09:41 AM
You have to understand how callbacks work btw (sort of like events).

A RemoteFunction is a thing that allows server and client scripts to communicate with each other.

Put a RemoteFunction in Workspace, then put this in a Script:

remotefunction = Workspace.RemoteFunction

function remotefunction.OnServerInvoke(client,...) -- Client comes with whatever LocalScripts send, client is the player
local args = {...}
print(client.Name.." sent "..args:concat(", "))
end

Now, put this in a LocalScript:

remotefunction = Workspace.RemoteFunction

remotefunction:InvokeServer("HAX","LOL") -- Because the server is listening
Report Abuse
evolvedpikachu is not online. evolvedpikachu
Joined: 18 Aug 2010
Total Posts: 10696
01 Feb 2014 11:11 AM
bump
Report Abuse
ThrashingThunder is not online. ThrashingThunder
Joined: 03 Oct 2011
Total Posts: 2388
01 Feb 2014 11:15 AM
Oh, look who it is..
Report Abuse
evolvedpikachu is not online. evolvedpikachu
Joined: 18 Aug 2010
Total Posts: 10696
01 Feb 2014 11:20 AM
um wut
Report Abuse
ThrashingThunder is not online. ThrashingThunder
Joined: 03 Oct 2011
Total Posts: 2388
01 Feb 2014 11:22 AM
Secretidagent is purposely ignoring me.
Report Abuse
evolvedpikachu is not online. evolvedpikachu
Joined: 18 Aug 2010
Total Posts: 10696
01 Feb 2014 11:23 AM
y no halp pls
Report Abuse
Azureous is not online. Azureous
Joined: 29 Jan 2012
Total Posts: 25287
01 Feb 2014 11:27 AM
I honestly don't know RemoteFunctions well, but I do know they're similar to BindableEvents. :L
Report Abuse
shinybearhead is not online. shinybearhead
Joined: 24 Jan 2011
Total Posts: 135
01 Feb 2014 11:27 AM
if this were 2 players then you could use ints

if it isn't use strings
Report Abuse
shinybearhead is not online. shinybearhead
Joined: 24 Jan 2011
Total Posts: 135
01 Feb 2014 11:29 AM
what I'm saying is, use modulus operator for 2 plyr
Report Abuse
evolvedpikachu is not online. evolvedpikachu
Joined: 18 Aug 2010
Total Posts: 10696
01 Feb 2014 11:47 AM
I don't see how that would help.
Report Abuse
evolvedpikachu is not online. evolvedpikachu
Joined: 18 Aug 2010
Total Posts: 10696
01 Feb 2014 01:11 PM
asdf
Report Abuse
evolvedpikachu is not online. evolvedpikachu
Joined: 18 Aug 2010
Total Posts: 10696
01 Feb 2014 01:46 PM
Bump
Report Abuse
evolvedpikachu is not online. evolvedpikachu
Joined: 18 Aug 2010
Total Posts: 10696
01 Feb 2014 02:39 PM
...
Report Abuse
ThrashingThunder is not online. ThrashingThunder
Joined: 03 Oct 2011
Total Posts: 2388
01 Feb 2014 03:01 PM
Just give it up already. Bumping gets you bu-bu-banned.
Report Abuse
lordsheen is not online. lordsheen
Joined: 24 Oct 2008
Total Posts: 608
01 Feb 2014 03:13 PM
LOL THIS THREAD!

...You seriously can't make a turned based game by yourself? O_O
Report Abuse
evolvedpikachu is not online. evolvedpikachu
Joined: 18 Aug 2010
Total Posts: 10696
01 Feb 2014 03:44 PM
@Thrashing

No, it doesn't.

@lordsheen

I have an idea, I'm just asking for a good method.
Report Abuse
maxomega3 is not online. maxomega3
Joined: 11 Jun 2010
Total Posts: 10668
01 Feb 2014 04:00 PM
Yeah, this sounds like a cool game. I'll try it once you're finished. Try asking the guy who made "Pears to Pairs".
Report Abuse
evolvedpikachu is not online. evolvedpikachu
Joined: 18 Aug 2010
Total Posts: 10696
01 Feb 2014 04:07 PM
@Max

Well, not really a game. More like a template for future stuff.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image