Hello Ventuzians!
THE FORUMS ARE CLOSED!

Please join our discord server HERE!! << click me :D

We are shutting our Ventuz Forum, but don't worry, it will all be archived for you to search in if you have a query. From now on, please add all your comments, questions or observations into our Discord Server

Thanks for the great time - see you on discord!!
Dee, Karol, Daniel and the whoooole Product and Support team!

ventuz collision engine

Q and A about functionality and how to solve a special task for your application.

Moderator: Support

Post Reply
allen hyoga

ventuz collision engine

Post by allen hyoga » 08 Jul 2013, 07:38

How can I make a collision engine in Ventuz?By C# script node ? I wanna make a collision game like this( https://www.cubeslam.com/grwkgj).
Any advice is welcome : )

Regards
AllenH

TobiTobsen
Posts: 93
Joined: 18 Jan 2012, 20:02

Re: ventuz collision engine

Post by TobiTobsen » 08 Jul 2013, 18:51

Yes, should be possible to do such a game with c# scripting.
Your scipt needs to now the walls in your game and the position of you goals, those parameter do not change.
What does change is the position of your bat, so you need to forward those positions as well.
Output of your script could be the position of the ball and if someone scores etc.

It starts getting tricky if you want to play against the computer and not human vs human ;-).

Cheers,
Tobi
http://www.radar-touch.com
http://www.prime-touch.com

Want to filter or transform TUIO data? http://code.google.com/p/tuiotoolbox/
Looking for a tool generating Testpattern for Softedge projections??? I can help: http://code.google.com/p/projection-calc/

Post Reply