Skip to content

Commit

Permalink
Bump to version 1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Calinou committed Jun 26, 2024
1 parent ccfc40a commit 0bd18d4
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 11 deletions.
16 changes: 13 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [1.2.0] - 2024-06-26

### Changed

- Updated add-on for Godot 4.2.2.
- Anisotropic filtering is now used to improve quality.
- To ensure the best possible quality, it's recommended to set the
**Anisotropic Filtering Level** project setting to 16× (default is 4×).

### Fixed

- [Fix AntialiasedPolygon2D and AntialiasedRegularPolygon2D setters not working.](https://github.com/godot-extended-libraries/godot-antialiased-line2d/issues/6)
Expand Down Expand Up @@ -34,6 +43,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Initial versioned release.

[Unreleased]: https://github.com/godot-extended-libraries/godot-antialiased-line2d/compare/v1.1.1...HEAD
[1.1.1]: https://github.com/godot-extended-libraries/godot-antialiased-line2d/compare/v1.1.0...v1.1.1
[1.1.0]: https://github.com/godot-extended-libraries/godot-antialiased-line2d/compare/v1.0.0...v1.1.0
[Unreleased]: https://github.com/godot-extended-libraries/godot-antialiased-line2d/compare/v1.2.0...HEAD
[1.2.0]: https://github.com/godot-extended-libraries/godot-antialiased-line2d/compare/1.1.1...v1.2.0
[1.1.1]: https://github.com/godot-extended-libraries/godot-antialiased-line2d/compare/v1.1.0...1.1.1
[1.1.0]: https://github.com/godot-extended-libraries/godot-antialiased-line2d/compare/1.0.0...v1.1.0
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# MIT License

Copyright © 2022 Hugo Locurcio and contributors
Copyright © 2022-present Hugo Locurcio and contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Antialiased Line2D add-on for Godot 3.x
# Antialiased Line2D add-on for Godot 4.x

![Screenshot](https://raw.githubusercontent.com/Calinou/media/master/godot-antialiased-line2d-demo/screenshot.png)

Expand Down Expand Up @@ -84,6 +84,11 @@ if you do not have Git installed.

## Usage

> [!TIP]
>
> To improve rendering quality, set the **Anisotropic Filtering Level** project setting
> to 16× (instead of the default 4×). This particularly helps for narrow or curved lines.
### Lines

- After enabling the plugin, add an *AntialiasedLine2D* node to your scene tree dock.
Expand Down Expand Up @@ -116,9 +121,6 @@ or reloading the scene in the editor.
property to be the same color as the Polygon2D's fill color.
That's all there is to it :slightly_smiling_face:

**Note:** Do not enable the Line2D or Polygon2D built-in **Antialiased** property,
as it is unnecessary with this add-on; it will only worsen the antialiasing quality.

## How it works behind the scenes

1. A texture with custom mipmaps is procedurally generated in GDScript to handle
Expand All @@ -136,7 +138,7 @@ as it is unnecessary with this add-on; it will only worsen the antialiasing qual

## License

Copyright © 2022 Hugo Locurcio and contributors
Copyright © 2022-present Hugo Locurcio and contributors

Unless otherwise specified, files in this repository are licensed under the
MIT license. See [LICENSE.md](LICENSE.md) for more information.
4 changes: 2 additions & 2 deletions addons/antialiased_line2d/plugin.cfg
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[plugin]

name="Antialiased Line2D"
description="Antialiased Line2D for any line width (supports GLES3 and GLES2)"
description="Antialiased Line2D and Polygon2D for any line width (supports all rendering methods)"
author="Calinou"
version="1.1.1"
version="1.2.0"
script="plugin.gd"

0 comments on commit 0bd18d4

Please sign in to comment.