Hi there, I am developing a small game in which I draw a map from a file to the screen. The player moves a "@" symbol. Now, I can program PASCAL to move the player char and check that the player char does not cross the walls.
BUT in order to do that I need code that will read the relevant character from the relevant part of the screen. My uses clause is "uses crt;".
FYI I am running Freepascal on Windows Vista Home Edition.
Does anyone have any code to read a char from CRT screen? Or can anyone suggest a way to handle collision detection?
Thanks in advance for your help.