superpowers / superpowers-app Goto Github PK
View Code? Open in Web Editor NEW:rocket: Superpowers desktop app
Home Page: http://superpowers-html5.com/
License: Other
:rocket: Superpowers desktop app
Home Page: http://superpowers-html5.com/
License: Other
Launching the electron app raises
Error: Cannot find module './shared/I18n'
This on linux because of case sensitive import (file is called i18n)
So that we can use Wine1.6 and the latest electron-packager. See electron/packager#413 (comment)
Or maybe we just want to switch to electron-builder and support auto-updates.
Should fix sandbox-related bug with itch.
See https://github.com/electron/electron/blob/master/docs/api/app.md#appgetpathname and
itchio/itch#843 (comment).
We need to disable { lazyEntries: true }
and then limit to a reasonable number (???) of files at once so that we don't reach the OS's max file limit.
Tab opens and im stuck with LOADING black screen.
scene consist of 3d models with shaders,lights and cam created in 4.0.
new scene created in 5.1 also stuck
build is superpowers-v5.1.0-linux-x64.zip version file v1.7.9
Hi,
I have a weird problem where the script editor is sometimes empty (showing only "Line Message Script"). Here is a recording of this happening.
Tested with the master branch and v3.0.0 tag.
Any idea what's happening and how to fix it? I'm not sure if this is a -app or -core or -game issue (or a misconfiguration), so sorry if this is the wrong repo.
The current light grey is too discret
When running with two monitors on Ubuntu 16.04, the application and all subsequent new windows are starting on the second monitor on the left hand side, vertically centred.
It appears that it's trying to centre the new windows it creates, but is doing so across the combined view port of the two monitors, rather than just the view port of the primary monitor.
Starting superpowers-app from behind a proxy makes the UI unresponsive. Clicking buttons for settings or starting the server has no effect.
It would be nice if the app could run locally without network access.
Console output:
Loading settings from /home/xxxx/.config/Superpowers/settings.json. api.github.com/repos/superpowers/superpowers-app/releases/latest Failed to load resource: net::ERR_PROXY_CONNECTION_FAILED /home/xxxx/development/superpowers-v5.2.0-linux-x64/resources/app/shared/fetch.js:15 ProgressEvent superpowers-html5.com/news.de.html Failed to load resource: net::ERR_PROXY_CONNECTION_FAILED /home/xxxx/development/superpowers-v5.2.0-linux-x64/resources/app/shared/fetch.js:15 ProgressEvent superpowers-html5.com/news.en.html Failed to load resource: net::ERR_PROXY_CONNECTION_FAILED /home/xxxx/development/superpowers-v5.2.0-linux-x64/resources/app/shared/fetch.js:15 ProgressEvent superpowers-html5.com/news.en.html Failed to load resource: net::ERR_PROXY_CONNECTION_FAILED /home/xxxx/development/superpowers-v5.2.0-linux-x64/resources/app/shared/fetch.js:15 ProgressEvent
Looks like we are relying on the registry being available on startup:
I get an Uncaught TypeError: Cannot read property 'systems' of null
in onRegistryReceived
.
See https://itch.io/t/35698/cant-use-superpowers-when-offline#post-47037
Looks like superpowers.ico format isn't supported at least in XFCE4... running with Electron 1.4.1.
Thanks!
I am using Linux Distribution for 6.1 and it has a strange habit:
The only way to resolve this is to open up the tab afresh from the file explorer.
data-path=...
) + statusI am loving what you are doing with Superpowers.
Looking at the systems system, which I like, I'd like it to be more flexible.
Such as being flexible enough to have configurable build commands, and also that each project should be stored in a git-compatible way (nice "revisions" system, but keep metadata under something like /.superpowersrc
).
Looking forward to help as I use it! Congratulations.
I thought we had setup the proper shortcuts in the global app menu for that but maybe not?
This will make development easier and allow making portable versions of Superpowers.
If core
folder is found then we should load user data from parent folder too.
--core-path=
was specifiedcore/server/index.js install ${systemID}
?core/server
behind the scenes)core/server update core
core/server registry
, offer updating all or nothingMight be a ping-related issue.
For security reasons. We don't want random code being able to access the fs
or net
modules arbitrarily.
<webview>
are properly sandboxed?Hello, I've recently downloaded the v1 builds you made available and have encountered an issue with the Linux x64 one. My OS is Linux Mint Cinnamon (ROSA).
I downloaded the zip, extracted it, and ran the app. First, I'm unable to connect to the server due to an API mismatch, but after changing the API version in the json file, the server connects without issue.
However, when I set up the example platformer project and go to run it, I'm greeted with a blank screen.
The game itself does not run, I see no Superpowers Logo, nor do I get any compiling messages.
I'm currently using the source to run in a browser, which works fine, but the standalone app doesn't seem to want to run the game.
Sorry if this is on my end and not an actual issue (unsure if changing the API version might have caused this), but thought I should let you know.
Or at least display a proper error message. Right now it looks like it just display null%
as the progress indicator and then fails.
We should use Tray.displayBalloon to let people know the app runs in the background. Also we should autoclose the app if no server is running maybe?
"Window management buttons"? I don't know what they're called. On OS X they're colored circles and go on the left side of the window. For example, in iTunes:
They have the same effects in reversed order (stop, minimize, maximize), and they're already working fine, it's just annoying to have Superpowers work differently from most other applications.
Tried this on Superpowers v1.0 and v1.1 under Linux 64 Bit (Antergos 16.6)
When watching a Tile Set with some pixel having transparency (look around the planets in the screenshots), they have a full opacity when editing/viewing the TileSet, but not when using it in a TileMap or in a Scene.
(by the way thanks for your awesome software!)
Hi
I want to keep managing my Superpowers installation with the Itch app, but the v5 is not available on this platform.
Do you will continue to update it there ?
Some days ago I thought this was specific to the discover-superpowers-game
and reported it there, but now that I managed to build the development version of Superpowers, I think it's more of an app issue.
Problem: When launching a game from the game editor, the loading screen leads to "Failed to initialize renderer. Your device might not support WebGL."
Steps to reproduce:
Devel environment: Node.js v5.7.1, npm v3.6.0, Ubuntu 12.04.5 LTS precise
sp-dev/app = superpowers/superpowers-app @ d0af9ed: Make travis notify gitter
sp-dev/core = superpowers/superpowers-core @ 2f266e9: SupClient: Store client ID on ProjectClient
sp-dev/core/systems/game = superpowers/superpowers-game @ d1ce643: scene: Allow dropping scene in a prefab again. Fixes #79
sp-dev/proj/discover-superpowers-game = superpowers-extra/discover-superpowers-game @ d388ba3: Create LICENSE.txt
sp-dev/proj/pac-man-like-game = superpowers-extra/pac-man-like-game @ 89c10e0: Create README.md
sp-dev/proj/snow-world-game = superpowers-extra/snow-world-game @ fb9bef0: Create LICENSE.txt
sp-dev/systems/superpowers-love2d = superpowers/superpowers-love2d @ 2867741: README: Add build status badge
discover-superpowers-game
, pac-man-like-game
and snow-world-game
.Additional info:
navigator.userAgent
.
"Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) superpowers-app/0.0.0-dev Chrome/47.0.2526.110 Electron/0.36.10 Safari/537.36"
Electron/0.36.10
part seems to indicate that the install instructions have lead to an incompatible version of electron.Hostname: sup.bokopi.fr. Maybe we can alias it as ts.superpowers-html5.com?
I was wondering if you might have an interest in making snap package version. Also, your app would be promoted on the snap store page.
IRC server status should be hidden by default and there should be buttons to connect/disconnect, show/hide status and a button to open the various channels.
Right now password and "open server to the Internet" don't do anything?
Running the app from the itch.io launcher gives me:
Uncaught Exception:
Error: EXDEV: cross-device link not permitted, rename '/home/xananax/.local/share/Superpowers' -> '/hawm/.back/.config/Superpowers'
at Error (native)
at Object.fs.renameSync (fs.js:809:18)
at Object.getPaths [as default] (/hawm/.back/.config/itch/apps/Superpowers/superpowers-v2.0.0-linux-x64/resources/app/getPaths.js:49:16)
at EventEmitter.onAppReady (/hawm/.back/.config/itch/apps/Superpowers/superpowers-v2.0.0-linux-x64/resources/app/main.js:52:23)
at emitOne (events.js:101:20)
at EventEmitter.emit (events.js:188:7)
Here's the complete debug log created by itch.io.
Both '/' and '/hawm' are EXT4 drives, but they are two different (physical) drives, I suppose that's where the error comes from.
My ~/.config
lives in my second hawm
drive, and is symlinked, because my main gets filled up fast.
Running superpowers from the command line produces the same error. Additionally, I get the following output:
/hawm/.back/.config/Superpowers
Migrating data from /home/xananax/.local/share/Superpowers to /hawm/.back/.config/Superpowers...
To note, I have no .local/share/Superpowers
directory, nor a .back/.config/Superpowers
directory. I have a /hawm/.back/.config/superpowers-app/
directory, which contains 3 symlinks, two of which are broken (SingletonCookie
and SingletonLock
)
I'm on Arch Linux.
Just like in the server itself: https://github.com/superpowers/superpowers-core/blob/39cd9e57aa882ab651a7600e328dcf772ff0aed2/server/commands/start.ts#L100
That would make it very easy to join a server or project through the app.
We could use Electron to register a custom protocol: https://github.com/atom/electron/blob/master/docs/api/protocol.md
and then links like superpowers://1.2.3.4:4237/ could work?
with a redirect service so that it links in most chats: something like http://server.superpowers-html5.com/#1.2.3.4/4237 that redirect to superpowers://1.2.3.4:4237/
And if the superpowers:// doesn't open the app, the page could still offer to connect directly through the browser. Best of both worlds!
On Mac, the app doesn't close until it is explicitly closed anyway so it makes no sense to do the minimize animation like on Windows.
This is related to #28 but actually happens even when closing the app properly. The server gets killed, but it should be gracefully shutdown.
Hello, i need to manipulate verticles of Mesh to do this is need to get type mesh from children array of Object3D by SupThreeScene.getObjectByName("name").children[mesh_object_position] + bump SupThreeScene.getObjectByName("name").children[mesh_object_position].geometry.attributes.position.version (or just call buffer_geometry.attributes.position.needsUpdate = true; buffer_geometry.attributes.color.needsUpdate = true;)
unfortunetly SupThreeScene.getObjectByName("name").children[] only returns Type Object3D :(
Not sure if this is the right part of superpowers to say this but I have no clue what this error is. It's not documented on the manual and it's only been put here without a very coherent reason how it got fixed.
For context, I tested on win32x and win64x of this app. I have the correct update of chrome (if that matters), and yes WebGL does run on my chrome, I checked. My computer is running on 64bit windows.
How do I fix this? Do I need to update something specific? Is it my drivers?
We should link to https://github.com/sparklinlabs/superpowers-asset-packs in the app so that people can easily find our free assets!
The home tab has a few features:
Basically the same links as the one at the top of the website. They should open in the default browser.
The website should be updated to use a localized JSON file to list news (http://superpowers-html5.com/news.fr.json
for instance) and then we can fetch them from there. Or maybe just an HTML snippet (a bunch of <li>Some news <a href="">with some link</a></li>
) accessible at its own URL for each language (superpowers-html5.com/snippets/news.fr.html
or something)
Neither Gitter nor Discord can be embedded satisfactorily. We were thinking of building a custom chat but @bokopi mentioned we could use an IRC server, which would be great for interoperability.
So I guess we need to find a good IRC client lib on npm (maybe https://www.npmjs.com/package/irc ? nope, GPLv3-licensed, maybe https://www.npmjs.com/package/slate-irc ?) and figure out which server we could use. Freenode could be a good home (see their policies).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.