Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!


1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


KailiKame

Member Since 21 Jan 2013
Offline Last Active Mar 26 2015 05:25 PM

#5168822 Xcode Can't find freeglut

Posted by KailiKame on 24 July 2014 - 01:59 AM

nvm got an answer on OpenGL forum :)




#5163711 Text adventure user input

Posted by KailiKame on 29 June 2014 - 03:26 PM

I am trying to allow the player to travel to different rooms. Each room (t1, t2, and t3) has a vector of exits. When I run the program, the player is able to travel to a room. However, it automatically places the user back in the starter room. Is there a better way that i should be checking this?
 
Character test = new Character ("Test", "Sample character", t1, null);
test.printCharacter();
 
t1.printLocation();
 
Scanner input = new Scanner(System.in);
test.setCommand(input.nextLine());
 
//Options for t1
if (test.getCommand().equals(t1.getExits().get(0).getDirName())) {
test.setLocation(t2);
t2.printLocation();
t2.visited = true;
}
 
if (test.getCommand().equals(t1.getExits().get(1).getDirection())) {
test.setLocation(t3);
t3.printLocation();
t3.visited = true;
}
 
while (test.getLocation() != t1){
//Options for t2
if (test.getCommand().equals(t2.getExits().get(0).getDirection())) {
test.setLocation(t1);
t1.printLocation();
}
 
//Options for t3
if(test.getCommand().equals(t3.getExits().get(0).getDirName())) {
test.setLocation(t1);
t1.printLocation();
}
}
 
if ((t2.visited == true) && (t3.visited)) {
input.close();
}
}
 



#5154977 Contacting press

Posted by KailiKame on 20 May 2014 - 11:35 PM

When looking at game magazines, under the "contact us" page, I mostly find the email for the editor in chief. This doesn't seem like the right person to give neews about a game. Shouldn't it be someone under this person? If so, where can I find the right people?

I've also seen online web forms instead of giving email addresses. This doesn't seem like the right place either.

Places I've tried:
Family Friendly Gaming
Cartridge Magazine
Gamasutra
Game Informer
IGN Entertainment




PARTNERS