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
 

Re: What does printing do in-game

Previous Thread :: Next Thread 
Frostbrisk is not online. Frostbrisk
Joined: 23 Nov 2014
Total Posts: 249
26 Nov 2014 08:27 PM
?
Report Abuse
djboy is not online. djboy
Joined: 16 Mar 2008
Total Posts: 794
26 Nov 2014 08:28 PM
print("Hello")

Would make something say Hello in the output.
Report Abuse
smallshadow68 is not online. smallshadow68
Joined: 03 Feb 2013
Total Posts: 606
26 Nov 2014 08:32 PM
But in-game it does nothing. It only writes to the Output, which is seen in ROBLOX Studio or the Developer Console.
Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
26 Nov 2014 08:37 PM
In-game it writes to the output.
That is not "nothing".

Google definition:

noth·ing
pronoun
not anything; no single thing.
"I said nothing"

something of no importance or concern.
"“What are you laughing at?” “Oh, nothing, sir.”"

(in calculations) no amount; zero.
Report Abuse
ImageLabel is not online. ImageLabel
Joined: 08 Dec 2012
Total Posts: 428
26 Nov 2014 08:38 PM
..I think by nothing he means..It doesn't really affect gameplay?
Report Abuse
smallshadow68 is not online. smallshadow68
Joined: 03 Feb 2013
Total Posts: 606
26 Nov 2014 08:39 PM
Assuming that "in-game" means a physical and/or visible change in the game, then you'd be right. However, the Developer Console is within the Menu GUI, which is a CoreGui. Like all CoreGuis, they're read-only and Locked. Hidden from "game" entirely.

Nothing happens IN GAME :D

Get it?

Scripting puns .3.
Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
26 Nov 2014 08:40 PM
Well, it can slow down your script, I think. I don't remember. I think at least one time I saw evidence of it slowing down a loop. I don't know, I might be confusing it with something else.
Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
26 Nov 2014 08:41 PM
Now you're just confused. Let me straighten you out.

If "Nothing" happens "In game", then the game clearly has no scripts nor programming. Since all Roblox games do, then something ALWAYS happens in-game.
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
26 Nov 2014 08:42 PM
Everything will slow down your script silly
Report Abuse
smallshadow68 is not online. smallshadow68
Joined: 03 Feb 2013
Total Posts: 606
26 Nov 2014 08:43 PM
It's outside of the game...

It's in the...

dundundundun
tssssssssssssss
DUNDUNDUNDUNDUNTSTSTSUNDUSNTSTS

DATA MODEL
bwuuuUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUM
Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
26 Nov 2014 08:44 PM
I know. I meant dramatically. Well, "dramatically" is relative. But anyways. I mean like, there was a VERY noticeable difference between running the loop with prints, and running it without.
Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
26 Nov 2014 08:45 PM
@Smallshadow
The variable "game" references DataModel.
You are just confusing yourself even more.
Report Abuse
ImageLabel is not online. ImageLabel
Joined: 08 Dec 2012
Total Posts: 428
26 Nov 2014 08:45 PM
hehe
Report Abuse
smallshadow68 is not online. smallshadow68
Joined: 03 Feb 2013
Total Posts: 606
26 Nov 2014 08:47 PM
DataModel = container of game, which is the metatable being referenced and altered.
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
26 Nov 2014 08:49 PM
No, game is a reference to the DataModel (the parent of all the services).
It is not the metatable at all...
Report Abuse
smallshadow68 is not online. smallshadow68
Joined: 03 Feb 2013
Total Posts: 606
26 Nov 2014 08:49 PM
And also, yes. In most cases running a big loop will slow down a game. In fact:
==================
function crash()
print("oops")
crash()
end

crash()
==================
will crash Studio if pasted into the Output and executed.
Report Abuse
ImageLabel is not online. ImageLabel
Joined: 08 Dec 2012
Total Posts: 428
26 Nov 2014 08:50 PM
game = reference to DataModel;

it's just some way of accessing `DataModel`
Report Abuse
smallshadow68 is not online. smallshadow68
Joined: 03 Feb 2013
Total Posts: 606
26 Nov 2014 08:50 PM
But 'game' itself is not the root instance, right?
Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
26 Nov 2014 08:50 PM
Actually, no, that will create a Stack Overflow, and stop running.
It won't crash. I'm saying that using print slows down a loop by a little.
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
26 Nov 2014 08:51 PM
game is a reference to, that's all.
Nothing should be hard to understand.
Report Abuse
smallshadow68 is not online. smallshadow68
Joined: 03 Feb 2013
Total Posts: 606
26 Nov 2014 08:53 PM
Try it yourself. In the time it's taken me to respond Studio has crashed three times.
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
26 Nov 2014 08:54 PM
Try what my self?
workspace.Parent == game?

Stop trying to argue with something that everyone should already understand.
Report Abuse
smallshadow68 is not online. smallshadow68
Joined: 03 Feb 2013
Total Posts: 606
26 Nov 2014 08:56 PM
No, this:
=================
function crash()
print("oops")
crash()
end

crash()
=================
Report Abuse
ImageLabel is not online. ImageLabel
Joined: 08 Dec 2012
Total Posts: 428
26 Nov 2014 08:56 PM
stack overflow expected, stack overflow obtained.
Report Abuse
ImageLabel is not online. ImageLabel
Joined: 08 Dec 2012
Total Posts: 428
26 Nov 2014 08:57 PM
Also, I'm confused..what exactly is the argument here..
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