Skip to content

Releases: ZetaMap/Kandinsky-Numworks

Bug fixes

27 Apr 11:23
Compare
Choose a tag to compare

fixed tkinter 'drag_event_stop' error when closing window
updated demo game
fixed invalid window size on some linux distro
added environ variable to enable window resizing
documented experimental features

TODO:
Add GUI option to enable window resizing

Little fixes

22 Dec 09:59
Compare
Choose a tag to compare

To upgrade the module, run this command: pip install -U kandinsky

Added a little patch for linux to help Ion to locate the window
fixed incorrect mask right shift when decoding color of pixel
fixed incorrect color convertion between numworks and upsilon/omega os

TODO:
Add GUI option to enable window resizing

Some changes

17 Oct 19:24
Compare
Choose a tag to compare

Use this command to upgrade the library : pip install -U kandinsky

Updated demo game
Fixed SDLError when draw_string() has an empty line
Fixed ambiguous definition of typed methods (in __init__.pyi)

TODO

Add GUI option to enable window resizing

Little update (no bugs fixed)

15 Sep 06:49
Compare
Choose a tag to compare

remaked setup.py properly
fixed dependencies not installing on mac
added automatic setup scripts instead of builder.py
updated 3d_demo.py

Fixed some bugs

20 Aug 19:16
Compare
Choose a tag to compare

fixed window not close on linux
fixed unintended warnings with new version of ion
fixed unnecessary import of ion for other os mode
fixed bug with get_keys() for Omega (using the internal API)

To upgrade, use command : pip install -U kandinsky

Re-new of library!!

06 Aug 12:08
Compare
Choose a tag to compare

ALL NEW!!!

New dependencies, now use PySDL2 instead of PyGame, and Tkinter.
A GUI with some options to control script execution, to zoom the screen or take a screenshot.
New shortcuts commands.
Now the window is autonomous, the problem of freezing during long operations has been fixed.
A popup to notify the end of script.
Methods of Omega and Upsilon has been added.
Numworks runtime emulation has been improved.
Added button in the GUI to see the keyboard keys associated with Ion
Full support of colors (with name, hex format, list, gray ratio)
For developers: Environ variables has been added to modify options of libary before importing it. More informations here

How upgrade?

run the command pip install -U kandinsky


Changes since the last dev version:

fix warnings not printing on some cases of use
added warning if installed 'ion' is not the right library
fixed bug in builder.py and somes changes
fixed somes other bugs
added speed for upsilon and omega methods
somes changes in StateData and Tests classes
fixed bug with fill_polygon()
added method display() (only for macos) in README.md
found a patch for macos with 'pyobjc' to embed SDL2 windows in a Tkinter frame (source)
removed test.py because will no longer be used
fixed bug when reading the color of a pixel (I swapped X and Y axes, by mistake)
changed the equation to get a pixel (I forgot to take into account the zoom and equation was not correct)
PC mode have now the new argument of upsilon version of draw_string()
added a button to GUI to know on which OS or model, the library was launched

Thanks to @adriweb for helping me a lot with testing the library on MacOS

2.5.dev1 release

12 May 14:12
Compare
Choose a tag to compare
2.5.dev1 release Pre-release
Pre-release

Yes sorry, this time, this is the last pre-release before stable version.

added environ variable 'KANDINSKY_SCREEN_SIZE', to change size of screen
fixed import catcher not working when testing depencies
fixed error raised when color method used like this: color(0, 0, 0)
added option to zoom the screen at x1 to x4
also, new environ variable ('KANDINSKY_ZOOM_RATIO') and new option in gui, added for this feature
changed disposition of gui options
forgot to create new way to get color with ratio, like this color("0.3")
forgot some colors name
added color bit expension of epsilon (https://github.com/numworks/epsilon/blob/master/kandinsky/include/kandinsky/color.h#L47)
remaked environ verification
added new shortcut commands
fixed os-only features

TODO:
library don't work on MacOS
calculate speed for upsilon and omega methods

Note:
also, i forgot to publish changes after publish branch to a create new. so is normal if the branch is named "2.5.dev2"

2.4.dev1 release

29 Mar 20:17
Compare
Choose a tag to compare
2.4.dev1 release Pre-release
Pre-release

last version in development before the official release of the stable version

to update use command: pip install -U --pre kandinsky

fixed errors raise not properly
optimised fill_polygon() method
remove the added random sleep ratio because not useful
try to get more precision for microseconds sleeps

Note for Windows users: microseconds sleep use the library "win-precise-time" to get more accurate for emulation, if is not installed it try to use another way but it's will be less accurate.

fixed the freeze bug in demo game (I forgot the lettre 'h' in line 29 xD, so the new cherry is in other variable)
added possibility to delete all build file at end building of library
fixed clear files not work in builder.py
finnaly i moved the ion ingreation into Ion-Numworks, now get_keys() raise an error if it's not installed
i forgot some field for Omega and Upsilon OS
fixed bug, all methods are normally positional-only arguments
added parameter font of draw_string() for omega and Upsilon
changed head drawing
fixed on some linux distribution, after take screenshot, opening folder start web browser

TODO:
at random time, error loop when window closed in python shell mode on Windows 10
screen refresh stops when user interact with the GUI on Windows
calculate speed for upsilon and omega methods

2.3.dev1 release

11 Mar 15:05
Compare
Choose a tag to compare
2.3.dev1 release Pre-release
Pre-release

TO UPDATE THE MODULE TYPE THIS IN COMMAND PROMPT
pip install -U --pre kandinsky

Fix shortcut commands not work
Fix window icon not show
add an message to user when script is finished
fix bug in get_pixel()
fix bug in draw_string() with some escape characters
add ion implementation for get_keys() method and ion-numworks module
add new button to Help menu to see the correspondence between the keys of numworks and pc
fix some display issues of GUI on Linux
handle multiple import of library
fixed bug when open directory after take screenshot on some linux distribution, is open web browser instead of file explorer
fixed game resuming after taking a screenshot while paused

TODO:
at random time, error loop when window closed in python shell mode on Windows
parameter font of draw_string() for Upsilon not implemented for moment
screen refresh stops when user interact with the GUI on Windows
calculate speed for upsilon and omega methods

2.2.dev1 release

24 Nov 16:50
Compare
Choose a tag to compare
2.2.dev1 release Pre-release
Pre-release

pip install -U --pre kandinsky to upgrade it

Update file tree for 'ready to compile' (now just run builder.py to build and install library)
Fix SDL error when GUI interact after call quit()
Fix minor bug in debug mode
Fix quit method not work
Change name syntax for environ choses
Added all Omega methods
Added all Upsilon methods
> (new methods are added with chose of os)
Fix some display bug
Fix demo script don't start
Fix PC mode enable with shortcut CTRL+M
implement of ion module in this library

TODO:
random time error loop when window close in python shell mode on Windows 10
parameter font of draw_string() for Upsilon not work for moment
screen refresh stop when user interact with GUI
open a window to inform the user that the script is finished
calculate speed for new methods