Sign in to follow this  
MattMcFarland

ANN: Spline Magic (SHMUP ENEMY PATH MAKER) RELEASED!

Recommended Posts

Ever wanted to make a shoot Em Up with complex enemy patterns? You want your enemy ships to fly in circles or maybe complex wave-patterns? This tool will allow you to create complex splines that you can code your objects to follow! Spline Magic does what the name implies, it creates splines for you. You can visually draw them out by dragging the points of a bezier curve with the Left Mouse Button. You can add multiple curves to create a highly complex spline. There are many features which include Mirror, Flip, and Reverse. You can create complex path-ways that you want objects in your game to follow! Exactly as the curved line in the editor shows! Once you are satisfied with your spline, you press X and then you can paste the spline data into your IDE, or a text file. This program is 100% free, and it also comes with its source code. It is not an installer, just a plain ole zip file. ScreenShots (click to enlarge): Example PASTE Dump bezier1.p0x=741 bezier1.p0y=40 bezier1.p1x=272 bezier1.p1y=95 bezier1.p2x=278 bezier1.p2y=229 bezier1.p3x=723 bezier1.p3y=161 bezier2.p0x=278 bezier2.p0y=229 bezier2.p1x=231 bezier2.p1y=374 bezier2.p2x=617 bezier2.p2y=382 bezier2.p3x=675 bezier2.p3y=210 bezier3.p0x=617 bezier3.p0y=382 bezier3.p1x=567 bezier3.p1y=382 bezier3.p2x=156 bezier3.p2y=397 bezier3.p3x=359 bezier3.p3y=456 Download: http://mcfarlandgames.5u.com/splinemagic.zip

Share this post


Link to post
Share on other sites
Basically the program lets you visually draw up to 6 bezier curves. Once you are satisfied with your layout you can press X and all the information will be stored on the clipboard (so you can paste the data into your IDE)

It is great at speeding things up, but also since I have been fooling with this editor for so long (making it) I've managed to almost visualize curves without help. So I think the long run of using such a program is that it can teach you how bezier curves work and can help you visualize curves without help from a visual interface.

At anyrate, it was a great learning experience. I have a newer, improved version which is schedueld for release tonight.
------------------------------------------------------------------

Known Bugs:

(1) - When dragging points, if you move the mouse too quickly, they're no longer being dragged. Also, if you drag a point too close to another point with a higher index, you'll be suddenly dragging the other node.

(2) - Clipboard does not reset causing funky results

(3) - Whole screen moves (only map should move)

(4) - Loop function causes start node to move (instead of finish node)


All bugs posted above have been fixed in version 0.9 (which is pending for release)
Another great feature of 0.9 is all the source code has been cleaned up and been fully organized into functions resulting in a much easier to comprehend source.
-----------------------------------------------------------------

Version 1.0 Tasks:

Lock feature (lock nodes)

Scroll feature (Scroll through beziers) - Link Knowledge needed

I'm not succeeding at understanding the Links, when I try to add a link I end up adding two objects intstead of one? ?:(
Locking the nodes should be easy, and I think I might want to work on that later.

[Edited by - MattMcFarland on November 7, 2005 7:58:44 AM]

Share this post


Link to post
Share on other sites
(FIXED) - When dragging points, if you move the mouse too quickly, they're no longer being dragged. Also, if you drag a point too close to another point with a higher index, you'll be suddenly dragging the other node.
(FIXED) - Clipboard does not reset causing funky results
(FIXED) - Whole screen moves (only map should move)
(FIXED) - Loop function causes start node to move (instead of finish node)

**ADDED** - tutorial.bmx (read through this it helps alot!)
**ADDED** - readme.txt (read this first)

http://mcfarlandgames.5u.com/splinemagic.zip

Share this post


Link to post
Share on other sites
Thank you.. I've just did another update.

==VERSION 0.9.2==
**ADDED** - Rolling Ball! Now you can see the speed an object
will move along the curve so you can have a fluid movement.

**CHANGED** - The red curve is more dotty, and it is no longer
saved into the clipboard

http://www.codersworkshop.com/viewshowcase.php?id=560

Share this post


Link to post
Share on other sites
Sign in to follow this