Search:

Type: Posts; User: rmorris7

Search: Search took 0.24 seconds.

  1. Re: Bullets are not showing up across network client screen in game

    So am im updating this method


    public void processMove(String s){
    // Send command to tank not controlled by
    // this player
    tanks.get(1 - playerID).processMove(s);

    }
  2. Re: Bullets are not showing up across network client screen in game

    Thats what Im trying to figure out, I have been trying to solve this for 3 days now
  3. Re: Bullets are not showing up across network client screen in game

    The game works fine.The code does what its suppose to do. Its up and running however when I fire a bullet it doesnt show up on the other player's screen, just mine.
  4. Re: Bullets are not showing up across network client screen in game

    Let me be more specific. I believe the problem is coming from this class.


    class Tank implements Ball {

    double locX, locY, radius, angle;
    int self; // index of this tank in WarPanel.tanks...
  5. Bullets are not showing up across network client screen in game

    Hi all so I a tank war game thats ran over a network and is multiplayer, however whenever I fire a bullet it shows on my screen but not the other player's screen. Can you help, here's the code:

    ...
  6. Replies
    2
    Views
    76

    JLabel Will Not Show Up In Frame

    So Im making a game with a start screen followed by my game. I have a button centered but Im having a hard time displaying my label. Do you all have any options? Here's my code:


    import...
  7. Replies
    7
    Views
    134

    Re: Java Roomba Program Help

    heres the code again


    import java.awt.*;
    import java.awt.event.*;
    import java.awt.Graphics;

    import javax.swing.*;

    public class Roomba extends JFrame implements ActionListener, KeyListener{
  8. Replies
    7
    Views
    134

    Re: Java Roomba Program Help

    Im not getting any errors but the goal was to make the black circle "c11" move around with the arrow keys.
  9. Replies
    7
    Views
    134

    Java Roomba Program Help

    Hey guys so im designing a game that simulates a roomba robot vacuum and have most of the framework done. So I have random floating circles and the Roomba bot in the center. The boot is suppose to...
  10. Re: Need help with my findMin method. Code included

    It was along the lines of an Exception such as an IllegalArgumentException at line 3 saying out of bounds
  11. Need help with my findMin method. Code included

    Im suppose to perform this method recursively however when I lauch the program i get an error stating out of bounds. Any suggestions?

    // assumes that a != null && a.length > 0
    public static int...
  12. Re: Hey guys, Im making a program and need some help laying out my psuedo code.

    I like to write out pseudocode before i program so my question is how would i implement this algorithm into pseudo code?
  13. Hey guys, Im making a program and need some help laying out my psuedo code.

    The algorithm i need first finds the smallest element of theArray and exchanges it with the element indexed by 0, and then finds the second smallest element of theArray and exchanges it with the...
Results 1 to 13 of 13