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
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!
 
Consider Paul's rocket mass heater.
 
subject: Java ME Drawing multiple dynamic Sprites on GameCanvas