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! / 2D Fast question.

Author
Message
BlackXStudios
20
Years of Service
User Offline
Joined: 14th Jun 2003
Location: Canada
Posted: 2nd Jul 2003 22:11
I was woundering how to make tiles on one bitmap and place them on the map. Its all 2D no 3D.
http://members.lycos.co.uk/pawliukc/logo_site.gif
www.blackxstudios.tk
Dr Dri
21
Years of Service
User Offline
Joined: 18th Mar 2003
Location: France
Posted: 2nd Jul 2003 23:01
Use an array
Dim map(map_width-1,map_height-1)
You can load an array from a file or use "data"
And then create a bitmap which will be your map
Create Bitmap 1,map_width*tile_width,map_height*tile_height
Now, you have to draw your map in your bitmap
For y=0 To map_height-1
For x=0 To map_width-1
Paste Image map(x,y),x*tile_width,y*tile_height
Nextt x
Next y

Dri

PS. I'm french so please scuse my poor english

Pour des yeux déformés la vérité peut porter un visage grimaçant.
BlackXStudios
20
Years of Service
User Offline
Joined: 14th Jun 2003
Location: Canada
Posted: 3rd Jul 2003 00:01
Thanks man.

http://members.lycos.co.uk/pawliukc/logo_site.gif
www.blackxstudios.tk
Dreadlox
20
Years of Service
User Offline
Joined: 31st May 2003
Location:
Posted: 6th Jul 2003 17:21
I still don't understand why all french people I meet have to condemn their english when it far better than most english people can learn french.

Nilrem
21
Years of Service
User Offline
Joined: 27th Feb 2003
Location: United Kingdom
Posted: 6th Jul 2003 17:41
Agreed, I've been talking to this guy on the internet for over 2 years, never knew he was French until he told me the other day, I can still hardly believe it.

I hear and I forget. I see and I remember. I do and I understand.

Login to post a reply

Server time is: 2024-03-29 13:39:42
Your offset time is: 2024-03-29 13:39:42