Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / Help expand Synergy IDE

Author
Message
John Y
Synergy Editor Developer
22
Years of Service
User Offline
Joined: 4th Sep 2002
Location: UK
Posted: 26th Aug 2005 14:11 Edited at: 26th Aug 2005 15:27
Hi,

Synergy IDE has a built in snippet system which allows you to store your own snippets, as well as access a library of snippets already included.

If you would like to include your (copyrighted material will not be accepted unless you are the author) snippets in Synergy IDE (and possibly other IDE's) then please post your name (for all snippets by you), or your post links.

If you provide a good selection then you will get a free copy of Synergy IDE for your troubles (limited time only); if you submit any items then you will get 15% off the purchase price.

More information on Synergy IDE can be obtained at Http://synergyide.thegamecreators.com

Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 26th Aug 2005 14:26
Sure thing;

Here's some String functions... Pretty self-explanitory




Here's my Input Routines (Need the above string functions to work);


Here's how you use it;


Here's the features;
Mutltiple input fields.
Does not stop your program like the 'Input' command does.
Can specify type of input ( Numbers, Characters, or both ).
Can specify maximum length of input ( 0 for unlimited ).
Can set the state of the input to any String at any time.
Can (de)activate fields at any time.
Can TAB between input devices.
Supports use of Cursor Keys and backspace.
Uses a flashing carret.



Here's some simple 2D functions;




Here's an extension to the string functions, allowing parsing of filenames/directories;


Here's an example of how to use them;




Here's a nice way to detect Up/Down/Held Key Presses;





Hope they're self-explanitory enough, and people find a use for them

Jess.

Team EOD :: All-Round Nice Guy
Want Better dbHelp Files?
Xolatron old
21
Years of Service
User Offline
Joined: 25th Jan 2004
Location: The Star Forge Language: DBpro
Posted: 28th Aug 2005 20:37
Here's the link to my IonExtension Functions:
http://forum.thegamecreators.com/?m=forum_view&t=57481&b=1
I know the title says 28 functions, but there's actually 50 now. A few BlueGUI functions are outdated because of the latest BlueGUI update, but other than that they all are working (I use most of them and haven't had problems, and all reported bugs have been fixed)

Feel freee to change the names and such if different naming styles or whatever would be more convenient.

-Xol


DBpro IonRay IDE: Demo 0.1.0.0 available!
Kohaku
21
Years of Service
User Offline
Joined: 3rd May 2004
Location: The not very United Kingdom
Posted: 31st Aug 2005 00:27 Edited at: 5th Sep 2005 06:16
Howdy,

Here's my pretty basic "ditch the numbers" functions, or as I like to call them, OO:


My timer based delta time functions, for moving things at the same speed, regardless of fps:


My also simple rotate to object function:


A much faster alternative to using sqrt, my within 3d range function:


My cut parse function, which splits a string up.


My new config.ini file reader. Returns the string after the given string and an "=". Requires the Cut Parse function to work.



You are not alone.
Xolatron old
21
Years of Service
User Offline
Joined: 25th Jan 2004
Location: The Star Forge Language: DBpro
Posted: 11th Sep 2005 20:51 Edited at: 13th Sep 2005 01:11
Any news JohnY? Is there anything mre you specifically want code-wise? What's happening to all this? How much do we need to submit for the free Synergy (if you're still continuing that)?

By the way, fo my code, you can put my name as Xolatron Vao. All code I've posted is by me.

[EDIT]
Sorry to bother you. I've read the latest Synergy posts of yours. Thanks for letting us contribute .
[/EDIT]

-Xol


DBpro IonRay IDE: Demo 0.1.0.0 available!

Login to post a reply

Server time is: 2025-05-16 03:58:52
Your offset time is: 2025-05-16 03:58:52