aspose file tools*
The moose likes Java Micro Edition and the fly likes Java ME Drawing multiple dynamic Sprites on GameCanvas Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Java ME Drawing multiple dynamic Sprites on GameCanvas" Watch "Java ME Drawing multiple dynamic Sprites on GameCanvas" New topic
Author

Java ME Drawing multiple dynamic Sprites on GameCanvas

Guy Dor
Greenhorn

Joined: Mar 13, 2013
Posts: 1
I want to draw on GameCanvas multiple dynamic Sprites such as gun shots. I have 2 main classes:GameCanvas and GameController GameController holds a Vector of my gun shots.

GameCanvas has an access to GameController's Vector of Sprite and it also has a render() method which draws Sprites on screen.



LayerManager holds all the Sprites I want to draw.

How can I draw all objects in GameController's Vector on screen?

Thanks!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java ME Drawing multiple dynamic Sprites on GameCanvas
 
Similar Threads
multiple same sprites
Beginner painting troubles
Most efficient way to use a spritesheet?
Putting components in MIDP 2.0
Moving within a 2 dimensional array