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: Seeking help for ROBLOX quiz game

Previous Thread :: Next Thread 
UristMcSparks is not online. UristMcSparks
Forum Moderator
Joined: 27 Feb 2010
Total Posts: 44
29 Jul 2014 06:55 PM
Hi all!

I'm creating a game to test/teach scripting and I was hoping to get your help and input. Right now there are two large tasks needed for the game (apart from making it look pretty):

1) Creating questions. Not only do we need to add the questions and challenges themselves, we also need code to evaluate whether the user satisfied the requirements of the question. For example, one of the questions we currently have is to change the color of a part with a given name. The game checks the color of the part after the user's code is run to see if the color was changed to the correct value.

2) Testing. There are often many ways to achieve things through code and our test cases may not catch certain approaches correctly. Please let me know if you come up with a correct solution to a question in the quiz which the game does not recognize.

The game is available to play here: www.roblox.com/Quiz-Test-Zone-place?id=169112241

If you have any ideas for questions please feel free to comment on this thread or send me a PM.
Report Abuse
ehern11 is not online. ehern11
Joined: 23 Apr 2011
Total Posts: 1541
29 Jul 2014 06:59 PM
ugh tl;dr
Report Abuse
CrowClaws is not online. CrowClaws
Joined: 04 Jul 2010
Total Posts: 4466
29 Jul 2014 07:00 PM
Quick Question.
How would asking a Newbie scripter srcipting questions help them learn...
e.o
Report Abuse
Krosskode is not online. Krosskode
Joined: 26 Aug 2010
Total Posts: 11001
29 Jul 2014 07:10 PM
How about a question with the new pathfinding service? That'd sure be neat!
Report Abuse
TigreBlood is not online. TigreBlood
Joined: 31 Jul 2011
Total Posts: 1107
29 Jul 2014 07:11 PM
this is really cool :D
Report Abuse
CrowClaws is not online. CrowClaws
Joined: 04 Jul 2010
Total Posts: 4466
29 Jul 2014 07:12 PM
Wait. This is a Forum Mod with only 8 forum posts...
Report Abuse
ehern11 is not online. ehern11
Joined: 23 Apr 2011
Total Posts: 1541
29 Jul 2014 07:13 PM
maybe hes new
Report Abuse
ehern11 is not online. ehern11
Joined: 23 Apr 2011
Total Posts: 1541
29 Jul 2014 07:14 PM
i think your game is broke, I changed the BrickColor to yellow and it said it did not work >.<
Report Abuse
UristMcSparks is not online. UristMcSparks
Forum Moderator
Joined: 27 Feb 2010
Total Posts: 44
29 Jul 2014 07:15 PM
I don't post here very often, my true domain is the Wiki. In any case, the idea of this is to be a supplemental learning tool. Just like learning math, you have to do exercises to make sure you understand the concepts. This game will be a companion to lessons and articles that we publish on the Wiki and such.
Report Abuse
KEVEKEV77 is not online. KEVEKEV77
Joined: 12 Mar 2009
Total Posts: 6961
29 Jul 2014 07:15 PM
Why cant I change it to yellow? plz be more specific.

Color3?
New yeller?
Is there even a "yellow" brickcolor?
Report Abuse
CrowClaws is not online. CrowClaws
Joined: 04 Jul 2010
Total Posts: 4466
29 Jul 2014 07:16 PM
@Urist I see.
So you are going to make a Quiz and link it to Wiki Article(s)
Report Abuse
UristMcSparks is not online. UristMcSparks
Forum Moderator
Joined: 27 Feb 2010
Total Posts: 44
29 Jul 2014 07:16 PM
Krosskode: A pathfinding question sounds cool. I'll see what I can do.

ehern11: For the brick color question, do you mind posting the code you used that didn't work?
Report Abuse
KEVEKEV77 is not online. KEVEKEV77
Joined: 12 Mar 2009
Total Posts: 6961
29 Jul 2014 07:17 PM
game.Workspace.ColorPart.BrickColor = BrickColor.new("Yellow")
Report Abuse
CrowClaws is not online. CrowClaws
Joined: 04 Jul 2010
Total Posts: 4466
29 Jul 2014 07:18 PM
@Urists About the color thing.
You don't have the game check bricks, you can make it check the chat. Like

if playersaid "game.Workspace.Brick.Color = aonsfsd") do stuffs
Report Abuse
ehern11 is not online. ehern11
Joined: 23 Apr 2011
Total Posts: 1541
29 Jul 2014 07:20 PM
the code that kev posted was the one i used.
Report Abuse
UristMcSparks is not online. UristMcSparks
Forum Moderator
Joined: 27 Feb 2010
Total Posts: 44
29 Jul 2014 07:31 PM
Curious, BrickColor.Yellow is fine, BrickColor("Yellow") is not. If you want to use a string constructor it actually has to be BrickColor("Bright yellow"). I'll change the question prompt to better reflect this. Good catch!
Report Abuse
ehern11 is not online. ehern11
Joined: 23 Apr 2011
Total Posts: 1541
29 Jul 2014 07:31 PM
what's the id to daring beards texture...
Report Abuse
ehern11 is not online. ehern11
Joined: 23 Apr 2011
Total Posts: 1541
29 Jul 2014 07:35 PM
um, so i have the beard there and everything but it keeps saying i'm wrong
Report Abuse
fingernaiIs is not online. fingernaiIs
Joined: 24 Mar 2014
Total Posts: 9
29 Jul 2014 07:57 PM
free model it, it works 100 percent!!
Report Abuse
UristMcSparks is not online. UristMcSparks
Forum Moderator
Joined: 27 Feb 2010
Total Posts: 44
30 Jul 2014 12:20 PM
Beard and Color questions may not work for some folks, there was a problem with the random number generator (if you're curious it was because math.randomseed is not deterministic)
Report Abuse
GamesKeith is not online. GamesKeith
Joined: 28 Jul 2014
Total Posts: 2261
30 Jul 2014 12:31 PM
gona go test it
Report Abuse
GamesKeith is not online. GamesKeith
Joined: 28 Jul 2014
Total Posts: 2261
30 Jul 2014 12:33 PM
Uhhh, how do we know where the face is in the model?
Report Abuse
GamesKeith is not online. GamesKeith
Joined: 28 Jul 2014
Total Posts: 2261
30 Jul 2014 12:37 PM
Alright, so I got stuck on the face thing because I couldn't figure out where the face would be located.

How about instead of explaining that the part to change the color of is game.Workspace.ColorPart, why not have a dynamic layout of relevant stuff like the Explorer?
Report Abuse
UristMcSparks is not online. UristMcSparks
Forum Moderator
Joined: 27 Feb 2010
Total Posts: 44
30 Jul 2014 07:06 PM
The game now features a simple explorer/property window. Hopefully this should help more than just a text description of the part hierarchy. Also decided to add hints soon.
Report Abuse
Frostglacier is not online. Frostglacier
Joined: 28 Oct 2010
Total Posts: 4177
30 Jul 2014 07:15 PM
I think this is an excellent way for beginners to practice and test their scripting skills.

However, I did notice a certain problem.

I tried scripting in some different code other than what was expected, and quite obviously it turned out to be incorrect in terms of the goal. When I tried resetting, it did clear the code but it did not reset the Workspace. This means that if I were to, for example, remove the head of the NPC in the face-changing part, there would be no way to change the face.

A hint button may be something to consider; it can give small tidbits of code or point out a common mistake.
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