I've just been having some problem I wouldnt have a single clue how to fix, and i have tried Googling it and asking on other forums already many times, so I came here.
Anyway, I'm having mainly two problems;
The first, of course, is the one where Im not sure how I would get my character to look at my cursor. So far, the logic behind that is basicly
If X > imgYourCharacter.Left and Y > imgYourCharacter.Top then imgYourCharacter.Image = End if
And the empty entry after image would be the sprite that corresponds with your character looking diagonally up and right. So that would take a lot of coding to do a 16-directional sprite set, but that isnt the problem. The problem is that the character has a gun. He needs to be able to use it. So what I DO NOT know at all how to do would be how to make it so that when the user clicks, the gun sound clip plays, a timer is activated (changing the animation of the sprite to make it shoot) and most importantly, (I already know how to make a sound clip play and how to activate a timer) make it so that a image (the bullet) travels from the character and in the cursors direction (until it gets off-map, in which case, it will restore itself to the "False" position.
The second most important bit of code I would never be able to fgure out is; the map is obviously many more time larger than the character, and the character is only supposed to be able to see a portion of the map at a time. So my question is, how would I make it so that the screen only shows a fixed amount of the map at a time, and how do I make it so that when one of the WASD keys is pressed (I know that its something like;
If KeyAscii = 97 then Etc etc occurs End if
the map SCROLLS in the direction the player is moving.
Thank you everyone! I know this is a hard request, but I really have tried searching for many things, and I having found any solutions...