Re: im stuc again...
@13: I didn't ever use mono game. I always used winforms with entities whos various methods I call at OnKeyXxx in the current form.
For example, if we have this code fragment:
namespace model
{
public class Player
{
...
public void Move(PlayerDir pd)
{
//check for movement value, left or right
State=PlayerState.Walking;
}
...
}
}
...
using System.Windows.Forms;
using System.Keys;
...
Player p= new Player();
Then, in the overwrited OnKeyPressed method, one can do the following:
if(Key==Left) P.Move(Playerdir.Left);
Do you think this is too much code for nothing? Is this perhaps a sighn that I should learn monogame as well?
@12: Make shure you build the project with the debug configuration in place and you have the debugger running on the project by clicking debug>run debugger.
Check this and please post here, I am rather curious on what is happening there.
-- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector