[ZScript] ZForms 1.0

Post your example zscripts/ACS scripts/etc here.

[ZScript] ZForms 1.0

Postby Gutawer » Fri Nov 06, 2020 7:15 am

ZForms - An easy to use GUI library for ZScript by Gutawer and phantombeta

So honestly this is super way overdue but I'm finally getting around to releasing this after some recent changes reminding me that this exists.

ZForms is a project built out of the difficulty people have expressed with working with the bare-bones nature of the ZScript menu system. It allows easy creation of common UI elements such as buttons, labels, images and frames (which allow for nested menu design).

Version 1.0 Download
Code Repository (Unstable)

Usage of ZForms is pretty simple, in general. The repository has more specific instructions for use (in README.md) but the basic idea is that you use a Python "build script" to generate the code (this is necessary to avoid different projects from clashing with each other if they both use ZForms). Then you just inherit from a class and this gives you access to functions that can create and deal with rendering/handling input for standard UI elements so nothing needs to be done manually.

More detailed usage here (README.md)

Some examples (thanks entirely to phantombeta) are here
API documentation (also thanks to phantombeta) can be found here

Example images:


PDA Starter Kit



Gutawer and phantombeta - Code and API design
Example images used - phantombeta and Nash
User avatar
User Accounts Assistant
Joined: 16 Apr 2016
Discord: Gutawer#3431

Re: [ZScript] ZForms 1.0

Postby Nash » Fri Nov 06, 2020 8:14 am

ZForms is good. If you aren't using it to make UIs in your mods, you don't value your free time. :D
User avatar
Joined: 27 Oct 2003
Location: Kuala Lumpur, Malaysia
Github ID: nashmuhandes

Re: [ZScript] ZForms 1.0

Postby Jimmy » Fri Nov 06, 2020 8:32 am

Hell yeah!
User avatar
Joined: 10 Apr 2006
Discord: Jimmy#4100
Twitch ID: JimmySquared
Operating System: Windows 10/8.1/8/201x 64-bit

Re: [ZScript] ZForms 1.0

Postby Redneckerz » Fri Nov 06, 2020 1:15 pm

Incredible piece of work that brings yet another mod-friendly layer of versatility to the GZDoom family.
User avatar
To it's ports i may have seen
Spotlight Team
Joined: 25 Nov 2019
Discord: Redneckerz#8399
Operating System: Windows Vista/7/2008 64-bit
Graphics Processor: nVidia (Legacy GZDoom)

Return to Script Library

Who is online

Users browsing this forum: No registered users and 0 guests