• Post Reply Bookmark Topic Watch Topic
  • New Topic

sprite sheet animation  RSS feed

 
sudde gameeef
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i was trying to make animation using sprite but i ran in to a problem. i want to make animation if user hit right key and different animation if user hit left key. and different animation if user hit up key etc....

the problem is that righ tnow this code below only makes one animation. in player class i want change code lil bit so i can create different animation.

this way this code works is that in player class i have arraylist which stores different images. than i can call animation class to create animation.







animatin.java
 
Campbell Ritchie
Sheriff
Posts: 53774
128
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to another forum as too difficult for “beginning”. Maybe our GUIs forum?
 
sudde gameeef
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how do i move to another form? do i just post it again?
 
Darryl Burke
Bartender
Posts: 5167
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Campbell has already moved the thread into the GUIs forum.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!