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 / need help with 2D Tile-Based Game

Author
Message
May0naise
16
Years of Service
User Offline
Joined: 16th Nov 2008
Location: Lost in Time
Posted: 12th Jan 2009 02:32
Well as the title says..

I have some tile sets, and a basic idea for the game, but I really don't know where to start, I've seen people use arrays somehow, but i really never understood it. Can someone please direct me to a tutorial or give me some advice here? I have used the search button, but i couldn't find much

Be patient....everything takes time.
DsarchyUK
16
Years of Service
User Offline
Joined: 21st Nov 2008
Location: UK
Posted: 12th Jan 2009 15:37
You have already posted this in the 2D forums and got a reply:
Quote: "Sure, give me a few min and I'll come back with some links for ya.


I'll grab whatever I can

http://forum.thegamecreators.com/?m=forum_view&t=90673&b=8- Map Editor

http://forum.thegamecreators.com/?m=forum_view&t=141011&b=7 - Tile example (with code)

http://forum.thegamecreators.com/?m=forum_view&t=5420&b=6- Simple 2d Tile Scroller (with code)


Let me know if that helps at all.

links hate me just copy and paste."



What is it you are asking for?

http://dsarchy.deviantart.com/
May0naise
16
Years of Service
User Offline
Joined: 16th Nov 2008
Location: Lost in Time
Posted: 12th Jan 2009 20:52
I have seen them, but im looking for something like code examples and what they mean, like how to load an image and seperate it into like 16x16 or 32x32 tiles and then put them on the background.

And for the map editor i couldn't find where i download it from.

Who you chose to be around you, lets you know who you are.
DsarchyUK
16
Years of Service
User Offline
Joined: 21st Nov 2008
Location: UK
Posted: 14th Jan 2009 10:13 Edited at: 14th Jan 2009 10:14
Relates to what you want.
http://forum.thegamecreators.com/?m=forum_view&t=34076&b=4

Goes through some 2D basics. Check the Code base for 2d Scroller with collisions for any additional code.

http://dsarchy.deviantart.com/
May0naise
16
Years of Service
User Offline
Joined: 16th Nov 2008
Location: Lost in Time
Posted: 14th Jan 2009 23:49
Thanks, exactly what i was looking for.

Who you chose to be around you, lets you know who you are.
May0naise
16
Years of Service
User Offline
Joined: 16th Nov 2008
Location: Lost in Time
Posted: 16th Jan 2009 01:44 Edited at: 16th Jan 2009 01:44
Alright, i have for the most part learned the basics, but i can't seem to find any 2d tile editor that can work.

I have Vista 32-bit, and ive tried alot of programs, like Tiled, Mappy, and maybe 6 others...= can anyone please help me find a tileset that would work on my computer.

EDIT: and with the map editor in the 2nd post, there isnt a download link...or am i just missing something

Who you chose to be around you, lets you know who you are.
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 16th Jan 2009 02:45
http://dbcc.zimnox.com/?page=tutorials

I have a tutorial that might help you a little.

May0naise
16
Years of Service
User Offline
Joined: 16th Nov 2008
Location: Lost in Time
Posted: 16th Jan 2009 21:53 Edited at: 16th Jan 2009 21:54
Alright, i followed you tut, and it did fill in a few blanks, but when i try to run the code, it wont compile because..."Compilation Failed. Could not find field 'size' in type 'SystemVariables' at line 20."
Right now it is:


Thanks in advance.

Who you chose to be around you, lets you know who you are.
DsarchyUK
16
Years of Service
User Offline
Joined: 21st Nov 2008
Location: UK
Posted: 16th Jan 2009 23:36 Edited at: 16th Jan 2009 23:38
It tells you the problem in the debug:
Quote: "Could not find field"

You need to declare it using TYPE



This is just a guess mind. You should post the whole thing if you want a more precise answer.

http://dsarchy.deviantart.com/
May0naise
16
Years of Service
User Offline
Joined: 16th Nov 2008
Location: Lost in Time
Posted: 16th Jan 2009 23:44
if you like...Its not tabbed atm cause its pretty short..



Who you chose to be around you, lets you know who you are.

Login to post a reply

Server time is: 2024-11-24 14:48:56
Your offset time is: 2024-11-24 14:48:56