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 » Club Houses » Off Topic
Home Search
 

Re: Game Creation 101

Previous Thread :: Next Thread 
PirateX12 is not online. PirateX12
Joined: 01 Dec 2010
Total Posts: 220
29 Jan 2014 01:50 PM
Simple way of creating a short-clip in JS without having trouble :) --
--------------------
confirm("Are you ready to play this epic game?");
var age = prompt("Please confirm your age:");
if (age < 18); {
console.log("You're allowed to enter.");
}
if(age >= 18) {
console.log("Sorry, but you can't play this game");


}
console.log("Snow White and Batman were hanging out at the bus stop, waiting to go to the shops. There was a sale on and both needed some new threads. You've never really liked Batman. You walk up to him.");
console.log("Batman glares at you.");
var userAnswer = prompt("Are you feeling lucky, punk?");
if (userAnswer === ("Yes")); {
console.log("Batman hits you very hard. It's Batman and you're you! Of course Batman wins!");
} if (userAnswer === ("No")); {
console.log("You did not say yes to feeling lucky. Good choice! You are a winner in the game of not getting beaten up by Batman.");
}
confirm("Move onto next scene?");
console.log("Cop: "We've done all we could to resurrect The Flash, sire, but any results did not show conclusive"");
console.log("Gordon: "Try using that Electricity Shocker");
console.log("*You walk into the room*");
var userAnswer2 = prompt("Cop: "You're not allowed to be here sir. Are you gonna move or am I going to have to make you?"");
if (userAnswer2 = ("No, you'll have to make me")); {
console.log("Cop: "Alright wise guy!"");
console.log("*You beat up the cop*");
console.log("Cop: "Security!"");
}
else {
console.log("Cop: "Wise Choice.")
}

confirm("Move onto scene 3?")
----------------
Post in comments if you think I should continue into Scene 3, 4, and 5, and see what happens to Flash and You!

Report Abuse
jjs12346 is not online. jjs12346
Joined: 03 Aug 2012
Total Posts: 4182
29 Jan 2014 01:51 PM
http://www.roblox.com/Forum/ShowForum.aspx?ForumID=40
Report Abuse
danipie2 is not online. danipie2
Joined: 06 Sep 2012
Total Posts: 38572
29 Jan 2014 01:51 PM
[ Content Deleted ]
Report Abuse
OTRainbowDash5000 is not online. OTRainbowDash5000
Joined: 29 Jul 2013
Total Posts: 14883
29 Jan 2014 01:53 PM
Guessing you did this as a lesson in code academy?

I remember doing that a while back.

crush, kill, destroy, swag
Report Abuse
andrew900701 is not online. andrew900701
Joined: 15 Jul 2008
Total Posts: 21519
29 Jan 2014 01:54 PM
Yes this is from code academy.

I remember that, it is very simple.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Club Houses » Off Topic
   
 
   
  • 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