I know XNA and Android aren't engines themselves, but you can create engines with them. I've tried Unity several times but I never get anywhere with it just for the lack of 3D knowledge. I eventually want to get into 3D development, but every time I try, I always end up giving up, mostly over silly things. I think I may take another shot at Unity.

Ah yes, im aware of that, but when i suggested android I wasnt specifically talking about game, even though its the funniest thing xd about unity, i havent tried it either but a new version has been released like 2 days ago or something, it would be interesting to work with it

DaJoker

hello gameus,your Snake Game Tutorial is wonderful i can't thank you enough for making one of the best tutorials i have seen on the internet for this game.but i was wondering and trying to find a way to modify the game to Generate more Food and have maybe some way to add difficulty to change snake speed when you press one of 3 buttons (easy, medium, and hard) to make the game more interesting and challenging.

The Paint EventWe'll need to take advantage of the picture box's "Paint" event. This event will get fired when the control needs to be painted or re-painted. Go ahead and create a method for this event. Inside the method, we'll be grabbing the Graphics value from our event arguments. With an instance of the Graphics class, we'll be able to draw on the picture box itself.

And now we have a complete game loop. Let's go ahead and test it out shall we?

ExperimentingCreate two new variables in our Form class, "square_x" and "square_y". These will just be integers. Set them to 0 or whatever preferred number I suppose. In our Paint method, add this line.

Now let's go up to our Update method and test out our Input manager we created. We're going to check Input from the Arrow Keys and then change the values of square_x and square_y. Here is where we use our Input manager "Pressed" method.