Someone interested in some libs/includes?

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

Someone interested in some libs/includes?

Post by Allanon »

Hello Hollywood coders!

Recently I've decided to publish all my stuff on GitHub and I started to upload my libraries (which are includes in plain Hollywood), I've included a readme with some basic instruction on how to install them (it's very simple!).

I plan to upload what I've coded it the last years to give my contribute to the community, the libraries are updated because I'm still using then and from time to time I fix bugs and add functionalities, so the code is not obsolete.
Time permitting, every week, I'll check a lib adding english comments (and removing italian ones), putting a bit of docs and I'll push it on GitHub, if you have questions please ask here :)

Some notes:
- Where possible I've included examples in separate files
- But you will also find tests and examples embedded in the include, for example, for the GFX library, you will find some tests under:
GFX.Test_xxx(), look at the bottom of the source, there is a list of all available tests.
- All available functions & methods are documented in the source, sorry but I don't have time to produce a proper documentation :)
- I'll try to keep this thread updated

My GitHub Repo

Happy coding!
----------------------------
[Allanon] Fabio Falcucci
AMC - Creative Development // Docs Site // Support Forum
Support me on Patreon for Hollywood libraries!

Bugala
Posts: 922
Joined: Sun Feb 14, 2010 7:11 pm

Re: Someone interested in some libs/includes?

Post by Bugala »

Thank you!

ocean77
Posts: 57
Joined: Mon Jan 28, 2019 8:34 pm

Re: Someone interested in some libs/includes?

Post by ocean77 »

Awesome! Thank you. :)

User avatar
Allanon
Posts: 636
Joined: Sun Feb 14, 2010 7:53 pm
Location: Italy
Contact:

Re: Someone interested in some libs/includes?

Post by Allanon »

I've added another include called G2D, it has a full-featured skinning system :)
Here is the contents:

Code: Select all

 :: POINT 2D OBJECT ::
 G2D.Point:New()
 G2D.Point:Distance()
 G2D.Point:DotProduct()
 G2D.Point:MidPoint()
 G2D.Point:Normal2D()
 G2D.Point:Normalize()
 G2D.Point:Rotate()
 G2D.Point:Scale()
 
 :: POLYGON OBJECT ::
 G2D.Poly:New()
 G2D.Poly:Collide()
 G2D.Poly:Draw()
 G2D.Poly:Project()
 G2D.Poly:SetAnchor()
 G2D.Poly:SetAngle()
 G2D.Poly:SetScale()
 G2D.Poly:Translate()
 
 :: AREA OBJECT ::
 G2D.Area:New()
 G2D.Area:Box()
 G2D.Area:FillColor()
 G2D.Area:FillPattern()
 G2D.Area:Move()
 G2D.Area:Scale()
 G2D.Area:SkinBevel()
 G2D.Area:SkinColor()
 G2D.Area:SkinFitMax()
 G2D.Area:SkinFitMin()
 G2D.Area:SkinGradient()
 G2D.Area:SkinHPattern()
 G2D.Area:SkinHPattern3S()
 G2D.Area:SkinMulti()
 G2D.Area:SkinPattern()
 G2D.Area:SkinPattern9S()
 G2D.Area:SkinQuick()
 G2D.Area:SkinShades()
 G2D.Area:SkinStretch()
 G2D.Area:SkinVPattern()
 G2D.Area:SkinVPattern3S()
 G2D.Area:Snapshot()
 
 :: BG Picture ::
 G2D.BGPic.CreateSkinned()
:)
----------------------------
[Allanon] Fabio Falcucci
AMC - Creative Development // Docs Site // Support Forum
Support me on Patreon for Hollywood libraries!

User avatar
airsoftsoftwair
Posts: 4371
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Someone interested in some libs/includes?

Post by airsoftsoftwair »

Nice! Go ahead and post some more :)

User avatar
Clyde
Posts: 322
Joined: Sun Feb 14, 2010 12:38 pm
Location: Dresden / Germany

Re: Someone interested in some libs/includes?

Post by Clyde »

Great stuff, thanks!
Currently using: Hollywood 8 with Visual Studio Code and hw4vsc

User avatar
Allanon
Posts: 636
Joined: Sun Feb 14, 2010 7:53 pm
Location: Italy
Contact:

Re: Someone interested in some libs/includes?

Post by Allanon »

- Added G2D Lib examples, this is useful especially for the skin system.
- Added JSON Lib, an include file I use to decode JSON answers I get querying servers.

Code: Select all

JSON Lib CONTENTS
 =================
 :: Main Functions ::
 JSON.Decode()
 
 :: Support Functions ::
 JSON._IsArrayEnded()
 JSON._IsObjectEnded()
 JSON._ReadArray()
 JSON._ReadNumber()
 JSON._ReadObject()
 JSON._ReadPair()
 JSON._ReadString()
 JSON._ReadValue()
:)
----------------------------
[Allanon] Fabio Falcucci
AMC - Creative Development // Docs Site // Support Forum
Support me on Patreon for Hollywood libraries!

Bugala
Posts: 922
Joined: Sun Feb 14, 2010 7:11 pm

Re: Someone interested in some libs/includes?

Post by Bugala »

Oh, I am getting spoiled here with all the JSON options.

You, Clyde, and upcoming official Hollywood JSON support. Having difficulty in deciding which one to use now.

User avatar
Allanon
Posts: 636
Joined: Sun Feb 14, 2010 7:53 pm
Location: Italy
Contact:

Re: Someone interested in some libs/includes?

Post by Allanon »

Hi @Bugala, my lib only decode JSON into HW tables, no encoding options :)
----------------------------
[Allanon] Fabio Falcucci
AMC - Creative Development // Docs Site // Support Forum
Support me on Patreon for Hollywood libraries!

Bugala
Posts: 922
Joined: Sun Feb 14, 2010 7:11 pm

Re: Someone interested in some libs/includes?

Post by Bugala »

well, that is all I need currently. I dont plan to encode JSON tables, only decode them.

Post Reply