chuk Posted September 2, 2012 Share Posted September 2, 2012 black star Quote Link to comment Share on other sites More sharing options...
Zeph Posted September 4, 2012 Share Posted September 4, 2012 Naruto's long lost brother. Quote Link to comment Share on other sites More sharing options...
R.A.V.S.O Posted September 4, 2012 Share Posted September 4, 2012 yet another unnecessary filler arc incoming. Quote Link to comment Share on other sites More sharing options...
Niyuki Posted September 4, 2012 Share Posted September 4, 2012 black rock shooter Quote Link to comment Share on other sites More sharing options...
Choko Posted September 4, 2012 Share Posted September 4, 2012 ć·ćŗćļ¼SZZUļ¼ Quote Link to comment Share on other sites More sharing options...
chuk Posted September 4, 2012 Share Posted September 4, 2012 public void init(){ try { clip = AudioSystem.getClip(); } catch (LineUnavailableException e) { e.printStackTrace(); } if(clip != null){ try { clip.open(); laser =con.loadAudio("laser");// AudioSystem.getAudioInputStream(con.getClass().getResourceAsStream("/resources/sounds/laser_1.wav")); } catch (UnsupportedAudioFileException e) { e.printStackTrace(); } catch (IOException e) { e.printStackTrace(); } catch (LineUnavailableException e) { e.printStackTrace(); } }else{ System.out.println("CLIP IS NULL (init)"); } public void playLaserSound() { if (laser != null) { try { clip.open(laser); clip.start(); } catch (LineUnavailableException e) { e.printStackTrace(); } catch (IOException e) { e.printStackTrace(); } }else{ System.out.println("LASER IS NULL"); } } The hell you need to do for Java to play a simple sound fragment of 3 seconds... Quote Link to comment Share on other sites More sharing options...
R.A.V.S.O Posted September 6, 2012 Share Posted September 6, 2012 looks like C#.... except more universal XD Quote Link to comment Share on other sites More sharing options...
chuk Posted September 6, 2012 Share Posted September 6, 2012 (Java & C++) == C# Quote Link to comment Share on other sites More sharing options...
Choko Posted September 7, 2012 Share Posted September 7, 2012 sudo make me a sandwich Quote Link to comment Share on other sites More sharing options...
R.A.V.S.O Posted September 7, 2012 Share Posted September 7, 2012 (edited) //(place this on main) static void Main(string[] args) { int sandwiches, epicness; Console.Write("How many sandwiches do you want today?: "); sandwiches = int.Parse(Console.ReadLine()); if (sandwiches <= 2) { Console.WriteLine("Enjoy your sandviches!!"); } else { Console.WriteLine("More than 2? hope you work out after such a "generous" serving... "); } Console.Clear(); Console.Write("BTW, in a scale of 1 to 10, how epic do you think I am?"); epicness = int.Parse(Console.ReadLine()); if (epicness <= 6) { epicness = epicness + 5 Console.Write("I took the liberty of modding that for you since I really am 5+, check the variable LOL"); } else { Console.Write("Close enough I guess...."); } Console.WriteLine("Press ENTER to terminate the program"); Console.ReadKey(); } Edited September 7, 2012 by R.A.V.S.O Quote Link to comment Share on other sites More sharing options...
chuk Posted September 7, 2012 Share Posted September 7, 2012 We're all nerds! Quote Link to comment Share on other sites More sharing options...
Zeph Posted September 10, 2012 Share Posted September 10, 2012 (edited) This is not a self portrait. Edited September 10, 2012 by Zeph Quote Link to comment Share on other sites More sharing options...
chuk Posted September 10, 2012 Share Posted September 10, 2012 neither is this Quote Link to comment Share on other sites More sharing options...
Zeph Posted September 10, 2012 Share Posted September 10, 2012 (edited) neither is this Most definitely a self portrait of Chuk Edited September 10, 2012 by Zeph Quote Link to comment Share on other sites More sharing options...
chuk Posted September 10, 2012 Share Posted September 10, 2012 Most definitely a self portrait of Chuk Sorry to disappoint you Zephyboy, but even with your best photo-shopping skills I wouldn't even look close to that Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.