Skip to content

Releases: igtampe/BasicRender

BasicRender Suite V3.1 (Minor code cleanup/improvements)

03 Mar 20:18
Compare
Choose a tag to compare

Hello everyone!

Look it me I'm back to provide you with another installment of this thing. Saw we've actually passed 200 downloads on NuGet for BasicRender and I'm very happy about that. Hopefully this update can improve a few things.

Also I'm proud to introduce BasicShapes! It's not super great and was more of a side project, but it means BasicRender now supports some geometry. Perhaps in the future we may extend BasicShapes to allow rotation of polygons and some sort of vector based graphics file (Like BasicGraphics has DF and HC). But for now, I'm very happy with how things turned out for the moment even if I don't really have that much of a use for it yet.

Do check it out! Maybe make a fork if you want some more things on it. Am still primarily working on Neco but I wanted to pass by and give this project a light brush up.

Also, will push an update to the BasicFonts packager. Henja 3 doesn't run with the latest version of BasicWindows and its causing problemas. Now that the new version of BasicWindows is out it should make things work. If not I can work on it.

For now though, hope you all can use this little bit of work, and thanks for the downloads so far!
-IGT

BasicRender Suite V3 (Now on .NET Standard, and on NuGet!)

29 Apr 03:40
cc64dc4
Compare
Choose a tag to compare

Mira que lindo we're now also on NuGet!

Perhaps this will be a little more useful now that it's more accessible. At least it was easy to port to it, and was a good chance to reorganize the folder names.

BasicGraphics Version 2

10 Dec 17:12
Compare
Choose a tag to compare

Tiny changes but I think it should be published:

BasicGraphic and HiColorGraphic now have LoadFromFile() and LoadFromResource() static methods (Like BasicFonts does). We were going to replace the old ways of generating from file and from resource, but decided against it for backward compatibility.

Hopefully something else happens soon

BasicFonts Version 1

22 Sep 05:23
Compare
Choose a tag to compare

Hello yes I have finally done this. Introducing BasicFonts! A class library that handles the writing of big text.

Using the Dictionary On Disk format, we manage to store a bit of metadata, and a bunch of slightly modified DF data in one neatly wrapped file. Try it out! I've made a default font included in the class library, and here.

BasicFonts depends on BasicGraphics and BasicRender, along with the new Dictionary On Disk class library.
The BasicFontsEditor depends on BasicFonts (And its dependencies), and Henja3 (as it needs it to edit fonts)

Have fun!

An Update Mostly for BasicWindows

27 Jul 03:43
Compare
Choose a tag to compare

Some comments were added, but this is mostly an update to BasicWindows

BasicWindow

  • New Window Elements
    • Slider (From Henja 3)
      • A slider with as many positions as its length
    • Flagged Close Button (From Henja3)
      • Close button with a flag that's activated when it's hit
    • Left-Right Select (From Henja 3)
      • Element that allows users to select from strings in a list using left-right arrow keys
    • TextBox (From Henja3)
      • Allows user to input text
    • Numerical TextBox (From Henja3)
      • Allows user to input numbers
    • ProgressBar
      • Displays progress
  • Tickable Windows
    • Windows that "Tick" every 250ms
  • Tickable Elements
    • Timer
      • Timer that can either be silent, or have a progressbar attached to them to display the countdown. Executes TimeUpWindow if it's been set, and closes window when time is up
    • Spinner
      • Spins every tick
  • DialogBox
    • Function that creates a dialog box with specified icon and buttons, and is automatically sized to fit the provided text.
  • FormatedText
    • Utility that formats text to fit in a given size.
    • Used now by default by the Label element to try and fit the text into a given window.
    • Should be used in other elements (Eventually)

Showcase Program

  • "Loading" window
    • Doesn't actually load anything, used to test tickable windows and their elements
  • "Is This America?"
    • Small bit I use to test Dialogboxes. The lyrics are not owned by me and can be removed upon request.

Alrighty Version 1 is here

19 Jul 07:39
Compare
Choose a tag to compare

Changes from the beta version from a couple of hours ago:

Overall:

  • A lot more XML Documentation

BasicRender:

  • (N/A)

BasicGraphics:

  • You can now GetHeight()
  • Fixed bug where an empty last line shows up

BasicWindows:

  • More constructors for Window
  • Windows now animate in using scale rather than the solution I used way back in ITOS which is not super efficient and is not super neat/uniform
  • WindowElements now redraw when there highlighted state is modified.
  • Labels now handle NewLine characters correctly

Showcase Program:

  • Intro with a cute little logo which may have taken a bit too long to make
  • HelloWorld window runs before the showcase window.
  • Showcase window now launches a short 8 line story about a man angering an AI for the last time, after it only tells him that it is cloudy. Maybe I should re-do that story to be a little less morbid.

Finally, Class Libraries

19 Jul 00:36
Compare
Choose a tag to compare
Pre-release

BasicRender and a few extra utilities have finally been released separately! Hopefully it'll make using these cositas a little easier.

BasicRender contains the basic rendering utilities.

BasicGraphics contains the functions to draw DF or HC files, both from files, or from resources (editable and creatable using Henja2). It depends on BasicRender

BasicWindows is a very basic UI system for the .NET Console, which allows users to create windows composed of interactable window elements. Each window is essentially it's own "program" as it's executed. You cannot switch between windows as there's no window manager, though windows can launch other windows so at least there's that. It depends on BasicRender and BasicGraphics, due to the Image window element.

Not a full release because maybe I'll need to make a few more functions while I code a better example.