I’m starting with XNA and I want to know how do I create a button with an event?
Does it looks like C# WinForms?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In XNA, you wont have access to standard “windows” type controls. you’ll have to manually create an object, with dimensions – and test for mouse-clicks inside the area – and behave accordingly.
Here’s a good tutorial: http://www.alecjacobson.com/weblog/?p=539