Alaric Mustoe

Ranch Hand
+ Follow
since Oct 23, 2015
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Alaric Mustoe

So if the bullet hits the saucer or the enemies for it to repaint without it there
8 years ago
So I have some code all of it works but I can't figure this one out.

Along with the objects




Can you help me out it is urgent
8 years ago
ok so then I need help with collision detection for my barriers and enemies along with the player can you help?
this is the barrier
enemy
8 years ago
Ok so I have moving enemies now I have the question of shooting using keybinding.
help?
shot

8 years ago
I think you misunderstand but thanks for the code I tried it out i would like the saucer to move without human input so move automatically.

Thanks again
8 years ago
Ok now I have the problem of getting the enemies to move with this code I can't fix the errors regarding the move Saucer and move Enemies method.
8 years ago
It has to do with the constructor within the Enemy class my array Enemies are the only things not working so ya.
8 years ago
ok so during the break I had to code some stuff for my project and I need help. This is the main class
This is the enemy class
and this is the entity class

So anyways I am stumped it is probably something easy but I can't see it.
8 years ago
I noticed something when going through your code correct me if i am wrong but when you define the first method have you tried to place an end bracket to separate it and main this will not disconnect the two like a double end bracket but should fix the error if it is a illegal expression error.
8 years ago
How would I do that what I know so far is to key bind space into a key listener which then triggers the animation so how would I do that.
8 years ago
So I would like to have a bullet named (bullet.png) in which if you press space the graphic is painted in the initial player x. which is defined
8 years ago
so
if(boolean is set to true)
then move to the right this many times
then move down
then move left
then move down and loop
x is referring to entity class which defines entity x position and same with the y
8 years ago
8 years ago

Stefan Evans wrote:Well do you have any ideas?

I can see code in there where you loop through an array. That would be a start.

How would you affect the position of the "enemy" entities?


Well I have a move method such as
for(int c =0;c<3;c++){
x = x+10;
etc
8 years ago
so I have an array
and have defined Entity
and also said enemy
can you help me to move these 2 lines of enemies over to the right 10 down 10 then over to the left 10 and then down 10 in that chronological order
Please I need help SOS
8 years ago