What can I say? It's finally time. When does the beta start? Don't know yet, but what I do know is that we have got 20 beta keys to give away !
First up we have the...
Starcraft Cake Contest!
Get your bake (cake?) on with the TL Starcraft 2 Beta Key Bake Off!
When? Update: Changed ending date slightly to allow North American users to use their weekend fully. In order to allow North American users to use the most of their weekend possible, we'll end it at June 15th 18:00 KST (June 15th, 11:00 CET // June 15th, 5:00 EST // June 15th, 2:00 PST).
How? Simple, make a Starcraft themed pastry! From a diorama of marines jumping lurker spines to a Carrier-cake, anything (edible) goes.
Prizes: The top 3 entries (to be determined by the TL staff) will each receive two (2) beta keys for the upcoming SC2 beta! Afterall, playing with a friend is way more fun than playing alone.
Eligibility: The contest is open to everyone*. You can enter as many times as you like, but each participant can only win once (1 prize = 2 keys). If you entered in the original "unofficial" cake contest a month ago, you may submit those entries again but your previous votes will not count towards this.
Note that we will require pictures of the cake making process (at least a couple) including at least 1 where you demonstrate authenticity . A picture of you spreading icing with a "Hi TL! - Love FA" on a sheet of paper would be just fine.
Sign-Up: Update: Post your cake HERE, then follow the old steps. It's gonna make it a toooon easier for me to add the cake pictures to the thread
Send a PM, declaring your participation as well as a link to your contest submission. In addition, please provide the name (and if applicable, TL.net ID) of the person you wish to give your 2nd key to, should you win. + Show Spoiler [Sample Registration] +
Name: Jonathan Walsh TL ID: FrozenArbiter E-mail: E-Mail - 123@123 Link to submission: http://www.notreallyalink I will give my 2nd beta-key to... ... SoMuchBetter
The title of your PM should include a [CAKE] tag, as well as your ID.
Disclaimer: The selling of beta-keys is strictly prohibited. Should you be caught trying to sell your key, you will be permanently banned and the key disabled. Guide Contest
Got ZvT on Destination down to an art form? Have the perfect travellers plan for the SC loving tourist in Seoul? Tell the rest of TL all about it, and be eligible for a SC2 beta key! When? Update: Changed ending date slightly to allow North American users to use their weekend fully. In order to allow North American users to use the most of their weekend possible, we'll end it at June 15th 18:00 KST (June 15th, 11:00 CET // June 15th, 5:00 EST // June 15th, 2:00 PST).
How? Write a guide, on any subject, post it on TL and PM, declaring your participation in the contest. Mark the title with [Guide].
For more thorough instructions on what to include in the PM, see the Sign-Up later on in this post.
The guide can be about more or less anything, whether it’s about Starcraft or something completely unrelated (backpacking in Europe, preparing the perfect dessert or securing your system against spyware).
Basically, as long as what you've written is informative, you're in with a shot.
Prizes: The top 3 entries (to be determined by the TL staff) will each receive two beta keys for the upcoming SC2 beta.
Eligibility: The contest is open to everyone*. You can enter as many times as you like, but each participant can only win once (1 prize = 2 keys).
You may NOT enter anything that was posted before the announcement of this contest. If you had something written earlier but had not posted it yet, you may enter it.
Sign-Up: Send a PM, declaring your participation as well as a link to your contest submission. In addition, please provide the name (and if applicable, TL.net ID) of the person you wish to give your 2nd key to, should you win. + Show Spoiler [Sample Registration] +
Name: Jonathan Walsh TL ID: FrozenArbiter E-mail: E-Mail - 123@123 Link to submission: http://www.notreallyalink I will give my 2nd beta-key to... ... SoMuchBetter
The title of your PM should include a [GUIDE] tag, as well as your TL ID.
Disclaimer: The selling of beta-keys is strictly prohibited. Should you be caught trying to sell your key, you will be permanently banned and the key disabled. Starcraft Ironman
Want a shot at a beta key but find your cooking lacking? Writing not your forte? Fear not, the Starcraft Ironman is here; prove your Starcraft know-how in a 5 discipline SC tournament!
When? There will be four tournaments spread out over 1 week as follows:
PLEASE NOTE: We are required to push the tourny dates back a bit. We will update when we have solid dates. Welcome to esports - love kennigit. Tour Dates - TBD
NOTE: You are only allowed to sign up for one (1) tournament!
A 64x64 version of the map Abattoir (aptly named Neo Abattoir), created specifically for this tournament. Blood Bath on crack.
Some notes about the map: - Placing a building in the colored choke is a perfect wall with units spawning on the safe side. - Every base has one mineral patch that is exposed to another base. This mineral is separate so that good players can redirect workers away from cannons / sunkens / etc. - The terrain in between bases is high ground. This means you will need something to grant vision if you want to cannon your opponent's mineral patch.
Players will be randomly teamed up and square off in a 4v4. Game Mode: Top vs Bottom
For Round 2 we have both an unusual gametype as well as an unusual map. Created by TL member Mora, aka Teroru, back in 2005, it was used for that years Blizzcon Invitational.
Team Capture the Flag is a sadly under-played game mode which functions like a regular Team Melee game (that is, several players control one player), but with the added twist of a flag.. Capturing the opposing teams flag will result in a win, just as if you had eliminated them. Game Mode: Team Capture the Flag
Note:Each team will have to pick 1 of each race - that is P T R Z. Which one is your main race (which determines what building you start with) is up to each team to decide.
Random Micro Arena is a team based UMS, more similiar to Tournament Control than - as the name would suggest - the more traditional Team Micro Arena.
Players are given a random set of units every round (activated by morphing your high templars), and do battle vs the opposing team. Only one player is active at any given time, but once per round (of which there are 8), you may elect to "tag" in one of your team mates.
Should you not tag, your team mate will replace you once you die - until there's only one player left standing, winning the round. Game Mode: Use Map Settings
Sin City is an interesting but fairly standard map, so let's jump right to the game-type: 2c2p v 2c2p.
You may be asking yourself just what the hell this is, and I don't blame you. Not many people regularly play 4v4s with computer allies
Teams of 2 players and 2 computers will face off against eachother, with the winners advancing to the FFA finals.
Important Note: Players are NOT allowed to abuse the computer A.I by attacking one of their workers or buildings with their scouting peon (causes all A.I workers to chase said peon). If you should happen to do so by accident, you MUST leave your peon to its fate, unless it is your last peon.
Secondly, while players are free to set their own race, as well as that of their computer allies, you cannot have more than 2 of each race on a team. PPTT is fine, PPPT is not. PTZZ, also fine etc.
Having made it this far, it's time for some regular FFA.. on a couple of mind-twistingly beautiful maps.
Both maps are made by Freakling from http://www.broodwarmaps.net , and not surprisingly they both won Map of the Month awards. If you want to leave him a comment on the maps you can do so here: Mystique Unreality
Mystique will be the FFA map for Tour 1 and Tour 4. Unreality will be the FFA map for Tour 2 and Tour 3.
The winning player will recieve 2 beta keys, one for him-or herself, and one for a person of their choosing.
Players should use the Observer version of the maps (O), and one referee will be present as an observer.
Replays Replays must be saved for all games, and sent in after each round to betacontest@gmail.com For game modes where replays cannot be saved, please take a screenshot of the score screen and send it to the same address.
Bugs The following bugs are legal for use in games: + Show Spoiler +
- Observer over turret - Units pressed through - Drops to defuse mines - Mineral walk - Hold lurker - Larvae Move
The following bugs are illegal for use in games: + Show Spoiler +
- Cargo glitch - Flying drones and templars - Terran sliding buildings - A bug which allows your units to remain stacked while moving/attacking - Team modifications (Allied mines, Unallied mines, etc.) - Sieging a Tank inside of a landed Terran Building 2c2p v 2c2p specific: Players are NOT allowed to abuse the computer A.I by attacking one of their workers with their scouting peon (causes all A.I workers to chase said peon). If you should happen to do so by accident, you MUST leave your peon to its fate, unless it is your last peon.
Using an illegal bug will result in an instant forfeit of the game in which the bug use occurred.
Eligibility: The contest is open to everyone with a TL account created prior to June 1st 2009, with the exception of players residing in China. Due to lag issues we regrettably cannot allow anyone currently residing in China to participate. If you are a Chinese citizen but currently living outside of China you are of course free to enter.
Sign-Up: Send a PM, with the following info: Name: TL ID: ICCUP ID: E-mail: 2nd beta key goes to..: (Insert name, contact info and TL ID, if applicable, of the person you wish to give your 2nd key to, should you win)
Update: New dates will be announced as soon as we have them, in the meanwhile, you can ignore this part In addition, please mark down the tournaments you'd wish to attend in order of preference (1-4, with 1 being "most prefered"). If you can't make all of the tournaments simply mark down N/A for the ones you cannot. + Show Spoiler [Example] +
Tour 1: 1 Tour 2: N/A Tour 3: 2 Tour 4: 3
Note that you will only actually play in ONE of these tournaments.
Reserves: To prevent no-shows ruining the tournament, feel free to show up even if you didn't make it into the bracket.
Disclaimer: The selling of beta-keys is strictly prohibited. Should you be caught trying to sell your key, you will be permanently banned and the key disabled.
Total participants: 256
* Teamliquid reserves the right to deny registration at our discretion - known abusers/cheaters need not apply.
---------
So there you have it, a total of 20 beta-keys are up for grabs in the contests (6 cake-keys, 6 guide-keys, and 8 tournament keys). Best of luck to everyone participating!]
Reserving this post for answering future questions.
Questions asked in the thread, or sent in via email/PM, will be added here.
Questions:
On June 02 2009 03:10 Hammy wrote: Friggin awesome! Great job^^ Is there any way we could get the set of criteria that will be used to pick winners in the bake-off? And does it absolutely have to be cake or a pastry? Or could one make something non-baked as long as it's edible?
signed: A guy who doesn't have an oven
Anything edible goes
Can I use anything non-edible, as support or things like that?
Yes, but the majority of your work has to be edible.
Am I prohibited to enter if I already got a key and registered it? Even if I'm playing/writing to win keys for a friend?
You are free to enter.
On June 02 2009 04:14 Zozma wrote: "A bug that alows your units to remain stacked while moving/attacking" doesn't mean that mutalisk stacking is illegal, right? Just making sure.
No, this refers to things as perma-stacking SCVs with the geyser bug, or perma-stacking zerglings with burrow, etc.
Can I enter a guide I posted before this contest was announced
You may NOT enter anything that was posted before the announcement of this contest. If you had something written earlier but had not posted it yet, you may enter it.
The final version has fixed chokes (you can see they don't line up and one has a weird color by it in the version in the newspost). I'll upload the new map and images when I get home.
One question: Is plague on interceptors (plaguing them so they stay inside the Carrier until plague duration finishes) allowed?
We tested that and it's not a real glitch.
Ah, cool, thanks.
Also, will we be able to choose our team for the 2c2p v 2c2p?
No. You will be able to choose the computer's races (within the race guidelines) but not your partner. It will be random.
Edit: Looks like FA didn't post the race rules. You can choose at most 2 of each race per team. You can random to get more than 2, but you can't outright select more than 2 to be the same race.
Friggin awesome! Great job^^ Is there any way we could get the set of criteria that will be used to pick winners in the bake-off? And does it absolutely have to be cake or a pastry? Or could one make something non-baked as long as it's edible?
Not going to participate, but all these contests look like fun, also for "spectators" . Good job TL staff, you're pulling something great off once more!
On June 02 2009 03:17 Skyze wrote: the most interesting part of this, is it goes until June 16th... Hmmm. Thats pretty short for a contest. Maybe theres a hidden meaning in there?
One question: Is plague on interceptors (plaguing them so they stay inside the Carrier until plague duration finishes) allowed?
We tested that and it's not a real glitch.
Ah, cool, thanks.
Also, will we be able to choose our team for the 2c2p v 2c2p?
No. You will be able to choose the computer's races (within the race guidelines) but not your partner. It will be random.
Edit: Looks like FA didn't post the race rules. You can choose at most 2 of each race per team. You can random to get more than 2, but you can't outright select more than 2 to be the same race.
Hm weird, I'm 100% sure I did. Maybe it got lost when I removed one of the redundant paragraphs.
EDIT: Nvm, it's in there but kinda hidden. It's in the spoiler for the map Sin City, below the first "Important Note".
On June 02 2009 03:10 Hammy wrote: Friggin awesome! Great job^^ Is there any way we could get the set of criteria that will be used to pick winners in the bake-off? And does it absolutely have to be cake or a pastry? Or could one make something non-baked as long as it's edible?
So it's all about the look of the cake, right? Also, the process pictures are just for verification purposes? A half-finished cake usually doesn't look good, so that wouldn't count against us for marks, right?
On June 02 2009 04:06 Aranoi wrote: HECK YEAH! CAKE CONTEST!
So it's all about the look of the cake, right? Also, the process pictures are just for verification purposes? A half-finished cake usually doesn't look good, so that wouldn't count against us for marks, right?
On June 02 2009 04:14 Zozma wrote: "A bug that alows your units to remain stacked while moving/attacking" doesn't mean that mutalisk stacking is illegal, right? Just making sure.
Of course not lol. Its the hydra/lurkerstack or the stacked scv attack that's illegal.
On June 02 2009 03:10 Hammy wrote: Friggin awesome! Great job^^ Is there any way we could get the set of criteria that will be used to pick winners in the bake-off? And does it absolutely have to be cake or a pastry? Or could one make something non-baked as long as it's edible?
signed: A guy who doesn't have an oven
So, is there a definite set of criteria/marking scheme? Or is it just the top 3 that are like "holy shit that's awesome"?
The contest is open to everyone with a TL account created prior to June 1st 2009, with the exception of players residing in China. Due to lag issues
Oh no! that means that, If I don't had account until today I can't participate in this great tournament? I am not somone who never was here and sudenly want win SC2 key. Actualy I visiting this site every day around 3 years, I useing your tracker, reading forums, watching streams listening Day9 podcasts etc. I just never had need to post here so I did't need to make account until now when I see that I can't play your tournament. I am dissapointed. Anyway greate news and at least I hope you will stream and comentate this funny tournaments.
On June 02 2009 03:10 Hammy wrote: Friggin awesome! Great job^^ Is there any way we could get the set of criteria that will be used to pick winners in the bake-off? And does it absolutely have to be cake or a pastry? Or could one make something non-baked as long as it's edible?
signed: A guy who doesn't have an oven
So, is there a definite set of criteria/marking scheme? Or is it just the top 3 that are like "holy shit that's awesome"?
Sweet I can enter my previous cake! The only problem is that I don't have a sign showing the authenticity, and since I made the cake SO long ago, there is no way I can provide authenticity...
oooooooooooooooo so sick! I can't enter this contest though, it wouldn't be fair since I'll have too much rl stuff to play more than like 1-2 hours a day. still so sick though. BEST of luck to all dedicated people though! Hope we get some really nice representatives in this (Where is LastRomantic :wink
Can't decide between "A Guide to Holidays in Rio de Janeiro", "Books You Heard Of And Never Read (But I Did)" or something map-making related... Hehe...
On June 02 2009 06:00 ghermination wrote: I sent in a PM to sign up for the tourney... its time to start practicing on abitour for some amazing 8p ffa games!
Abattoir is the map for the 4v4, not the FFA. Also, there is no 8FFA in this tournament.
May I suggest that some games are played in capture the flag format and maybe also random micro arena as well, so that people can get familiar with the formats through the replays?
PLEASE NOTE: We are required to push the tourny dates back a bit. We will update when we have solid dates. Welcome to esports - love kennigit. Tour Dates - TBD
Wow you know how many epic in-depth guides we are going to have after this is done FA??? Jesus Christ, afterwords you will be able to find a guide on fucking anything!
I was wondering what was with all the guides randomly being made. And to think, I thought TL.netters were just contributing to the community ;D
FOr the Cake contest. Will we just be submitting pictures of the cake? What kind of pictures are you seeking? IS just one or 2 pictures of the cake from different angles ok? OR do you want to see us eating it as well?
On June 02 2009 17:12 toopham wrote: FOr the Cake contest. Will we just be submitting pictures of the cake? What kind of pictures are you seeking? IS just one or 2 pictures of the cake from different angles ok? OR do you want to see us eating it as well?
You need "making of" pictures, and preferably something that shows it's you making it (ie.. holding up a news paper with todays date on it, kidnapping style .. or something at least haha).
EDIT: The only exception to needing pictures is if your cake was posted in the previous TL-Bake Off hosted by unControllable, in which case it's fine if you don't have making off pictures.
On June 02 2009 16:26 Lemonwalrus wrote: Holy crap the Ro4 maps are beautiful.
Not participating, but good luck to all of those that are, can't wait to start watching games/seeing/reading submissions!
Man they are indeed - I was at somewhat of a loss for what map to use for the FFA, pestering people on msn to help me decide, when I stumbled across these on the Broodwarmaps.net frontpage.
Soooooooo awesome Freakling, if you see this, you rock
I hope I can get a key so I can make some HD videos and try to get ahead on figuring out modding of the game for the community I'm a part of. I know my friend would love to play, too. We've both modded SC1 for an extremely long time.
In regards to the tournament: what if you were active a year ago, stopped logging in and posting cause of a busy year, now your accounts gone cause you've been lurking, can you still participate in the tournament? haha
On June 03 2009 03:51 OhNoItsTheMunch wrote: In regards to the tournament: what if you were active a year ago, stopped logging in and posting cause of a busy year, now your accounts gone cause you've been lurking, can you still participate in the tournament? haha
Good luck all
Accounts aren't removed by being inactive - no way of recovering your password? What was your old account?
I'll get back with you with an official answer once we clear those two things up
FrozenArbiter> The instructions were not so clear in the guide post, you first said to PM any staff (I pm'd you) but then there's the PM link to the BetaContest account. Was my PM fine as it is or should I also send one to that account?
It's my bad, I will be fixing it now (2nd person to point it out ). The reason for the mistake is while I wrote the first part, I hadn't created the BetaContest account yet >_<
Hey, what time is the cutoff for the cake contest? I may end up working on this towards the end of the day PST on Sunday the 14th, and it'd be nice to know when the pictures are due.
Oh good question, I thought that was in the post.. I think it was in one of the earlier drafts but I forgot to include it in the final write-up. I will get back to you.
On June 03 2009 07:04 IskatuMesk wrote: Oh, okay. I was just a little confused. Should I send another PM?
For clarity, you might as well (I will be checking my own inbox as well, as many people sent it there anyway, but it's easiest to see it in the betacontest account as it's purely about this stuff).
On June 02 2009 04:14 Zozma wrote: "A bug that alows your units to remain stacked while moving/attacking" doesn't mean that mutalisk stacking is illegal, right? Just making sure.
No, this refers to things as perma-stacking SCVs with the geyser bug, or perma-stacking zerglings with burrow, etc.
this rule should be edited to say ground units, so there is no less confusion. or just append (does not apply to air units and lurkers).
What about the second key goes to..? Does it have to be someone with a TL account and does it make any difference or is it just to make sure people won't sell it?
If I would win one it would probably go to a friend of mine who doesn't play sc though.
On June 03 2009 10:09 h3r1n6 wrote: What about the second key goes to..? Does it have to be someone with a TL account and does it make any difference or is it just to make sure people won't sell it?
If I would win one it would probably go to a friend of mine who doesn't play sc though.
No need for TL account, it's mostly that you can't sell it, and if they have a TL account we can deal with them directly I guess.
On this abbatoir map, you can hit your opponents cc/nexus/hatch with siege tank in your base, but i dont really think that games will drag that long or whoever techs will die.
I'm completely confused about the ironman tournament, its a 64man tournament but you play 4v4 on those maps? how does that work? i'm seriously confused some1 please explain~
First round you play 4v4s (so there's 16 teams of 4, playing 8 matches) Second round you play CTF (so there's 8 teams of 4, playing 4 matches) 3rd round you play RMA (so there's 4 teams of 4, playing 2 matches) 4th round you play 2c2p v 2c2p (so there's 4 teams of 2, playing 2 matches) Final round the winners of round 4 play a Free For All (so there's 4 players playing 1 match).
On June 03 2009 22:10 Hyperionnn wrote: On this abbatoir map, you can hit your opponents cc/nexus/hatch with siege tank in your base, but i dont really think that games will drag that long or whoever techs will die.
Yes you can. If you turtle up to Seige Tanks, however, you will most likely lose a partner and therefore the person getting shelled will expand. We've tested that map a little bit and every race initially seems fairly viable. I'm sure if you study the map you can find imbalance strategies, but from what we saw, Cannon rushing, 4 SCV rushing and 5 Pooling were the best.
On June 03 2009 07:12 FrozenArbiter wrote: Oh good question, I thought that was in the post.. I think it was in one of the earlier drafts but I forgot to include it in the final write-up. I will get back to you.
Not trying to be annoying, but the answer to this question may determine what I'm doing this weekend. Ballpark?
On June 03 2009 07:12 FrozenArbiter wrote: Oh good question, I thought that was in the post.. I think it was in one of the earlier drafts but I forgot to include it in the final write-up. I will get back to you.
Not trying to be annoying, but the answer to this question may determine what I'm doing this weekend. Ballpark?
Not annoying, good thing you reminded me - it got lost in a sea of other things
In order to allow North American users to use the most of their weekend possible, we'll end it at June 15th 18:00 KST (June 15th, 11:00 CET // June 15th, 5:00 EST // June 15th, 2:00 PST).
The beta comes before SC 2 official launch, it's the final bug testing phase. Once the beta is done and the game finished, only then you'll receive your SC 2 preorder. A beta key allows you to participate in the beta phase.
I'll see if I can whip up something, but most likely I only end up spectating the works of others. Is there a possibility that a player or two stream some of their tourny games?
On June 04 2009 04:14 ApotheosisX wrote: can we sign up for ironman even if the tour dates havent been announced yet?
How will you guys decide who makes it into the tournament and who doesn't? is it a first come first serve? or will there be 4 ironmans so that most of the TL members get a chance at playing? and also because dates aren't out yet, is it possible to cancel participation in the tourny?
I completely do not understand why do you give 2keys per winner. It should be 1 key per winner - so that more people get the key for actually participating in the contests.
On June 13 2009 01:59 closed wrote: I completely do not understand why do you give 2keys per winner. It should be 1 key per winner - so that more people get the key for actually participating in the contests.
And then play through the campaign or vs comps for balance testing? They explained this. One for you, one for a friend, so you can play vs each other.
Eh, well, you will obviously be able to play vs everyone else with a key.
The reason is this:
Initially we had estimated 10 keys for these contests (we really weren't sure how many we were supposed to ask for), but then Blizzard was like "hey, that sounds good - but here's 10 keys more, that way you can give 2 per winner, so they can play together with their friends". They didn't say we had to do that, but we all thought it sounded like a good idea.
Of course, with the amount of good cakes now, it might have been better to split them up, but I still think it's a good idea to give people 2 keys each..
On June 13 2009 01:59 closed wrote: I completely do not understand why do you give 2keys per winner. It should be 1 key per winner - so that more people get the key for actually participating in the contests.
And then play through the campaign or vs comps for balance testing? They explained this. One for you, one for a friend, so you can play vs each other.
There will be a complete beta server with few hundred other players, not play testing versus computers. The Starcraft (1) beta did not have any single player maps..
I give up with my guide. I planned to do it on the weekend, but my weekend was snatched away at the last second, and now I have no time. It would have been a good guide
I signed up for ironman when they first announced it... its been delayed so long. Does anyone have any idea as to when the dates could possibly be? Speculation?
[Guide]How to Use Java to Create a Simple 2-D Game Java is an easy to learn programming language and can be used to create games. To use it though, an IDE (Integrated Design Environment) is required. We will use NetBeans 6.7. Something else that can be used is a game engine, a kit to creating games. We will use the FANG (Freely Available Networked Game) engine. First, we need to download the IDE. We will use the Java SE (Standard Edition) of NetBeans 6.7. NetBeans requires the JDK installed. To satisfy these needs, we will download the JDK 6 Update 14 bundled with NetBeans 6.7. Go to the Java SE Website (www.java.sun.com/javase) and click on the Downloads tab. Click on the Download button next to "JDK 6 Update 14 with NetBeans 6.7". Click on the first download link. Select your Platform of OS. The language is always multi-language. Click “continue”. You will see a link labeled"jdk-6u14-nb-6_7-windows-ml.exe". Right click it and select "Save Link As". Select the place you want to save it and wait until it is finished downloading. Now we need to install it. Run the executable file. I think we all know how to install something. If the JDK is already installed, just continue. When it is finished, you will find an icon of a light blue cube. That is NetBeans. Now we need the support of FANG. Go to www.fangengine.org and click on the Download link on the left. It is under the Main box. Download the fang.jar file that's under the FANG Engine Release 1.080309 title. The jar file isn't supposed to be run. We will import it later. Open NetBeans. It might take a while because it's being open the first time. Create a new project that is an application, not desktop application. Name it whatever you want. Find a check box that says Create Main Class and a box that says "yourprojectname".Main (replace "yourprojectname" with the name you gave your project). Change "Main" to Avoid. Click finish. Now you will see some code that says something related to” /* * To change this template, choose Tools | Templates * and open the template in the editor. */
Package javaapplication15;
/** * * @author Samuel */ public class Avoid {
/** * @param args the command line arguments */ public static void main(String[] args) { // TODO code application logic here }
}"(my project was called java application 15 and my name is Samuel). The text surrounded by /* and */ are comments. They do nothing but tell other programmers what the code does. They are the same as spaces. To get started, we need to import the jar file. Right-click the folder,” Libraries”. Select add JAR/folder and navigate to the place that you saved the fang.jar file. Select the file and click open. Add a line below package "yourprojectname"; that says "import fang.*;”. Import tells NetBeans to import it into the file. Fang.* tell NetBeans to import any thing in the package fang (which you added before) when it is needed. Also change the "public class Avoid { " to "public class Avoid extends Game{". Public means that anybody can see this file. Class means that it is a java file. Avoid is the name of the file. If it wasn't, NetBeans will underline it red, saying it is wrong. The "extends Game" means that Avoid gets all the stuff that the public class Game does for free (instead of Game.addSprite(); you can just type addSprite () . Now the file looks like this: /* * To change this template, choose Tools | Templates * and open the template in the editor. */
package javaapplication15;
import fang.*; /** * * @author Samuel */ public class Avoid extends Game {
/** * @param args the command line arguments */ public static void main(String[] args) { // TODO code application logic here }
}. You can see the //TODO code application logic here. That means we need TO DO something to make the application run. What we put is "Avoid() whatever = new Avoid();" and under it, "whatever. runAsApplication();". That says "whatever" is to be run as an application. Actually, you can put anything after the first "Avoid()" that doesn't exist(if it does, NetBeans will underline it in red) and it will still work. Just change the "whatever. runAsApplication();" to " ' what you put after Avoid()'.runAsApplication();". You can now notice that most lines end in a semi-colon. Every line that doesn't end with a curly brace has to end in a semi-colon. FANG provides us with a, something that the game looks at when running, that creates everything that exist before the game starts. This method is called setup. Because FANG already created it, we need to override it with new code. Somewhere under public class Avoid, place "@Override public void setup() {" and press enter. @Override tells NetBeans that we are overriding the method after it with new code. public vid setup() is the methods signature. A signature consist of the access level (public), what it returns(void)(which means nothing) and the name of the method followed by parenthesis(setup()). Sometimes there are parameters, things that you type in or FANG gives when using this method, in the parenthesis (e.g. advance(double secondsSinceLastCall) advance always has a double followed by a name. FANG give secondsSinceLastCall the amount of seconds since the game has started). Your code should now look like this (you can remove all the comments if you want. they are only needed if you want others to read your code correctly): /* * To change this template, choose Tools | Templates * and open the template in the editor. */
package javaapplication15;
import fang.*; /** * * @author Samuel */ public class Avoid extends Game { @Override public void setup() {
}
/** * @param args the command line arguments */ public static void main(String[] args) { Avoid whatever = new Avoid(); whatever. runAsApplication(); }
}. Things that you see in 2D games are sprites (the ones that are not the background). FANG, being a game engine, gives you classes that you can have to create sprites (e.g. RectangleSprite creates a rectangular sprite). First, I should tell you what game we are making. We are making a game where you are trying to avoid a falling object. If you move out of line, it corrects its trajectory slowly. This sounds complicated, but with FANG helping us, it is very easy. We will make a green square that the player controls and a red circle that is falling. To make the square, the following must be placed between the two curly braces after setup (the comments just help you understand what the code does): //creates a RectangleSprite called controled with a height of a tenth of a screen //and width of a tenth of a screen controled = new RectangleSprite(0.1, 0.1); //places the sprite controled on the bottom center of the screen controlled. setLocation(0.5, 0.9); //makes the color of controlled green controlled. setColor(getColor(“green”)); //adds the sprite to the screen addSprite(controlled); //creates a OvalSprite called falls that is 0.1 screends in diammaters falls = new OvalSprite(0.1, 0.1); //places the sprite falls on the top of the screen at a random location falls. setLocation(randomDouble(), 0.0); //makes falls red falls. setColor(getColor(“red”)); //adds falls to the screen addSprite(falls); . And this must be put before setup: private RectangleSprite controlled; private OvalSprite falls; It is very long but simple. To see what has changed, press F6. If there are any problems, the code should look like this: /* * To change this template, choose Tools | Templates * and open the template in the editor. */
package javaapplication15;
import fang.*; /** * * @author Samuel */ public class Avoid extends Game { private RectangleSprite controlled; private OvalSprite falls; @Override public void setup() { controlled = new RectangleSprite(0.1, 0.1); controlled. setLocation(0.5, 0.9); controlled. setColor(getColor("green")); addSprite(controlled); falls = new OvalSprite(0.1, 0.1); falls. setLocation(randomDouble(), 0.0); falls. setColor(getColor("red")); addSprite(falls); }
/** * @param args the command line arguments */ public static void main(String[] args) { Avoid whatever = new Avoid(); whatever. runAsApplication(); }
} . Since this guide is getting long, I won’t be providing any more comments. Add this outside of setup: @Override public void advance(double secondsSinceLastCall) { Location2D place = getMouse2D(); if (place != null) { controlled. setX(place. getX()); } if (falls. intersects(controlled)) { falls. setLocation(randomDouble(), 0.0); } if (falls. getY() <= 1.0) { falls. setLocation(randomDouble(), 0.0); } falls. translateY(0.33 * secondsSinceLastCall); if (falls. getX() < controlled. getX()) { falls. translateX(0.05 * secondsSinceLastCall); } if (falls. getX() > controlled. getX()) { falls. translateX(- 0.05 * secondsSinceLastCall); } } . That makes the green square follow the x position of your mouse, makes the red circle fall, and if the circle hits you or reaches the ground it teleports to the top. This game is simple because it only has two things, a player controlled square and a computer controlled circle. There is no score but the circle does try to follow you. FANG can be used for things like breakout or RPGs. To find out more, go to fangengine.org and look at the programs and tutorials.