
Blog
-
Travelogue: Roblox Museum
Hello. This is the first in a series of Travelogue articles, where an explorer visits a place and then writes about their journeys.
| April 23, 2007 -
More Contest Submissions
The billboard contest ends in just over 60 hours. The prize-awesomeness to time investment ratio of this contest is very high, so don’t miss out. Remember that there will be up to six winners! So just because some of submissions so far are incr...
| April 6, 2007 -
Billboard Contest Entries Flooding In!
We’re got some great entries to our billboard contest – for details about the contest, see the previous News article. A couple of people have asked about which image editing software to use. I personally use a very old version of Jasc Paint Sh...
| April 5, 2007 -
Roblox Billboard Contest
Time for another Roblox contest! If you’ve been waiting for a good contest to compete in – this is it. Contest If you have been to Crossroads in the past week or so, you will have noticed the fun Roblox-themed billboards that I’ve put in...
| April 4, 2007 -
April Fools courtesy of Telamon
Kudos to Telamon for his nicely crafted ROBLOX April fools post. And congrats to
| April 2, 2007 -
April Fools courtesy of Telamon
Kudos to Telamon for his nicely crafted ROBLOX April fools post. And congrats to “miso-ichy-san” for being our first user to recognize the spoof. Some hints for those of you who are Sherlock Holmes protégés: The 380 million quot...
| April 2, 2007 -
WWC Results!
WWC Contest Winners! These players will get a message from me shortly with information on how to collect their prize.
| March 19, 2007 -
Building Contest Status
The World Wonder Contest ended last night at midnight, Pacific Standard Time. We are tallying the results and doing some database audits to make sure everything is on the up and up, then we will release the standings.
| March 18, 2007 -
Scripting with Telamon: Debugging
Howdy! Today’s article is for Roblox power users who want to learn how to develop scripts in Roblox.
| February 15, 2007 -
Scripting with Telamon
Howdy! Today’s article is for Roblox power users who want to learn how to develop scripts in Roblox. This is not a programming language tutorial - I will assume you know enough about lua to look at a piece of code and guess at what it does. Rather I am going to teach you how to deal with buggy scripts and show how to debug them. Debugging in general is a mystical art - I use the word “art”, which is the product of innate creative forces, in constrast to “science”, which can be dissected, reduced, and taught. We’ve built some tools into Roblox Studio to help you though. strong We’re going to build a secret door. An easy way to make a secret door is to make a brick and set its CanCollide property to false. Anyone can them walk through such a brick. No. Our secret door is going to be special. It’s eventually going to guard the treasure room in my castle and it’s only going to let approved members of the Pirate Army through (Arrrrr!). Clearly we need some scripting here, me hearties. strong When I’m making a complicated script, I try to test it as I go along. I’ve seen a lot of people in intro programming classes try to write all their code at once and then test it. This is about the most painful way to write code. Don’t do it. Instead, write the shortest bit of code that you can test. Test it. If it works, add some more stuff. Then test it. If something broke, you know where to start looking. A more simple version of the door we want to make is a door that just turns transparent whenever anything touches it. a strong Ok, time to break out the power tools. If you have been scripting without these, I feel sorry for you. There are two that I will talk about today: the Output window and the Command toolbar. The first is by far the most useful, so I will focus on it. To bring up the Output window, use the View -> Output menu option. This is add a window pane to the bottom of your screen. This window will show the output from your scripts while they are running. If your script has an error in it, the error will be printed here along with the line number telling you where the script broke. Let’s look at both of these right now. In your new script, paste the following code: p As you can probably tell, this script prints “Hello world!”, spits out the numbers 1 to 10 and then crashes on an error. If you press the Run button in Studio, you can see this. The output will look like this: p This is telling us that line 7 of our script is bad, which is something we already knew. However, in a more complicated script, it can be very helpful to print out stuff as the script is running so that you can see where things are going wrong. It may seem obvious once I’ve said it, but if something is broken with your script, start printing stuff out - rare is the bug that will not succumb to this level of scrutiny. I once wrote an entire operating system, using only printf to debug it. a p And if you have a part named “Door” in your level, it will be immediately teleported to (0, 100 ,0) while the game is running. This is kindof arcane, but I mention it because I have found the Command Toolbar useful on occassion. strong Here it is: p If you have ever seriously tried to learn lua scripting for Roblox, you have looked at some Roblox scripts. The code for listening to a Touch event should look familiar. Basically I have wired up the Part.Touched event to call the onTouched function whenever the part is touched by another part. When this happens, the door will turn semi-transparent for 5 seconds. Add this to your Door script, save your map, and try it. If you touch or shoot the door, you will see a nice effect. If you have the Output Window up, you will also see a “Door Hit” message printed whenever the door is touched. If you did not see this message, you would know that the onTouch function was not being called and that you had not wired up the event handler correctly. strong Like I said, this is not a tutorial on actually writing code, only debugging it. So here is the finished script: p It has one bug in it. Without using the Output Window, the only thing you will be able to tell is that the script is not working. With the Output Window, the problem becomes obvious: p Since the script prints out “Door Hit”, but not “Human touched door”, we know the problem is somewhere in line 18 or 19 of the code. The Output window tells us that there is a problem on line 18 - findFirstChild is failing. Ah! That is because in Lua methods are invoked using a colon (:) instead of a dot (.) (all other languages of consequence use dots for this - curse the inventors of Lua!) Change the line 18 to be: p a - Telamon
| February 14, 2007 -
RobloxPolice Gives the Low Down on RobloxPolice
strong This week we reprise our Reports From Robloxia column, written by you, the citizens of Robloxia. This week’s article is written by RobloxPolice, one of our most accomplished builders and owner of the current #1 all-time most popular place on Roblox. Due to his skills and possibly his account name, people often assume that RobloxPolice is an official Roblox moderator or admin. To set the record straight: this is not the case. Rest assured, the Roblox Team has strong libertarian leanings; we would never set up a police state in Robloxia. Enough introduction, let’s see what RP has to say… - Telamon strong strong A lonely programmer like me writing an article to an international hit! Hi, this is RobloxPolice and I’m here to give the scoop and me and the Police Force of Roblox. A lot of people have been asking me who I am, so I’ll start there… strong a strong Well the Police Force is open to the best of Roblox. In order to join you have to be an honest trustworthy person above all! The Police Force is here to help and serve the community of Roblox! Here are the requirements for joining as I posted them in the forums: strong strong I’m not gonna tell you it’s as easy as pie! But I’m sure strong Well I can’t release to many details, but yes. There are some goodies coming. There’s some low level secrets like new maps and a new “competition” or “tournament” coming from the Police Force to see who really is the best of Roblox. I plan to start developing more new game types and possibly the First RPG map of Roblox History. But we’ll see what happens. strong I don’t just make awesome maps: sometimes I visit awesome maps and talk to other awesome people! So I’ve compiled a list of my top 5 favorite maps not affiliated with me… - RobloxPolice
| February 7, 2007 -
Encyclopedia Robloxica
The Roblox Community owes a debt to MrDoomBringer who has recently reworked the Roblox Wiki
| February 5, 2007 -
Reports From Robloxia
Last week the Roblox team decided we would like to experiment with a “Reports From Robloxia” column written directly by our players for the Roblog. I solicited articles from a few of Robloxia’s finest builders and brick warriors, offering th...
| January 30, 2007 -
Reports From Robloxia
Last week the Roblox team decided we would like to experiment with a ”Reports From Robloxia” column written directly by our players for the Roblog. I solicited articles from a few of Robloxia’s finest builders and brick warriors, offering them the chance to write about whatever they like. - Telamon - - - span That is exactly what I told my friend who first showed me Roblox. Ever since then I have been playing this game pretty regularly. It really took me a while to kinda get good at this game… like some of you out there I was a total noob… but after a while and some practice vs. some of the better players like strong Ok well let’s see here - I’ll just start listing them… let’s say you are fighting someone and you and that person are not that far away. When this happens normally I like to whip out my rocket and shoot near them and close to the ground. Now you might be like why close to the ground… well the answer for this would be that you don’t have to hit the person you just have to get the explosion of the rocket to hit them to kill them. Sometimes the person gets lucky and just loses a leg. Another little trick I like to use is what I call head bouncing. So here is the situation someone is shooting from an area up above you… well obviously they have the advantage in most situations by being higher up. So my solution is the super ball. I get out that weapon and aim to hit their head. Now this won’t get you a one hit kill but hey it is more fun for you. If you have a nice shot it will hit your opponent right square in the head and their character will guy flipped over onto their back and bounce around for a bit, fun eh? Well since I don’t want to give away all of my little secrets and tricks here is the last one. Every once in a while you have to go up against a person who is good with the rocket. Well instead of dodging their rockets I like to shoot them down with a super ball. This way you can keep your position, you don’t have to worry about stuff falling down or hitting you, and just on some rare occasions if you do this quick enough the persons rocket will explode right on top of them. Oh yea when fighting if you want to stay alive remember to jump every now and then… ok, I am done now with tips and tricks. strong So what maps are cool out there… well that is all a personal opinion don’t you think? But here are the ones that I like right now. strong Now of course after listing to you all the places I like the most I am going to tell you what I think the coolest users are besides me of course, I mean come on I am the coolest (hope you all got the sarcasm there). These people you definitely want to be friends with. Thunderstealth a.k.a Pilotluke he is a good builder,
| January 30, 2007 -
Homestead Contest Update
Progress 8 users have submitted 38 models. 30 winning models have been added to the Furniture tab in the Roblox Toolbox. The Homestead Contest Level has been updated to include all entries submitted so far. Contest Ending Date We have received...
| January 18, 2007 -
Awesome Contest Entries
Keep them coming guys! I’ve added all contestants’ furniture submissions to the Homestead Contest Level , so everyone can go check them out. Submissions are grouped by author in the level. I’ve gotten some awesome stuff so far! I’ve gotten...
| January 17, 2007 -
Kicking off the New Year with Style!
A little over a week into the brand new year, and already we have a fresh update for all you nice people. Here are a few things to be on the lookout for as you explore the web site: Administrator Badges: It’s a violation of our Terms of Ser...
| January 9, 2007