Mouse gesture recognition, RTS formation builder, you name it! Point Magic is a collection of over 120 scripts that takes point manipulation to the max.
Highly popular games such as Black & White by Lionhead Studios and Okami by Capcom allow you cast magic spells by drawing them on the screen. You can do that with Point Magic and much more. Here are some ideas:
Don't want to use D3D transformation functions to transform shapes? Try creating and drawing any shape you desire with the point scripts, and you can easily make them move, rotate, scale, and flip across the screen in various ways.
Want a substitution or supplement for Game Maker's path functions? Or maybe you would like a bridge to the easy creation, management, and assessment of particle systems?
Beyond the point scripts, there are a few supporting scripts included that you will find useful in just about any project: string_split(), draw_circle_perfect(), etc.
The example demonstrates the mouse gesture system and a formation builder. There are two secrets, one in each example, that you can unlock by deciphering the clues. Might as well make a game out of it. :-) But if you do not want the challenge and just want to see the subtle surprises, read the notes at the end of the gesture_define() script (just before the code starts), and you will be told what to do. The first script you will see is labeled 'Info'. Read it, and you will be shown the path to the most important scripts.
Please comment, request, and report any bugs! Based on feedback, I may continue adding even more scripts and examples. And if you create an advanced, new type of example with the scripts yourself that you'd like to share, please do. If you want, I can add it to the download and mention you in the credits.
Download Point Magic 1.1
An extended gesture tutorial can be found Here. You can download it in .rtf format here (thanks to Deri): Download Gesture Tutorial. The extended tutorial will be added to future distributions.
- Added the ability to enable an extended scan for a gesture definition, making it so that the user can draw a shape from any vertex and in any direction. See argument4 in the gesture_define() script for more information.
- Added a few more notes to the gesture_define() script.
- Minor demo object and script changes.
- Initial release
Ink Collision, Version 2: Download
Let your objects collide with lines drawn on the screen, even move across slopes like in the Line Rider games! Press F1 for the list of controls and other information.
Stick Animator/Ragdoll Creator: Coming Soon
Bend a stick figure to your will and dress it with your own sprites. Like Pivot Stickfigure Animator, but better. A physics system and a 3D aspect may be included.
Pose/Gesture Recognition/Line Rider-type Game: Coming Soon
An Action RPG demo that makes use of the gesture recognition, a body pose recognition system created with the point scripts, and the ink collision example.
Kyle_Solo has done a gesture recognition system of his own. You should check both systems out and see what you like. His topic is found here.
Edited by Seeker, 09 August 2007 - 05:12 PM.