Comments (4)
Thank you!
I confirmed the this bug happen.
I'll fix it.
from pyxel.
This bug is caused by the same reason as #26
As explained in #26 ,unfortunately it it difficult fix this bug in the current implementation.
So please treat this as a specification of Pyxel for now.
I'll add the limitation of window size to the READMEs.
from pyxel.
@carlsmith
Sorry, let me confirm the situation again.
Pyxel's application window is resizable and when the window size is changed, its rendering area is also changed to the largest pixel perfect scaled size.
For example, if the application initialized as 100x100 and the window size is 300x250, pyxel changed the scale to 2 automatically, and as a result, rendering area size will be 200x200.
(Actually, I also forgot about this specification, sorry!)
Normally, when the application is initialized, first, Pyxel try to make the window expanded 4 times and if its size is larger than OS's window size limitation, change the window size to the allowed maximum size. After that, the rendering area will be changed automatically as I wrote.
On the other hand, regarding cls
behavior, I don't know what happens for now.
So could you try set the scale option and check what happen again?
like this:
pyxel.init(100, 256, scale=3)
Thank you!
from pyxel.
I'll try that later today. Thanks for taking the time to look into it, and explaining the situation.
from pyxel.
Related Issues (20)
- Confusion with `blt` function HOT 7
- Unable to import classes from different files using https://kitao.github.io/pyxel/wasm/launcher/?run= HOT 6
- palette only 0..254 (v2.0.2) HOT 2
- mouse_wheel never become 0 HOT 3
- Pyxel Editor crash when selecting Music Editor HOT 6
- Non pixel perfect pixels on the right side of the screen HOT 29
- Pyxel not running HOT 4
- Pyxel crash when starting edit or hello world example HOT 1
- Don't start when I ask for
- command for the terminal didn't work (pycharm) HOT 2
- Slide sound effect only works once HOT 4
- Unable to build a pyxel to exe application on a drive other than C:/ on Windows. HOT 1
- pyxel edit で音符マークを押したら music_editor.py の インデックスエラーで異常終了する。 HOT 1
- `pyxel.sqrt(0)` returns 1.7976931348623157e+308 HOT 4
- Id like to edit the game on web. HOT 3
- Drone yazılımı arıyorum HOT 1
- Please tell me your work with Pyxel (Part5) HOT 6
- New functions HOT 2
- pyxel run of .pyxapp file results in "no such file: 'filename.pyxapp.py' HOT 2
- How to run Pyxel with the latest Emscripten (3.1.46+) HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyxel.