From: "Programmer" Newsgroups: comp.os.msdos.djgpp Subject: Working on tilebased game... Date: Mon, 21 Dec 1998 17:14:00 +0200 Organization: SAUNALAHDEN SERVERIN asiakas Lines: 23 Message-ID: <75lokv$srg$1@tron.sci.fi> NNTP-Posting-Host: cdxiii.kdyn.saunalahti.fi X-Newsreader: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hello! Yes i'am currently making tilebased game..This far everything has worked fine, but now i went to dead end. I don't know how to make or write the code to check if player has walked on tile which isn't walkable. I have read some faqs about tilebased games, It explaind lot, In my mind everything is simple but when i should write it...bah. The writer of the faq file used 'unsigned char', because its lenght is from 0 to 127 right?. The map is drawn with two FOR loops, so i was thinking can i use loops to check if player is in wrong place?.. Please, if you know how to write the code..I´m confused from all the texts i have read...I would use any code only as my reference, no need to copy. Thanks for all the help!! '''Using allegro v3.01b'''