wood burning stoves 2.0*
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 Android Security Essentials Live Lessons this week in the Android 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
Putting components in MIDP 2.0
Moving within a 2 dimensional array
Most efficient way to use a spritesheet?
Beginner painting troubles