Jump to content

CodeLab v6.0 (for advanced users) Released June 25, 2020


Recommended Posts

5 hours ago, georch said:

Your server is down, it gives me a HTTP 500 answer from IIS. Can you fix that, or, for that matter, mirror CodeLab elsewhere?

 

The direct link to the zip file should still work:

 

http://boltbait.com/pdn/CodeLab/CodeLabInstaller400.zip

 

Sorry about my web site issues.  My hosting company is a piece of ... um ... garbage!  I'm in the process of shopping around for a new company that actually knows what they're doing.

 

Click to play:
j.pngs.pngd.pnga.pngp.png
Download: BoltBait's Plugin Pack | CodeLab | and how about a Computer Dominos Game

Link to post
Share on other sites
On 12/27/2017 at 4:05 AM, toe_head2001 said:
On 12/2/2017 at 4:43 PM, MadJik said:

I'm having trouble with radiobuttons (same for dropdownlist).

In CodeLab I can change the value in the UI part of the code

Once built the Radiobutton is set to 0 ('None')

 

Howdy, I've fixed this for the next release.

However, anytime you use the UI Designer, it will revert the number back to 0 in your script. You'll need to make sure it's correct before building a DLL.

 

I've fully fixed this: Using the UI Designer will no longer revert the value back to 0.

Link to post
Share on other sites
7 hours ago, MadJik said:

Where could I download the updated version? CodeLab from BoltBait site still reverts the value to 0.

 

@toe_head2001 and I work together on CodeLab.  So, when he says he fixed something it means it will show up in the next official release of CodeLab.

 

When will the next official release happen?  I'm not sure.  Generally, we both work on stuff until we feel that we have a "release full" of stuff done.  Currently, there's only a "handfull" of stuff done.  But, I'm sure it won't be too long.

Click to play:
j.pngs.pngd.pnga.pngp.png
Download: BoltBait's Plugin Pack | CodeLab | and how about a Computer Dominos Game

Link to post
Share on other sites
  • 4 weeks later...
6 minutes ago, Sonario648 said:

Does this work as a text editor using nodepad/notepad++ ?

 

Yes, CodeLab is essentially a text editor.

Both CodeLab and Notepad++ use the Scintilla component for the actual text editing.

 

7 minutes ago, Sonario648 said:

Problem is...I have no idea how to code.

 

You'll need to know how to code, if you want to make meaningful changes to the Speech Bubble effect.

It's not to late to learn though. :)

Link to post
Share on other sites
Just now, toe_head2001 said:

 

Yes, CodeLab is essentially a text editor.

Both CodeLab and Notepad++ use the Scintilla component for the actual text editing.

 

 

You'll need to know how to code, if you want to make meaningful changes to the Speech Bubble effect.

It's not to late to learn though. :)

Even if I simply want to add a few more directions for the....tail that's used to show who is talking and where the speech is coming from?

Edited by Sonario648
Just found out finally that the thingamabob line thingy is called a tail.
Link to post
Share on other sites

Yup. You'll need to know C#.

 

As far as I recall, the author of Speech Bubble ( @dpy ) hasn't released the source of his plugins.

Link to post
Share on other sites

CodeLab 4.1 Released

This is only for Paint.NET 4.1.2+!

 

Small update today...

 

Changes:

▪ Added a 'Find Next' button to the Find panel. (toe_head2001)
▪ Ensure the .rtz file is part of the generated Solution. (toe_head2001)
▪ Retain default values when using UI Designer. (toe_head2001)
▪ Changed "while" snippet. (toe_head2001)
▪ Fixed generated OnDispose code. (BoltBait)
▪ Fixed a bug in Install.BAT files for the Store versions of PdN. (BoltBait)
▪ Lots of code cleanup, minor fixes, and HiDPI fixes. (toe_head2001 and BoltBait)

 

Grab the CodeLab DLL here:

 

http://www.boltbait.com/pdn/CodeLab/

 

 

OnDispose code fix:

 

