Hello Guest

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Rukasu

Pages: [1]
1
Support / How can i create HUD movement buttons?
« on: July 19, 2013, 02:55:39 am »
Hey guys, i am really new to Unity and 2D Toolkit as well.
I have read "all" the 2.1/2.0 documentation.
I'm making a 2D Platformer game for mobile devices, and i already have all the animations of my Character working.
I'm using tk2dcamera and a resolution of 800x480 (landscape).
I'm about to start the movement of my character, but i'm a little lost in this part... How can i add movement buttons (an arrow and a button to jump, for example) to my game?
Is this just a sprite like any other sprite in the scene? If so, how can i detect that i pressed the button to jump?
Or should i use 2D Tookit UI to create these buttons and use the Events to track what button do i pressed?
And sorry about my english, it's not my native language.
Thanks.

Pages: [1]