My new documentation site and about where I'm heading :)

Show off your project created with Hollywood
User avatar
Allanon
Posts: 732
Joined: Sun Feb 14, 2010 7:53 pm
Location: Italy
Contact:

Re: My new documentation site and about where I'm heading :)

Post by Allanon »

APPBuilder Update

Hello devs!

For all people using AppBuilder I've released an update, just hit the Updates button to download the latest changes.

Change Log:

Code: Select all

24.03.2018 : Update released
 - Updated plugins AIFF, SVG, Vectorgraphics to their latest releases
 - Added plugins Xad and Zip 
User avatar
Allanon
Posts: 732
Joined: Sun Feb 14, 2010 7:53 pm
Location: Italy
Contact:

Re: My new documentation site and about where I'm heading :)

Post by Allanon »

I've written a tutorial showing how to implementing a Drag & Drop system in an Hollywood display, it is not related to onDropFile event, instead it shows you how you can arbitrary drag any objects on the screen over a target object, using a sprite to simulate the object dragging.

It is available for all Patrons, just subscribe the 1$ tier to access the only-Patrons feed and if you don't like it you can remove your subscription.

Here is an excerpt of the article :
Today I'd like to show you how to implement a basic drag & drop routine into your project using events.

Hollywood can natively handle drag & drop of files and folders inside its windows using the onDropFile event handler but the purpose of this tutorial is to drag and drop arbitrary objects laying inside an Hollywood display, these objects can be dropped on arbitrary areas of the screen.

To achieve this I've written a sample program where the screen is divided in two section: in the left section there is a box called target box, the place where the user can drop items, in the right side there are some draggable boxes that the user can drag and drop on the target box.
...
Image


>> My Patreon page :)
User avatar
Allanon
Posts: 732
Joined: Sun Feb 14, 2010 7:53 pm
Location: Italy
Contact:

Re: My new documentation site and about where I'm heading :)

Post by Allanon »

Hello!
For those interested I've released the new version of my Helpers library (v1.6), you can download for free.

A screenshot of one of the provided examples
Image

LINKS
- In depth description of the library (part 1)
- Wiki with the docs
- Download page with some screenshots here

CONTENTS
- HL.BufferedString:New()
- BufferedStringObj:AddChar()
- BufferedStringObj:AddString() Added in v1.6
- BufferedStringObj:Get()
- BufferedStringObj:PrepareForRead() Added in v1.6
- BufferedStringObj:Read() Added in v1.6
- BufferedStringObj:Set() Added in v1.6
- HL.Color:New(params)
- ColorObj:Brighten(delta)
- ColorObj:Clone()
- ColorObj:Darken(delta)
- ColorObj:fromARGB(a, r, g, b)
- ColorObj:fromValue(value)
- ColorObj:toARGBValue()
- ColorObj:toRGBValue()
- HL.Convert.BytesTo(bytes, target, decimals)
- HL.Convert.ForTextOut(text)
- HL.Convert.HTML2Hollywood(text)
- HL.Convert.HTMLAmper2UTF8(html_amper)
- HL.Convert.HTMLTag2HollywoodTag(html_tag)
- HL.Convert.Unicode2UTF8(value)
- HL.Input.CheckJoystick(waitKey, waitRelease)
- HL.Input.CheckKeyboard(keyList, waitKey, waitRelease)
- HL.CutBetweenLimits(txt, sLimit, eLimit, tags)
- HL.CutStringLeft(text, maxLen)
- HL.CutStringRight(text, maxLen)
- HL.GetBetweenLimits(txt, sLimit, eLimit)
- HL.GetRndColor(alpha)
- HL.GetRndName()
- HL.IsNil(value) (Obsolete)
- HL.IsNotNil(value) (Obsolete)
- HL.LineHook.Enable() Added in v1.6
- HL.LineHook.Disable() Added in v1.6
- HL.ParseRunArgs(CaseSensitive)
- HL.Safe(value) (Obsolete)
- HL.SizeString(txt, size)
- HL.Value2Perc(Range, Value)
- HL.WaitForAction(key, delay, callback, timeout, timeout_callback, userdata)

CHANGELOG
- ADD : Added 761 ampersand symbols
- ADD : Added new examples
- FIX : Fixed a bug in HL.Convert.HTMLAmper2UTF8() function
- NEW : Added HL.BufferedString:PrepareForRead()
- NEW : Added HL.BuffereString:Read()
- NEW : In HL.GetBetweenLimits() function, added caseSense arguments for the tags search.
- FIX : HL.CutBetweenLimits() fixed a bug.
- NEW : Added #HL_AUTO to HL.Convert.BytesTo() function
- NEW : Added HL.LineHook.Enable() / HL.LineHook.Disable() to allow nested uses of LineHookEnable()/LineHookDisable()
- FIX : Fixed a bug in HL.WaitForAction(), when a joystick was detected the timeout will never be reached.

Happy coding! And follow me on Twitter or Facebook!
Post Reply