Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

farhanx

[java] newbie question about tile base game

This topic is 5338 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

i am making a simple aeroplane game , but for it i want to put some tiles. i know that for it i have to create toooo much big array and then display it on the screen one by one ... question is should i hardcode it inside array or should i take it out from any file? if from file then which kind of file should i use i am really confuse on it... thanks in advance

Share this post


Link to post
Share on other sites
Advertisement
I''d suggest creating a decent tile editor first instead of just hardcoding an array of tiles in the game. It''s quite a bit more complicated at first but it should save you lots of time and hassle later on. The file format is totally up to you. Probably easiest just to use a binary file and store each tile as one or two bytes.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!