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 » Scripters
Home Search
 

Any ideas for Turn-Based Combat?

Previous Thread :: Next Thread 
kashlen152 is not online. kashlen152
Joined: 03 Nov 2011
Total Posts: 297
12 Feb 2016 11:26 PM
Hi!
I am trying to make a game similar to Undertale or Earthbound...

basically, an RPG with Turn-Based combat!

But I just have two questions...

1. Would it be possible to do this using a GUI interface or would I have to spend more time to script animations for battles WITHOUT a GUI?

I figure it would be possible to use a GUI-except for the fact I do not yet know how to combine AI (the enemies) and the GUI.... That's why I am having trouble choosing.


2. If I can use a GUI, how would I make the AI work in it? That is my only issue is the AI!
Report Abuse
sayhisam1 is not online. sayhisam1
Joined: 25 Nov 2009
Total Posts: 2092
12 Feb 2016 11:29 PM
Store the data of each fight in _G or something server sided.
Then use remotefunctions and remoteevents to render the events of the fight client sided, and to communicate the player's actions to the server.
In order to connect AI, just have it wait until _G says it is its turn, and have it call a function that emulates an AI response to the current data in _G. Then, just render its actions on the player's side as well.
Report Abuse
chimmihc is not online. chimmihc
Joined: 01 Sep 2014
Total Posts: 17143
12 Feb 2016 11:29 PM
1. Of course.

2. What does that have to do with using GUIs?


Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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