Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

2D All the way! / Having some trouble with my 2d tiles

Author
Message
Zombie 20
17
Years of Service
User Offline
Joined: 26th Nov 2006
Location: Etters, PA
Posted: 5th Sep 2010 00:06
Hello everyone I am trying to set up an example map so I can expand it into my main project. I am using the method of data statements read from an array, if anyone can help me spot my error I would appreciate it. I'm a little lost, thank you for any help or helpful points in the right direction.

Code :




Coffee coffee coffee coffee coffee coffee cappacino, JAVA!
LBFN
16
Years of Service
User Offline
Joined: 7th Apr 2007
Location: USA
Posted: 5th Sep 2010 01:25 Edited at: 5th Sep 2010 22:10
Hi Zombie20

I am at my comp now, so I made a few edits to the code to help you with it:



I didn't have the ground and sky images you are using so I made some up.

So many games to code.......so little time.
Zombie 20
17
Years of Service
User Offline
Joined: 26th Nov 2006
Location: Etters, PA
Posted: 6th Sep 2010 07:42
Hi LBFN! Its been a while

Yes, haha thank you very much I noticed that right away and felt silly. Thank you for the tip about the data statements. Off to codeland


Coffee coffee coffee coffee coffee coffee cappacino, JAVA!

Login to post a reply

Server time is: 2024-03-28 16:12:45
Your offset time is: 2024-03-28 16:12:45