I have just finished (kind of) my first Processing sketch thanks to the help from many people on this forum but now I want to export it and share it with the world it fails. The problem lies when moving between the welcome and game screen it freezes. I understand it is difficult without the sound files and images, would it be better if I uploaded the whole folder? Here is the code anyway.
import ddf.minim.*;
import processing.pdf.*;
import java.util.Date;
import sms.*;
import ddf.minim.ugens.*;
// -------------------------------------------------------------------AUTH DETAILS FOR TWITTER API---------------------------
static String OAuthConsumerKey = "myKey";
static String OAuthConsumerSecret = "mySecret";
static String AccessToken = "myAccessToken";
static String AccessTokenSecret = "myATSecret";
String myTimeline;
String myQueryWord = "cheese";
java.util.List statuses = null;
User[] friends;
TwitterFactory twitterFactory;
Twitter twitter;
RequestToken requestToken;
String[] theSearchTweets = new String[11];
long previousIdOfTweetContainingQuery = 0;
private static AccessToken loadAccessToken() {
return new AccessToken(AccessToken, AccessTokenSecret); // get my oauth details