Hello Hive community!
Today I want to share with you a personal project I've been working on during my free time over the past few weeks. It's a simple memory game, but I used it as an opportunity to experiment with a couple of technologies I hadn't used before in Unity: TouchScript and TUIO.
What is TouchScript and what is it used for?
TouchScript is a tool for Unity that simplifies the implementation of advanced touch interactions. It's especially useful for projects that require multitouch functionality, like games and interactive applications on touchscreens. With TouchScript, you can easily capture gestures like swipes, pinches, rotations, and much more. It’s a flexible option for projects that want to offer a more immersive user experience on mobile devices or interactive kiosks.
What is TUIO and what is it used for?
TUIO is a communication protocol that enables sending touch device data over a network. It’s widely used in multitouch applications that need to capture gestures and the position of multiple touch points simultaneously. This is particularly useful in artistic installations, museums, or any environment where real-time interaction on large surfaces or multitouch screens is required. TUIO is open-source, making it a great choice for developers looking for scalable and customizable solutions.
Development process
To test both technologies, I decided to create a memory game with an animal theme. I used free images I found online to design the game cards. This was a fun process because I could get creative in choosing images that worked well together and then adapting them to fit the game’s style.
The real challenge came with integrating TouchScript and TUIO, as they are not as widely documented in Unity, which required me to research and experiment on my own.
Throughout development, I encountered configuration issues, especially when trying to capture multiple touchpoints accurately. Tweaking the parameters and ensuring smooth interactions was a key part of the project. Although the learning curve was steep, mastering these tools broadened my skills as a developer and opened new possibilities for future projects.
Potential applications of these technologies
Both TouchScript and TUIO have applications beyond games. They can be used in interactive installations, digital advertising, and even innovative user interfaces. Working on this project made me realize the potential for creating interactive experiences outside traditional gaming, like multimedia presentations or interactive museum exhibits.
I'd love to hear your thoughts on this project. Do you have any experience with these technologies? Please leave your comments below!
That's all for today, but I have many projects in mind that I plan to share with you, so if you're interested, feel free to follow me. Thanks for reading this far and watching the video!
I really need to dig deeper and try Unity. It seems to have a variety of plugins and add-ons to simplify some interesting things.
Creating this in Godot would be a bit of a chore, worse still in JS even with frameworks like Phaser.
Yeah there are lot of this types of add-ons you can use with Unity that are pretty cool. Some of them are a bit old and people don't use them or forget about them and only focus on VR or AR but you can achieve really awesome stuff with this devices.
Im now checking Leap Motion and its really interesting too!
I use Godot a few times but i don't know if they have this types of features.
If you switch to Unity for trying this kind of stuff let me know and we can share the info! Sometimes its hard to find it
Congratulations @rama-dev! You received a personal badge!
You can view your badges on your board and compare yourself to others in the Ranking
Check out our last posts: