Comments (5)
Hi,
First, I don't have any plan to restrict Pyxel to run only standalone. I'll keep it as python module.
Second, you can run Pyxel application with arbitrary resolution. (Rather you must specify the window size because the init method needs the window size as its arguments)
Regarding your physical machine idea, I don't think it's good idea to use Pyxel for its base.
Because the concept of Pyxel is how to make it easy to start a game program. So I chose Python, popular language for beginners, and limited the number of palettes to 16 to make it easy to draw a picture. On the other hand, I don't make any speed limitation because it may make it difficult make a game. I don't think these features are suitable for physical machines.
from pyxel.
First, I don't have any plan to restrict Pyxel to run only standalone. I'll keep it as python module.
Sweet. That was the main concern. Thank you.
Second, you can run Pyxel application with arbitrary resolution. (Rather you must specify the window size because the init method needs the window size as its arguments)
This does not seem to work for me. I tried a simple app at 160x128 and it worked fine. I changed the values to 320x256 (one of the resolutions I wanted to support), and it doesn't work correctly. It creates a large window with a dark grey background, with a smaller black screen inside it. The background color doesn't fill the black inner screen. It creates a large square of background color that is centered at the bottom of the screen, with black margins to the top and sides.
Regarding your physical machine idea, I don't think it's good idea to use Pyxel for its base...
Just to be clear, I wouldn't be using Pyxel to build the desktop environment or the editors that run on it. They'd be conventional desktop applications. Pyxel would be only be used to provide users with an API for building games, pretty much as they'd use it now.
I understand the reason for simple limitations, and don't want to remove them. I just want to provide a range of modes, each enforcing a different set of limitations. For example, a Game Boy Mode, with the 2bit green palette, 160x144 resolution etc - just as an option. It would still be a fantasy console, but (just like many old systems) it would have more than one graphics mode.
Thank you for considering this, @kitao. I'm grateful for your time.
from pyxel.
The PICO-8 community have developed syntax highlighters for popular text editors, as they do not like using their builtin editor either. That kinda spoils the experience though.
Deriving a Linux distro from PixelOS that runs our own tools would definitely be a viable option.
The tools would look and feel right (we would use pixel art icons, retro fonts etc), but still something people can realistically use over many projects.
Knowing the exact resolution of everybody's display also makes laying out user interfaces much less of a pain.
Also note that installing a custom distro is trivial on a RPi, as you only have to swap the SD card.
Once you go down the custom distro route, you can do a bunch of other stuff, like preventing the user from escaping the sandbox unless they really want to, bundling stuff like Python libraries and spritesheets. We can also make sure everything works out the box (like controller support).
And we have the fun of bikeshedding a fantasy microcomputer for everyone to clone.
I understand this is getting way off topic now. A lot of this stuff has nothing much to do with Pyxel, but I'd like to make the case for adding modes to Pyxel, so it can be used for projects like the one I'm describing, without needing to fork it.
Are there any technical objections to supporting modes, or would it be primarily a design choice?
What are the longer term plans with Pyxel for the tools?
Thanks again, @kitao, for considering this.
from pyxel.
I'm going to close the issue. The main question has an answer.
I'll look into adding modes, and we can discuss it once I have some code. I'm busy with a friend's app for now anyway, so it may take a while.
Thanks again.
from pyxel.
OK, I'll wait for your suggestion with code! Thanks
from pyxel.
Related Issues (20)
- Freeze when rotating screen on iOS (on web) HOT 1
- ImportError: libSDL2-2.0.so.0: cannot open shared object file: No such file or directory HOT 4
- [Feature request] Implement an equivalent method to Pico 8 Load() HOT 3
- When I run an HTML application with ver 2.0, the assets file does not load properly. HOT 3
- Pyxel edit crashes upon cursor entering with EXC_BAD_ACCESS (SIGBUS) HOT 5
- demo of 30 Seconds Of Daylight is crashing HOT 2
- Pyxel 2.0.0 displays only black screen on Raspberry Pi HOT 12
- 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
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.