Comments (4)
Quite an interesting question. I am not quite sure how pygame really work in browser or maybe it may work with some sort of emulator? The issue with online complier/virtual/cloud may be the amount of ram (about at 1.4 GB - 2 GB in the current version) require to run the game.
I will have a look for this potential adaption later.
from masendor.
Here is one way to run pygame on browser but the free version only allow 500 MB ram: https://replit.com/
The game could work there if it disable animation function
from masendor.
I been using pygbag and I got some of my games to work on web.
It can be a bit tricky because not everything is working there. For example the pygame.PixelArray does not seem to exist there (yet?) so if we are depended on it, it can be hard.
If using pygbag all the resources are done locally, there is not "cloud" in that sense.
If you want multiplayer in cloud it whole other complexity
from masendor.
Well seem like the pygbag project is a good choice since it also has mobile port. Consider that the project is still active. Probably worth waiting for them to catch up with newer pygame update. It will take time for this game to be ready anyway.
The game multiplayer probably would best be done via IP connection or something I guess since it is probably the most simple method. (Unless we want to add matchmaking server or something but that is another issue entirely)
Thanks for the suggestion :)
from masendor.
Related Issues (20)
- error HOT 2
- rotationxy() takes 3 positional arguments but 4 were given HOT 2
- Game not working in the current commit.
- ico san HOT 1
- Directory pathing for other OS HOT 1
- Issue HOT 8
- issue #2 HOT 4
- issue #3 HOT 4
- Map editor issue HOT 2
- Mechanic Improvement HOT 2
- eRROR HOT 74
- Issue that I'm pretty sure is ok HOT 37
- Question? HOT 12
- error HOT 102
- 'Unsupported operand type(s)' Error HOT 2
- Change the term map "source" to something more specific HOT 1
- i18n & Translation - Separate game logic from translatable strings HOT 7
- Map editor HOT 4
- Add default module system
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 masendor.