Wouldn't it work to just show a black screen with perhaps a restart button when you call love.event.quit()?
Another, probably better but perhaps more complicated solution, would be that when you make your website and add your game, you must also provide a link. When the game quits, it directs you to wherever that link leads. So if you have for example a homepage and the game page, it can direct you back to the homepage afterwards.
LÖVELINESS a LÖVE Chrome Extension
Re: LÖVELINESS a LÖVE Chrome Extension
My game called Hat Cat and the Obvious Crimes Against the Fundamental Laws of Physics is out now!
Re: LÖVELINESS a LÖVE Chrome Extension
T-Bone, if I understand binji correctly, there is no control over what is displayed on the page before, during, or after the game.
Maybe you could create a minimal wrapper app around LOVE for the launcher/post-game links thing. Could be overkill, though. I dunno.
Are all those context menu and other modifications dependent on webpage Javascript, or can a Chrome extension do that automatically? Though, I still think a simpler solution would be better. Maybe just always open the game in a new tab, then either close it or go blank upon quitting.
Maybe you could create a minimal wrapper app around LOVE for the launcher/post-game links thing. Could be overkill, though. I dunno.
Are all those context menu and other modifications dependent on webpage Javascript, or can a Chrome extension do that automatically? Though, I still think a simpler solution would be better. Maybe just always open the game in a new tab, then either close it or go blank upon quitting.
- Puzzlem00n
- Party member
- Posts: 171
- Joined: Fri Apr 06, 2012 8:49 pm
- Contact:
Re: LÖVELINESS a LÖVE Chrome Extension
First off, I'd like to thank you for making this! I really, really like it, and I'm sure it will prove very useful to us all.
What I'm here to say is that this extension appears to have suddenly stopped working for me as of yesterday. It's post-Ludum Dare season, you see, so I've been rating a lot of games, and awesomely, a lot of LÖVE games, so I've been using the extension often. I even linked it's download page on my entry in case anyone who rated my game might find it useful. But again, the extension stopped working for me, and I got a comment from someone that said it didn't work for them, either. So I'm just giving you the heads-up. I tried the "enable native client" thing too. No dice.
What I'm here to say is that this extension appears to have suddenly stopped working for me as of yesterday. It's post-Ludum Dare season, you see, so I've been rating a lot of games, and awesomely, a lot of LÖVE games, so I've been using the extension often. I even linked it's download page on my entry in case anyone who rated my game might find it useful. But again, the extension stopped working for me, and I got a comment from someone that said it didn't work for them, either. So I'm just giving you the heads-up. I tried the "enable native client" thing too. No dice.
I LÖVE, therefore I am.
- slime
- Solid Snayke
- Posts: 3166
- Joined: Mon Aug 23, 2010 6:45 am
- Location: Nova Scotia, Canada
- Contact:
Re: LÖVELINESS a LÖVE Chrome Extension
LÖVE 0.7.2 and below just had love.event.push("q"). LÖVE 0.8.0 renamed it to love.event.push("quit"), and added love.event.quit() as well.hryx wrote:Like I said, the 'q' event is from an older version of LOVE, which is now love.event.quit. So I agree that you should really let LOVE handle it as it would -- in this case, bluescreen on love.event.push('q') -- presuming the extension is loading LOVE v0.8 and not an older one.binji wrote:It should be easy to support the "q" message as well -- though I'm hesitant to add features like that. If it fails in desktop love, it should fail in LÖVELINESS! (and the other way around too, but that's harder. )
Re: LÖVELINESS a LÖVE Chrome Extension
What version of Chrome are you running? (type about:version in the URL bar) What OS? Do you have a 32-bit or 64-bit computer? Does Native Client work if you run a different application (try https://chrome.google.com/webstore/deta ... ipaephckkd)Puzzlem00n wrote:But again, the extension stopped working for me, and I got a comment from someone that said it didn't work for them, either.
Thanks!
- Puzzlem00n
- Party member
- Posts: 171
- Joined: Fri Apr 06, 2012 8:49 pm
- Contact:
Re: LÖVELINESS a LÖVE Chrome Extension
Chrome Version: 26.0.1410.64 (Official Build 193017) m
OS: Windows 7, 64-bit
I realize I should have probably given you that before, but I was a little out of it, sorry.
I don't think the whole native client thing is related to the problem at all, since I didn't have it enabled when it was working a few days ago.
And, just to check if it has anything to do with my game, you can look at it here.(Although I don't think it does.)
EDIT: Oh, drat, it does have to do with my game. I could have sworn I tested other love files yesterday before wandering back here to file my complaints... Haha, sorry. So, now to see what's wrong with it.
EDIT 2: Solved! Apparently, your extension used to ignore calls for a full screen mode or something, but now it causes the love files not to load. My game is working now that I removed the t.screen.fullscreen = true. Sorry for the trouble!
OS: Windows 7, 64-bit
I realize I should have probably given you that before, but I was a little out of it, sorry.
I don't think the whole native client thing is related to the problem at all, since I didn't have it enabled when it was working a few days ago.
And, just to check if it has anything to do with my game, you can look at it here.
EDIT: Oh, drat, it does have to do with my game. I could have sworn I tested other love files yesterday before wandering back here to file my complaints... Haha, sorry. So, now to see what's wrong with it.
EDIT 2: Solved! Apparently, your extension used to ignore calls for a full screen mode or something, but now it causes the love files not to load. My game is working now that I removed the t.screen.fullscreen = true. Sorry for the trouble!
I LÖVE, therefore I am.
Re: LÖVELINESS a LÖVE Chrome Extension
Binji, the GitHub link under your posts have a type thus it does not work:
https://github.com.binji/love-nacl
Instead of:
https://github.com/binji/love-nacl
I'd also suggest to link your LÖVILENESS webpage instead of the GitHub repo on the Chrome Extensions page, and add a link to the repo from there.
https://github.com.binji/love-nacl
Instead of:
https://github.com/binji/love-nacl
I'd also suggest to link your LÖVILENESS webpage instead of the GitHub repo on the Chrome Extensions page, and add a link to the repo from there.
Re: LÖVELINESS a LÖVE Chrome Extension
Done and done, thanks!easy82 wrote:Binji, the GitHub link under your posts have a type thus it does not work:
...
I'd also suggest to link your LÖVILENESS webpage instead...
Ah, thanks for finding that crash. It is fixed in 0.1.6 -- fullscreen won't be set automatically (it's a dumb limitation of the fullscreen API available to me, you can only set fullscreen mode through a "user action") but it won't crash either.Puzzlem00n wrote:Solved! Apparently, your extension used to ignore calls for a full screen mode or something, but now it causes the love files not to load.
Re: LÖVELINESS a LÖVE Chrome Extension
Would it be possible to make stand alone Chrome executables for Löve games based on Löveliness? It would be really cool to see some Löve games on the Chrome web store
My game called Hat Cat and the Obvious Crimes Against the Fundamental Laws of Physics is out now!
Re: LÖVELINESS a LÖVE Chrome Extension
Yes! In fact, I was thinking of writing up a document in the wiki about how to do this...T-Bone wrote:Would it be possible to make stand alone Chrome executables for Löve games based on Löveliness?
Even better would be to automatically create a Chrome Web Store package from a .love file, then let the user tweak it. Maybe I'll take a look at writing up a script like that...
Who is online
Users browsing this forum: No registered users and 5 guests