08-11-2011, 09:47 AM
(This post was last modified: 08-11-2011, 09:50 AM by mrchickenpop.)
I'm creating it with java.
DAY 1.
Created the frame, dude/user, and the board.
I fixed a few bugs from the scripts I created.
DAY 2.
I will start continuing to create the board a bit and the dude and the frame.
The board looks like this:
package javaapplication1;
import java.awt.Image;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.*;
import javax.swing.*;
public class Board extends JPanel implements ActionListener{
Dude p;
Image img;
Timer time;
public Board () {
p = new Dude () ;
setFocusable (true) ;
ImageIcon i = new ImageIcon ("C:/specit.png") ;
img = i.getImage () ;
time = new Timer (5, this) ;
time.start () ;
}
public void actionPerformed (ActionEvent e) {
}
DAY 1.
Created the frame, dude/user, and the board.
I fixed a few bugs from the scripts I created.
DAY 2.
I will start continuing to create the board a bit and the dude and the frame.
The board looks like this:
package javaapplication1;
import java.awt.Image;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.*;
import javax.swing.*;
public class Board extends JPanel implements ActionListener{
Dude p;
Image img;
Timer time;
public Board () {
p = new Dude () ;
setFocusable (true) ;
ImageIcon i = new ImageIcon ("C:/specit.png") ;
img = i.getImage () ;
time = new Timer (5, this) ;
time.start () ;
}
public void actionPerformed (ActionEvent e) {
}