In previous builds of CodeLab, if you used the File>New templates to generate a CodeLab script and you used an effect or a working surface, CodeLab would generate an OnDispose method like this:

 

protected override void OnDispose(bool disposing)
{
    // Release any surfaces or effects you've created.
    if (wrk != null) wrk.Dispose();
    wrk = null;
    if (blurEffect != null) blurEffect.Dispose();
    blurEffect = null;

    base.OnDispose(disposing);
}

This is no good because it will dispose your effects and work surface without looking at the "disposing" flag variable.

 

This release of CodeLab corrects the generated code to the following:

 

protected override void OnDispose(bool disposing)
{
    if (disposing)
    {
        // Release any surfaces or effects you've created.
        if (wrk != null) wrk.Dispose();
        wrk = null;
        if (blurEffect != null) blurEffect.Dispose();
        blurEffect = null;
    }

    base.OnDispose(disposing);
}

Notice that it is now checking the "disposing" variable before actually disposing the work surface and effect.

 

You may need to revisit any effects you've written in the past to be sure the OnDispose code is written properly.

 

  • Like 1
  • Upvote 3

Click to play:
j.pngs.pngd.pnga.pngp.png
Download: BoltBait's Plugin Pack | CodeLab | and how about a Computer Dominos Game

Link to post
Share on other sites
  • BoltBait changed the title to CodeLab v4.1 (for advanced users) Released October 22, 2018

First of all, thank you very much for your work.

 

Secondly, about AngleChooser, sometimes it's useful to set a zero-trigonometric value to +90 degrees. This could be added as an option in the Style drop-down list.
Default: trigonometric zeros
Custom: zeros to +90 degree

 

I don't know how much work this option requires and that's why I don't want to insist. Anyway, I can live without it. ?

Edited by xod
Link to post
Share on other sites
  • 2 weeks later...
  • 3 weeks later...

I've created some work-in-progress documentation for CodeLab.  This covers the actual features of CodeLab; nothing code related.

It is written in markdown files, and then MkDocs is used to build those files into a website.

 

https://toehead2001.github.io/codelab-docs/

 

Each page has an edit icon in the top right corner. Feel free to fill in any missing content.

A GitHub account to required to submit changes though.

 

  • Upvote 1
Link to post
Share on other sites

I don't know if this is intentional behavior or a bug.

 

b23bteT.png

 

Also, for Display setting to 125% if the UI becomes too high and the scroll bar appears, the control is not properly resized and the color rectangle is not entirely visible.

 

KiXBtYm.png

Edited by xod
Link to post
Share on other sites
6 hours ago, xod said:

 

I don't know if this is intentional behavior or a bug.

 

 

What at do you expect to happen?

 

Currently, the selection is displayed in the control so the + is constrained to the selection. 

 

BTW, 125% is an evil abomination that shouldn’t exist. Only 100 or 200 should be chosen. 

  • Like 1

Click to play:
j.pngs.pngd.pnga.pngp.png
Download: BoltBait's Plugin Pack | CodeLab | and how about a Computer Dominos Game

Link to post
Share on other sites
  • 1 month later...

I have a problem when opening CodeLab ( I am a beginer):

I get the error message: Full error message: System.ArgumentException: Font 'Verdana' does not support style 'Regular'........

I have run the Consolas and Hack font installers and had a go at running the registry thing with Envy Code R

Any thoughts?

Many thanks.

 

Edited by Chas
spelling
Link to post
Share on other sites
36 minutes ago, Chas said:

I get the error message: Full error message: System.ArgumentException: Font 'Verdana' does not support style 'Regular'

 

Install the Verdana font?

 

https://www.google.com/search?q=verdana+font+download

 

Verdana is one of the fonts that comes with Windows.  Are you running Windows in a language other than English?

 

Click to play:
j.pngs.pngd.pnga.pngp.png
Download: BoltBait's Plugin Pack | CodeLab | and how about a Computer Dominos Game

Link to post
Share on other sites
  • BoltBait changed the title to CodeLab v6.0 (for advanced users) Released June 25, 2020

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...