2 Attachment(s)
Jeff's Excruciatingly Simple Extension Tutorial
Jeff's Excruciatingly Simple Extension Tutorial
Overview
This is a very detailed tutorial that goes from soup-to-nuts on how to build a simple extenstion for Fantasy Grounds. The exension used is a trimmed down version of the Chatnomicon Extension that allows the user to save frequently used chat messages, with their associated chat type, and send them with a single click. It covers all the basics of creating a new window, using a database, coding some lua, and using the chat interface.
I've tried to include as much basic material as I could, without teaching XML, Lua or any kind of graphics program.
Feedback is welcome and appreciated.
Getting Our First Window Going (8/22/2015)*New Update
Introduction
The (Very) Basics
1. Anatomy of an Extension
2. Directory Structure
3. XML at the 50,000 ft. Level
Minimal Viable Product
1. Creating Our Extension File
2. TutorialWindow.xml
3. Let's run it!
4. Finding a better base
5. Adding the close button
6. Adding a title graphic
7. Resize this Sucker!
Getting a little Lua going
1. Lua are you?
2. Adding some Lua script
3. Adding a simple script in a windowclass
4. Deeper into our script
5. Time for the Meat!
5.1. Finding our methods
5.2. Finishing touches
That's a Wrap!
Appendix A: The Final Result
Getting Some Content and Data (7/19/2015)
Introduction
Getting Rolling
1. Let's Talk Data
2. One Func to Bind Them All
2.1. The lua bits
2.2. The Extension Bits
2.3. String Theory
3. Planning Our Layout
3.1. Temple of the Templates
4. Get Some Control
4.1. Add Some Edit
4.2. Add Some Add
4.2.1. First, the Button Part
4.2.2. Disappearing Act
5. Deeper Into the Woods
5.1. Let's List, Lucky Lou!
5.2. Getting Classy
5.3. Fill in Some Templates
5.4. Time to Get Dirty with the DB
5.5. Cleaning Up After Ourselves
5.5.1. First, Let's Lua
5.5.2. Delete is Easy
Wrap Part Deaux
Appendix A: Our Starting Point
Appendix B: Our Ending Point
Heavy Coding (??/??/2015)
PDFs Be Here