i gues i can use a timer and repeated loop is not that bad
Type: Posts; User: nathaniel victor nelson
i gues i can use a timer and repeated loop is not that bad
helo,
anyone know if their is a way to set an imageicon frame to zero (or frame one) after it has animated and is not set to loop?
i know my clip file i can do this with
if...
i had to write my own method - it look kinda like:
public boolean wolfcheck() {
boolean variable = false;
Iterator<unit> wolfiteratorthree = wolf.values().iterator();...
hmmm i just realized it might not even be a problem because i can turn off atacking if the player move
now the player wil show standing, moving, atacking image or animation and the enemy the same...
helo,
i am trying to see if my enemy (the wolf) is intersecting my player in my game. i am trying to reset my player. right now he is set to display an atacking animation if a wolf intersect him...
hmmm i never got a chance to run that one
i think what hapend was there was something wrong with my
int[] i switched to ussing an arraylist i think that is what fixed it.
i alway hear people...
i canot even do a
System.out.println("working"); at the first line of my main method
--- Update ---
here i took all the media file off so it should run in your integrated...
hmmm now it is saying "null" again. like i said it doe it half the time
i put it in a jframe
i think it was in my unit clas where the null was. i aded
unitrectangle = new Rectangle(x.intValue(), y.intValue(), wolfnorthern.getWidth(), wolfnorthern.getHeight()); to...
people alway tel me i should not use try and i heard java graphic device doe not even work half the time
here is a picture of the eror https://www.filehosting.org/file/details/924108/eror.png
i only throw eror. i wil try try catch and println eror
helo,
i am working on a game and everything has been fine for like four month but now when i run the program i get "null" in the console. it seem like it run sometime and it was crashing my laptop...
i fixed it by removing line #52 of the original thread.
package test;
import java.awt.Graphics;
import java.awt.Rectangle;
import java.awt.event.ActionEvent;
import...
i posted the question at java-forums.org ( https://www.java-forums.org/new-java/97543-jframe-hashmap-image-rectangle-animation-problems.html ) but realized no one uses the site much anymore so i am...
very nice michal!
i read (or "talked") your post what more can i do haha
if you turn your head ninety degre left or right. right to the city, left to the lifeform or the being the life. i like that the city give me inspiration for my video game i am tying to develop.
i would recomend game programing. use the JPanel. hire a java developer.
someone who has been smoking tobaco for two years or just got out of jail?
you need to look at the java classes or methods. get the java development kit, the java runtime environment or a java virtual machine. i got eclipse runing with a javadoc or made a JFrame visible...
prety cool site. what if i am wasting my time posting ten threads so i can get help or visibility to my problems. would i feel like a fool? is this imature?
i want to make a website in three years but the domain / server costs are rediculous. anyone know of $1 - $2 / month hosting and free domain? i gues those kind of companies are out to get me. i had a...
get something for at least $219. $259 is good too.
i like the list method or what is a method? there is also clas, extend / implement interface, import, package, public static void main String[] arg or whatever. i would say system.out.println(); is...
i am trying to reach ten posts so i can get help with my program which i want to name when i complete it. i have been doing java for seven years. i had to stop four years ago because my computer did...