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.

Newcomers DBPro Corner / Map of cubes

Author
Message
Pepzi
13
Years of Service
User Offline
Joined: 22nd Feb 2011
Location:
Posted: 5th Sep 2011 13:53
Hi, can anyone help me understand how to make map of cubes just like the tutorial of Andrew Vanbeck, but I still find it hard for me as a beginner like me.
I tried to remove some codes that I believe don't contribute on the mapping of cubes; please see attachment

the original you can get it here:
http://files.thegamecreators.com/newsletter/Platformer%20Tutorial%201.zip

which I'm thinking I'll later on add sprites
I hope someone will help me , thank you so much!

New to darkbasic

Attachments

Login to view attachments
LBFN
17
Years of Service
User Offline
Joined: 7th Apr 2007
Location: USA
Posted: 6th Sep 2011 06:36 Edited at: 6th Sep 2011 06:39
This code at least displays your map and the schlump on it.



I had to change the set display mode to one that would work on my desktop. I made a few edits. For example, TEXTURE BACKDROP is available to easily put the backdrop image in the background. You should be able to go through the code and compare it to your existing code to see the changes that were made.

EDIT:
Almost forgot, if you want to look around at the map, REM out the position camera and point camera commands in the main loop and UN-REM the CONTROL CAMERA USING ARROWKEYS command. Then use the arrow keys to look around.

Login to post a reply

Server time is: 2024-11-22 17:24:13
Your offset time is: 2024-11-22 17:24:13