Notifications
bg
Marcos Anderson Santos
Sotware Engineer - Programmer
Vancouver, Canada
2
Likes
26
Followers
14
Connections
All
Articles1
Games0
Showcases5
Column6
Jobs0
Marcos Anderson Santos
updated the article
Dec 5, 2018
How I created a Joystick in Unity3D
How I created a Joystick in Unity3D
Get instant one-on-one help on your Unity project from community experts!
Marcos Anderson Santos
Sotware Engineer
5 months ago
Thanks for the tip Alexander. Yes, do not require players to press exactly on the stick to start using it, would be a good improvement.
Alexander Podzolko
Lead Unity 3D developer
6 months ago
Simple and effective, I like that! But I don't think dragging interface is the best choice for stick. I'd suggest you to try one big touchable invisible object around the stick's sprite and implement OnPointerDown/OnPointerUp. Then you can easily calculate stick offset direction from PointerEventData and clamp it to max stick length.This approach do not require players to put finger exactly on the stick button to start using the stick and gives you direct control over the area where the stick can be controlled.
Marcos Anderson Santos
published the article
Nov 23, 2018
How I created a Joystick in Unity3D
How I created a Joystick in Unity3D
Get instant one-on-one help on your Unity project from community experts!
Marcos Anderson Santos
Sotware Engineer
5 months ago
Thanks for the tip Alexander. Yes, do not require players to press exactly on the stick to start using it, would be a good improvement.
Alexander Podzolko
Lead Unity 3D developer
6 months ago
Simple and effective, I like that! But I don't think dragging interface is the best choice for stick. I'd suggest you to try one big touchable invisible object around the stick's sprite and implement OnPointerDown/OnPointerUp. Then you can easily calculate stick offset direction from PointerEventData and clamp it to max stick length.This approach do not require players to put finger exactly on the stick button to start using the stick and gives you direct control over the area where the stick can be controlled.
Marcos Anderson Santos
published the project
May 20, 2017
Galaxy Runner
Marcos Anderson Santos
published the project
May 20, 2017
Leap Book
Marcos Anderson Santos
published the project
May 20, 2017
Penalty Shootout
Marcos Anderson Santos
published the project
May 20, 2017
Body Measurements
About Me
I am a game programmer with skills in program languages such as C++, C#, Java and Python. With a...
Kinetic Reality
Software Engineer
Centro Federal de Educação Tecnológica Celso Suckow do Fonseca CEFET
Computer technician
See more
Certifications (0)
Import
See all
Marcos Anderson Santos's liked projects (0)
No likes yet
Following (14)
Followers (26)
Following Companies (0)
Not following anyone yet
Groups (0)
No groups