oh no! i double posted the thread! how do i delete one? sorry
esy928 0 Light Poster
Recommended Answers
Jump to PostI suppose you're using a GCanvas, or most likely the GraphicsProgram from the acm.program package?
You could have GCanvases pre-painted with components and when you advance a level, simply set the contentpane to a particular GCanvas of interest.
I think it may be better for me to produce …
Jump to PostPlatform games are generally tile-based. So use a 2D array to store your map tiles. You only draw the tiles that are visible within the viewport (what the play can see on the screen). You'd basically have a map pointer that keeps track of what position in the map data …
All 8 Replies
esy928 0 Light Poster
Alex Edwards 321 Posting Shark
esy928 0 Light Poster
Alex Edwards 321 Posting Shark
esy928 commented: helpfull +1
esy928 0 Light Poster
esy928 0 Light Poster
Phaelax 52 Practically a Posting Shark
esy928 0 Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.