Please close the thread I'm already done with it!!!!
Thanks a lot
Type: Posts; User: Totel
Please close the thread I'm already done with it!!!!
Thanks a lot
I get your point my program is not that logical as it is haha anyways I'm just beginner,
I need to know how to put BG in my Frame can you tell me ?
import java.awt.*;
import javax.swing.*;
import java.awt.event.*;
import java.util.Random;
import java.io.*;
import java.awt.Color;
import java.awt.event.ActionEvent;
public class Arkanoid...
import java.awt.*;
import javax.swing.*;
import java.awt.event.*;
import java.util.Random;
import java.io.*;
import java.awt.Color;
import java.awt.event.ActionEvent;
public class Arkanoid...
Anyone ? Who can help me ?
How about if I will show you the output where I'm stucked
http://oi50.tinypic.com/20sgaxj.jpg
I can't hit the bricks using that black ball
There you go I edited it !
import java.awt.*;
import javax.swing.*;
import java.awt.event.*;
import java.util.Random;
import java.io.*;
import java.awt.Color;
import java.awt.event.ActionEvent;
public class Arkanoid...
Using 2 for Loops and 2 SoP it's possible ?
I know this is easy to most of you. Even though I will be look stupid if
I will ask help about this simple problem. I'm not fun of using for loop
in my programs, I really don't know how to do it....
I'm really glad and thankful because our professor gave us another chance to finish this program until Monday next week, the sad thing is he gave us another homework which will be look like a Battle...
I really can't do it. I gave up already, I think this is enough maybe my professor
will still grade my program even with a below passing grade could be a consideration
from the effort I did, Hehe....
It doesn't matter now I did a trial and error in my program and I knew now the use of it.
I don't get what Norm said
I will declare this ?
static Direction direction = Direction.NONE;
I don't know the use and I don't know where to put this
It will become like this ?
Declaration :
static boolean left = false;
static boolean right = true;
static boolean up = false;
static boolean down = false;
Do I need to declare a bolean
boolean left = false;
boolean right = true;
boolean up = false;
boolean down = false;
And add this code under public void...
Until now I can't get it, It sucks :x
1436
If you will see in the First Drawing Snake bents and the head is always in front to eat the food, while in the 2nd Drawing that's actually kinda same as mine I just used Oval in my codes...
Yes I want the head always be in front every time I eat the random food.
can be done in paintComponent() ? how is that :O
Try to run my code and you'll understand what I am trying to explain, I'm sorry I have bad English grammar. I actually don't know how do you want me to explain it. If you ran my code, you will notice...
I stated my new question in my first post including my new code please help :P
import java.awt.*;
import javax.swing.*;
import java.awt.event.*;
import java.util.Random;
import java.io.*;
import java.awt.Color;
import java.awt.event.ActionEvent;
public class Snakes...
I am Aristotle, you can call me Totel. I'm 19 years old Male, I live in Philippines,
I want to learn java (jdk) programming, I have backgrounds in java specially the simple
codes. Right now I am...