View Full Version : Oh no...so lost

04-10-2007, 11:20 AM
Was thinking about wetting toes in LW programming.

downloaded and looked at http://www.iemedia.co.uk/graphics/sdk-xref/index.htm
also downloaded Bloodshed C++ program

Use to program for the C=64 so I am looking for the ifs,ors,greater thans, pokes, peeks, and stuff.....has programming changed ? :(

It looks like I need to start from scratch. :foreheads

Where would be a good place to start?
Do I need to download anything else?

04-10-2007, 11:44 AM
Hi Prospector,

Welcome aboard to the newbie to LW Plugins programming experience!! :)

The SDK is based on C. When I started what I did was read every book I found about C.

Books are something of personal preference, so I am not sure which one I could recommend.

But until you do not disect any of the examples in the SDK it is going to be difficult to grasp all of it on one go! :(

I will advice you to try to compile first one of the examples like the Custom Object plugin: Barn. It is on the SDK, and it will help you to familiarize with the compiling process, your editor and the compiler.

After that do the Box Tutorial that Ernie Wright added on the SDK. That helped me to understand how LW reads the structures to find the plugins on your .p file, as well as how the functions were organized on the code.

Lightwolf (Mike) has been a lot of help to me to understand how to programming plugins, sadly I didn't had as much as free time as I wanted to code nothing useful or interesting, yet! :)

I would be glad to help you as much as I can.

Best regards,

04-10-2007, 12:06 PM

Me again :)

Here you have a link to a C tutorial:


And a couple of free C Books:

And for later on C++:

His Thinking in CPP is quite famous! :)

Hope this helps! :)

04-10-2007, 01:32 PM
Thanks, will have a look
tho still looking for SDK
maby ftp site

04-10-2007, 01:40 PM
Well SDK on FTP is for LW6 as far as I could see by number incraments

04-10-2007, 01:57 PM
Ahh LW9 SDK...found it

04-10-2007, 05:09 PM
I was thinking to also familiarize myself with the process.

Where did you find LW9SDK?

I found the older ones.

04-10-2007, 06:29 PM
I guess this is the file? lwsdk-040307.zip

04-11-2007, 05:37 AM
Hi guys,

Sorry I didn't saw your posts before.

You can find the SDK here:


Click on the developers section and there you have the LW 9.0 SDK and LW 9.2 SDK.

Careful with the second one it is still Open BETA! :) And some changes on it can make an old plugin to need a bit of rewrite! :)

Best regards,

04-11-2007, 10:09 AM
Woah, thanks for the link.....
The user guide is much better than just reading the commands, which quite frankly were putting me to sleep :D

At least now I know how and why those commands are used.

04-13-2007, 12:22 PM

User Guide? There is no user guide for the SDK. Only for Lscript!! :)

04-13-2007, 02:33 PM
noticed that after I hit 'print' and rolled up on the couch to read. Tho I see how LScript works now, so all is not lost :)

04-19-2007, 02:17 PM
Understanding how Lscript works helped me to understand how the SDK works. Some of the concepts are similar. I also started with compiling and modifying sample plugins (Box, etc) At first I was lost, but slowly I am getting grasp of the things and reading all the commands is getting less boring. I have not touched layout part yet, it scares me :)
You'll still see lots of ifs and ors (or rather ||s) but no pokes or peeks, sorry.

04-19-2007, 03:09 PM
I noticed I HAVE been staying awake longer and longer on the same pages, so maby it's sinking into this ol' head :D