08-11-2003, 04:27 AM
I have read darkdreads RPG-tutorial on how to make an map and a character who the player can move with the arrow keys.... now i want to change the charakter and i dont just want to use circles( i want lines also) but when i try the game get screwed so can someone explain to me how to change it and NOT screw the game
this is the code for the charakter:
this is the code for the charakter:
Code:
X% = PlayerX% * 20 ' This little routine draws our
Y% = PlayerY% * 20 ' character in the right position
CIRCLE (X% + 9, Y% + 9), 9, 40 ' on the screen.
PAINT (X% + 9, Y% + 9), 40, 40
CIRCLE (X% + 5, Y% + 6), 3, 31
PAINT (X% + 5, Y% + 6), 31, 31
CIRCLE (X% + 13, Y% + 6), 3, 31
PAINT (X% + 13, Y% + 6), 31, 31
CIRCLE (X% + 5, Y% + 6), 0, 16
CIRCLE (X% + 13, Y% + 6), 0, 16
CIRCLE (X% + 4, Y% + 17), 2, 4
PAINT (X% + 4, Y% + 17), 4, 4
CIRCLE (X% + 14, Y% + 17), 2, 4
PAINT (X% + 14, Y% + 17), 4, 4
CIRCLE (X% + 9, Y% + 9), 2, 16
PAINT (X% + 9, Y% + 9), 16, 16