Tile map from J2ME to Android

Put your problem here if it does not fit any of the other categories.

Tile map from J2ME to Android

Postby winhax » Wed Jun 23, 2010 8:28 pm

Good evening,

I have been going out of my mind trying to figure out how to move some code from J2ME to Android. Basically in J2ME I draw a map (game back ground) using tiles:

Code: Select all
Image image = Image.createImage("/maptiles" + i + ".png"); // for maptiles0.png, maptiles1.png, maptiles2.png, etc.
            byte byte0 = 9;


Then I create the objects, to place over the game map, such as trees, tables, etc. using:

Code: Select all
NI2[j] = Image.createImage("/obj" + j + ".png"); // // for obj1.png, obj2.png, obj3.png, etc.


Any help is very appreciated!
winhax
Once Poster
Once Poster
 
Posts: 1
Joined: Wed Jun 23, 2010 6:38 pm

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: Google [Bot] and 19 guests