Please help me on my Android game

I am trying to develop a android runner game for school purposes.. I am still new to this and please I need your assistance..
You guys can view my CS5flash file at >>> http://www.filedropper.com/test_37
The obstacles and coins are on random. But the obstacles and coins are overlapping each other.. Which is very bad for a runner game because it looks very bad and the gameplay gets very very complicated.
How can i fix it??. Is there any way to fix it?.
And i am also thinking if I can set the obstacles and coins to a specific area (not on random). So the game will be more oganized and the gameplay won't be complicated. Which i still don't know -_-.
But i still prefer it on random. So guys please help me fix it..

I inputed this random range
function randomRange2(minNum:Number, maxNum:Number):Number
return (Math.floor(Math.random() * (maxNum - minNum + 1)) + minNum);
But still the coins/obstacles are overlapping each other. Please help me sir!
The deadline is very near already. Please sir .
Also the game is running slow when I tried it on the android phone. How can i fix it?
Help please

Similar Messages

  • HT202159 Tried restarting download from the "Purchases" tab but the app comes out with "an error ocurred " message and I the button next to it is grey without any text or action. Please help, cannot dowload bad piggies game

    Tried restarting download from the "Purchases" tab but the app comes out with "an error ocurred " message and I the button next to it is grey without any text or action. Please help, cannot dowload bad piggies game

    Hi aaronvilla,
    Sorry to hear you are having issues with your iTunes Store purchase.   The following information should help you with this:
    How to report an issue with your iTunes Store, App Store, Mac App Store, or iBookstore purchase
    To report an issue with your iTunes Store, App Store, Mac App Store, or iBookstore purchase, follow these steps:
    Find the email receipt for your purchase.
    Click Report a Problem under the app that is having the issue.
    When prompted, enter the Apple ID and password you used to purchase the item, then click Report a Problem.
    Click Report a Problem next to the item you are having an issue with.
    From the Choose Problem dropdown menu, choose the appropriate issue.
    Follow the onscreen instructions and—if prompted—type a description of the problem into the text field.
    Click Submit to have your issue reviewed.
    Hope this helps ....
    - Judy

  • Please help the sounds on my games wont work

    The sounds on the ipod on my ipad work but the sounds for all of my other apps are not working please help

    OK......double click your home button and swipe the lowest row of apps you've recently used will come up.  With you finger, swipe that row to the right and you'll likely see an icon on the far left that is a mute icon.  Touch it and your sounds should come back. 
    Don't be scared.  There is something simple and we're going to find it.

  • Please help my phone bought a game by itself

    Well I went to bed was going to play tiny death star saw a new game on it so I opened all of the tabs it said appstore and it was on joining hands 2 it costed 1.49$ and I had to pay my dad that money because the money was under my dads credit card! I didn't buy it my family didn't buy it! my phone is with me 24/7 it bought it itself I want my money back please

    Hi, heebz. Welcome to the Nokia Support Discussions. Let's try to isolate the issue. What's your phone's model and which store are you referring to? Where are you located? Just to verify, was the app successfully purchased and installed on your phone? Did you receive any email confirmation of the purchase? Keep us posted.

  • PLEASE help me with my Pacman game

    I have two files, one contains a class that creates pacman animation. The other file contains the maze. The problem is how can I add Pacman to the maze?
    Thanks in advance

    Create another class to act as the game engine. Have it process moves so that it moves packman by checking to see if the location is fine by consulting the maze class and have packman draw itself on screen accordingly.

  • My husband and I both have types of IPods but we can not download any music to them because we have an Acer Android tablets. Could someone please help us to be able to download music to our IPods all we have is this tablet

    We have two types of Ipods. A nano generation 5 & a nano touch, and we are unable to download music to them was told its because we have an Acer Android tablet. Could someone please help us in solving this issuses cause we just bought these ipods and was not aware that and all we have is this tablet. .. Please help us

    Templeton Peck, the Android tablet  does not support iTunes
    Angs78, you purchase music from iTunes on the iPod touch. I know of no way to get music on the Nanao from the tablet.

  • I couldnt play my favouite game from facebook called Gardes of time,could you please help me return my game to my favorite broweser,thank you.

    I am firefox browser user,I like it,my kids like it too.I know it is 100/100 better than enter net EXPLORER,unfortunately I find out yestereday that I couldnt play the game I used to play for a very long time,I didnt know the reason. why? that is on FaceBook,every game is available excpet the game Gardens of time firefox dont allow me to play.WHY? because the love of the game I have to browse to enter net explorer,and I HATE IT SO MUCH.please help and bring my favorite game to firefox.thank you.

    Please make sure your flash is updated to the latest version. Also check with the following article as it helps a lot [[Problems using Facebook in Firefox]] Thanks!

  • Please help, I don't know WHAT is wrong......... (games troubleshooting)

    OK, so one night I was playing the game Lode Runner, Bejeweled, and Pacman. It was fully charged. I played until 10% was left. Then, I set it on my iHome. The next night, I can't get the game to fit the screen. Like a 1/2 in. from the left if you have the click wheel in your right hand. I turned it off for 24 hours and that didn't work. I need your help. Only the games I bought do that. Not the others, just those. Please help.

    I got it fixed, so if it ever happens to you, restore your iPod at the iPod page under Summary.

  • I have to update all my application in my App Store however they are asking for the credit card details since this is to update only. Even to download some free games still they are asking my credit card details since it is a free. Please help me..

    I have 11 updates in my App Store but every time I click the update they ask first my apply ID that would be fine but after they will ask my credit card details since this is only to update. Please help me.
    Also, even I would like to download some games it's ok to ask for our Apple ID but in the second time they will ask for the credit card details. Please help me

    My younger brother had the same problem. You have to go into settings, app store, details and then change your credit card details to none. If there is no none option, you will have to use a different apple id.

  • TS1702 My millionaire and friends game won't load onto my iPad or iPhone 5? It was working in the beginning but now it won't even load. I have restarted my device & deleted and reinstalled the app several times and it still won't load? Please help

    Millionaire and friends game not loading! Please help! I have tried restarting the device & deleting the app and trying to reload but nothing works? I also tried to email the creators of the app but the email address for tech support bounced back to me so its obviously not a good email??

    I tried to email the developer (Canada) but the email for technical support is not a good email. My email got returned to me undeliverable? Not sure what to do next? I also want to get the game going again cause I made purchases to get more coins to play the game & now I can't even use it? Very frustrating!!!

  • URGENT FIX MY Connect Four game for Wednsday PLEASE HELP

    I am using an APPLET and i want to use JOptionpane it didnt work when i used it in the paint method. So i want to make a runner to make the program work. I don't know why the Graphics g = new Graphics isnt working PLEASE HELP. Email the revised code to my email at [email protected]. URGENT FOR TOMORROW PLEASE HELP. should i have a spearate class for the runner, just email me please if you can help.
    import javax.swing.JApplet;
    import java.applet.*;
    import java.awt.Graphics;
    import java.awt.Color;
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.JOptionPane;
    public class Board extends JApplet
    // the grid used for storing the game layout.
    private int[][] grid;
    // the player whose turn it is.
    private int currentPlayer;
    public final int player1=1;
    public final int player2=2;
    private int place1=5;
    private int place2=5;
    private int place3=5;
    private int place4=5;
    private int place5=5;
    private int place6=5;
    private int place7=5;
    public static void main()
    int column1;
    int column2;
    String name1;
    String name2;
    Graphics g=new Graphics();
    Board test= new Board();
    boolean wait=true;
    while(wait)
    String starts=JOptionPane.showInputDialog("Are you ready? \n (yes or no)");
    starts.toLowerCase();
    if(starts.equals("yes"))
    wait=false;
    name1=JOptionPane.showInputDialog("Enter Player 1's Name");
    name2 = JOptionPane.showInputDialog("Enter Player 2's Name");
    test.paintBoard(true,g);
    while(!test.done() || !test.hasWon(g,player1) || !test.hasWon(g,player2))
    column1=0;
    while(column1>0 && column1<8)
    column1=Integer.parseInt(JOptionPane.showInputDialog(name1+" what column do you choose?"));
    test.place(player1, column1,g);
    if(!test.done() || !test.hasWon(g,player1))
    column2=0;
    while(column2>0 && column2<8)
    column2=Integer.parseInt(JOptionPane.showInputDialog(name1+" what column do you choose?"));
    test.place(player2, column2,g);
    public Board()
    // create the grid
    grid = new int[7][6];
    // initialize the gridc
    for (int row=0; row<6; row++)
    for (int column=0; column<7; column++)
    // set the position to a default value
    grid[column][row] = 0;
    public boolean done()
    boolean flags =true;
    for (int row=0; row<6; row++)
    for (int column=0; column<7; column++)
    if(grid[column][row] == 0)
    flags=false;
    return flags;
    public void paint(Graphics g)
    public void paintBoard(boolean flag, Graphics g)
    int index= 0;
    g.setColor(Color.YELLOW);
    g.fillRect(0, 80, 700,700);
    g.setColor(Color.WHITE);
    //draws spaces
    for(int y =100; y<700; y=y+100)
    for(int x =10; x<700; x=x+100)
    if(flag==false)
    index++;
    if(index%2==0)
    g.setColor(Color.RED);
    else
    g.setColor(Color.BLACK);
    else
    g.setColor(Color.WHITE);
    g.fillOval(x,y,80,80);
    TextField column =new TextField(10);
    if(flag==false)
    g.setFont(new Font("Times New Roman", Font.BOLD,24));
    g.setColor(Color.YELLOW);
    g.drawString("C",45,245);
    g.drawString("O",145,245);
    g.drawString("N",245,245);
    g.drawString("N",345,245);
    g.drawString("E",445,245);
    g.drawString("C",545,245);
    g.drawString("T",645,245);
    g.drawString("F",145,145);
    g.drawString("U",145,345);
    g.drawString("R",145,445);
    g.setColor(Color.BLUE);
    g.drawString("START",512,548);
    public void paintFinish(Graphics g, int player)
    int index= 0;
    g.setColor(Color.YELLOW);
    g.fillRect(0, 80, 700,700);
    g.setColor(Color.WHITE);
    //draws spaces
    for(int y =100; y<700; y=y+100)
    for(int x =10; x<700; x=x+100)
    index++;
    if(player==1)
    g.setColor(Color.RED);
    else
    g.setColor(Color.BLACK);
    g.fillOval(x,y,80,80);
    public boolean hasWon(Graphics g, int player)
    boolean status = false;
    // check for a horizontal win
    for (int row=0; row<6; row++)
    for (int column=0; column<4; column++)
    if (grid[column][row] != 0 &&
    grid[column][row] == grid[column+1][row] &&
    grid[column][row] == grid[column+2][row] &&
    grid[column][row] == grid[column+3][row] &&
    grid[column][row] == player)
    status = true;
    // check for a vertical win
    for (int row=0; row<3; row++)
    for (int column=0; column<7; column++)
    if (grid[column][row] != 0 &&
    grid[column][row] == grid[column][row+1] &&
    grid[column][row] == grid[column][row+2] &&
    grid[column][row] == grid[column][row+3]&&
    grid[column][row] == player)
    status = true;
    // check for a diagonal win (positive slope)
    for (int row=0; row<3; row++)
    for (int column=0; column<4; column++)
    if (grid[column][row] != 0 &&
    grid[column][row] == grid[column+1][row+1] &&
    grid[column][row] == grid[column+2][row+2] &&
    grid[column][row] == grid[column+3][row+3]&&
    grid[column][row] == player)
    status = true;
    // check for a diagonal win (negative slope)
    for (int row=3; row<6; row++)
    for (int column=0; column<4; column++)
    if (grid[column][row] != 0 &&
    grid[column][row] == grid[column+1][row-1] &&
    grid[column][row] == grid[column+2][row-2] &&
    grid[column][row] == grid[column+3][row-3]&&
    grid[column][row] == player)
    status = true;
    if(status)
    paintFinish(g, player);
    return status;
    public void place(int player, int column, Graphics g)
    int index=0;
    if(column==1)
    index=place1;
    if(column==2)
    index=place2;
    if(column==3)
    index=place3;
    if(column==4)
    index=place4;
    if(column==5)
    index=place5;
    if(column==6)
    index=place6;
    if(column==7)
    index=place7;
    grid[column-1][index]=player;
    if(player==player1)
    g.setColor(Color.RED);
    if(player==player2)
    g.setColor(Color.BLACK);
    g.fillOval((column*100)+10,(index+1)*100,80,80);
    if(column==1)
    place1--;
    if(column==2)
    place2--;
    if(column==3)
    place3--;
    if(column==4)
    place4--;
    if(column==5)
    place5--;
    if(column==6)
    place6--;
    if(column==7)
    place7--;
    }

    gamefreak1192 wrote:
    I am using an APPLET and i want to use JOptionpane it didnt work when i used it in the paint method. So i want to make a runner to make the program work. I don't know why the Graphics g = new Graphics isnt working PLEASE HELP. Email the revised code to my email at [email protected] URGENT FOR TOMORROW PLEASE HELP. should i have a spearate class for the runner, just email me please if you can help.
    This is bloody ridiculous. You want somebody to do your work for you, you can't be bothered to carry on a discussion here and ask for private email, and you expect somebody else to make your urgency (i.e. lousy time management) their problem. You got big brass ones, kid.

  • Various problems in certains games.... please help me guys

    Hi, I have a weird problem when I start up Pacific Fighters and Chronicles of Riddick.
    The thing is, the game takes at least 15 minutes to open and when using the Caps Lock key, the green button on the keyboard takes quite some time to enlighten because the PC lags badly, so is the sound. In PF, the music is terribly affected when this bug occurs.
    This happens about the 1/5 of the time I try to boot the game and the only ways to fix the problem is to:
    1) Simply restart the computer;
    2) Set the computer to sleep mode and then, come back to the game.
    All of my games and my drivers are up to date and something important I'd like you to know is:
    When the game boots normally, I can play easily up to 3 hours without any problem. Right now, I have about 15 games installed on my PC. Just to numerate a few, I have Far Cry, Half-Life 2 and never encountered any problem with these games.
    On the other hand, Battlefield 2, when trying to connect to the server, will freeze and then again, the Caps Lock light on my keyboard will have problem to open (So that shows that the PC lags a lot) and then, it will de-freeze and the game says that I was disconnected from the server (That's quite normal, I've been inactive for 30 seconds). Yet, after returning to the game, the PC isn't completly in its original shape as when using the Teamspeak program, I can hear the others talking but their voice is quite sluggish and skipped every 5 seconds. The sound does the exact same thing in Pacific Fighters when it freezes (It goes mostly as follow: Clack clack clack clack, you know what I mean?)
    If someone, please, knows why I have this problem, any help would be greatly appreciated. I have above 15 000pts in 3Dmarks 03 and my global performance on my PC is very good, except for this annoying bug.
    In BF2, I didn't encounter any problem before, so I don't understand...
    I have a
    -Amd athlon 64 3000+ venice @ 40 degres in ful load
    -Asus A8N-E @ lastest bios + driver 6.70 @ 38 degres in full load
    -Msi NX7800GT @ 81.85 driver @ 45 degres in full load
    -Soundblaster live 24bits
    -Disc dur 160GB WD SATA II that has just been defragmented with diskeeper and that contains no viruses
    -Thermaltake 420WATTS purepower
    -3x512 DDR 400 OCZ
    I also get problems in Bf2 clean sweep map only and only at 1 place : see http://img154.imageshack.us/my.php?image=screen0028ud.jpg
    And also in BF:V   http://img131.imageshack.us/my.php?image=bit6oz.jpg
    Thanks to read this and please help me 

    I also want to precise that in BF:V, this is the only vehicle that is bugged like this..

  • I get problem loading page (error 404) it says the page cannot be found when i try to access the game Mobsters through my mysapce account and i cannot access it no longer through firefox and i want to find out why i cant, can you guys please help?

    i cant access my mobsters account through myspace. every time i try to access it i get "problem loading page" "this page cannot be found" "404 error" and it wont let me access it. myspace works fine but as soon as i click on the mobsters app i get the 404 error, this page cannot be found, problem loading page! can you please help?
    == This happened ==
    Every time Firefox opened
    == i try to access mobsters game through myspace

    I dont understand the answer
    '''''""The problem can be solved by opening FF and choosing Tools...Add On's...select the SEARCH addon and choose UNINSTALL...restart FF browser when asked, then reload Mobsters. This worked for me. The suggestion on the 404 that says to remove Search via Add/Remove Programs is completely BS, as Search doesnt show there. ""'''''

  • My just bought new ipad screen stuck one a game. Can't turn off, can't get into log in screen. I connect ipad to my imac, but message say need to unlock ipad. But my ipad screened dead. Please help!

    My just bought ipad with retinal display 32G, screen frozen at one of game my son play. Now I can't turn off ipad, I can log in ipad. I connect ipad to my apple computer, message say I need to unlock the ipad, the problem is I can't even get to ipad home screen to unlock or enter the password. Basically, my ipad is dead. I can't even know what my series number etc. Please help!
    Thanks!

    Try a reset:
    Hold the Sleep and Home button down until you see the Apple logo.

  • HT201274 I have my brothers icloud account on my ipad and i want my icloud account back I have all my games from my acount but I can see his massages notes etc how can I get my icloud account back I tried so many things please help .???

    I have my brothers icloud account on my ipad and i want my icloud account back I have all my games from my acount but I can see his massages notes etc how can I get my icloud account back I tried so many things please help .???

    go to settings and sign out his apple id in the sections i tell you:
    1.game center
    2.itunes and appstore
    3.messages
    4.icloud(delete acount;it wont realy delete it will only remove from your ipad)
    5.facetime
    and then enter your icloud in each and every section

Maybe you are looking for

  • Fixing Memory leaks in C code accessed via JNI

    Hi, I am working on an JNI interface between Java and legacy C code and I have problems with controlling the Memory inside the C code. In my application, I call many times from Java the C routines. In the C routines, memory is allocated but in a rath

  • Wont install 10.5.2- has any else had this problem?

    Sent computer in for repair did all the updates and only update that wont work is 10.5.2. It talks about a patch and to contact manufactor. Has any one else had this issue or suggestions? Thanks

  • Crystal Server Writing Files to SharePoint

    We currently use BusinessObjects Enterprise XI Release 2 InfoView to automatically schedule and write report PDFs to a shared network drive.  Our company is moving to SharePoint, and we need to know what steps to take to have the PDFs written to a Sh

  • Possible? to recieve a MMS from someone without an internet plan cell phone

    I am not too thrilled about friends asking me if i got there pic text and then telling them no i havent, could you send it to me email because my IPHONE CANT comprehend a simple picture text. BUT thats all we can do for now huh. So my real question i

  • Osb-custom xpath function in 11g

    is it possible to place osb-custom.xml in some other locations other than C:\<middlewarehome>\oracle_osb1\config\xpathfunctions and refer it during server startup as we have only read access to oracleOSB1 in production environments???