Comments (5)
works fine for me with python 2.7 based pygame <3
from singularity.
«Pygame may not always be built to support all image formats. At minimum it will support uncompressed BMP. If pygame.image.get_extended() returns 'True', you should be able to load most images (including PNG, JPG and GIF).»
mine outputs True for print(pygame.image.get_extended())
https://www.pygame.org/docs/ref/image.html#pygame.image.load
from singularity.
Hi @EinstokFair
When you start the game, do you get the menu and are you able to access the Options to change theme?
I ask because the image it fails to load is for the default theme. I was hoping that you as a work around could try one of the other themes, but I am bit unsure what works for you at this stage.
from singularity.
If that does not work, then a more involved attempt is to modify the prefs.dat
file (you may have to create it) and set the theme=vector
. But I admit it is far from "good".
Scratch that - the vector theme depends on the default theme, so it would still crash. We need to resolve the reason for why your pygame says it supports the images we need and then fail to deliver on that promise. This may be a bug in your distribution build of pygame (if you are using a distribution) or pygame itself.
from singularity.
It is possible to choose theme via command line argument at command line. But I don't know which name to try.
I am unable to get into "options" menu, because stack trace appears right after the application start.
UPD:
$ singularity --theme=vector
Singularity 1.00 (commit: 2ebc2f3)
Running under Python 3.9.5 (default, Jul 15 2021, 11:19:42) [GCC 10.3.0]
pygame 2.0.1 (SDL 2.0.10, Python 3.9.5)
Hello from the pygame community. https://www.pygame.org/contribute.html
The error-log configured as /home/user/.local/share/singularity/log/error.log (lazily created when something is logged)
True
/usr/lib/python3.9/site-packages/singularity/data/themes/vector/images/earth_night.png
/usr/lib/python3.9/site-packages/singularity/data/themes/vector/images/earth.png
/usr/lib/python3.9/site-packages/singularity/data/themes/default/images/arrow.png
/usr/lib/python3.9/site-packages/singularity/data/themes/default/images/icon.png
Starts successfully to menu. Filenames and "True" word are lines which I added for diag.
from singularity.
Related Issues (20)
- Autosaves HOT 1
- Automation of repetetive actions HOT 1
- malloc_consolidate(): unaligned fastbin chunk detected HOT 9
- Fatal Python error: pygame_parachute: (pygame parachute) Segmentation Fault on Gentoo HOT 11
- how to run from source windows HOT 1
- Crash on OSX HOT 1
- Crash bug: Fatal Python error: (pygame parachute) Segmentation Fault in Ubuntu HOT 2
- More music for the game
- Upload to PyPI?
- How do diesel generators work on the bottom of sea and on the moon? HOT 7
- Freedom issue: music requires proprietary software to compile HOT 14
- Crash bug HOT 3
- Signing key expired HOT 9
- Sway (wayland/xwayland) Crash bug HOT 3
- CPU building fails to progress HOT 3
- Publish the game on steam and other websites HOT 3
- Provide auto-save feature
- Crash bug: can't get singularity to bind/execute my trinity image. singularity command responds with the same warning message - core dumped HOT 1
- This software creates a 'utils' subdirectory in /usr/lib/python3.11/site-packages/ HOT 4
- Update credits/attribution HOT 2
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 singularity.