Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
If anyone would make Noobhub compatible with Websockets that would be awesome, because that would mean that HTML5 app would be able to communicate with native Gideros apps (ios/android/etc). And not only that - with any engine noobhub ported on (coronasdk, love2d etc).
@yubaro Yes. It works great - I'm going to use it in my next game.
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
Gideros HTML5 export uses indexedDB for its persistent storage, but FF only make it available on either main page, or an iframe with a URI reference, whereas your game on kongregate is embedded within an iframe without URI reference:
Of course Gideros should detect that IndexedDB is not available and disable persistant storage instead of just bailing out, but that will mean that your app won't be able to save data in |D| folder of gideros.
I'll have a go at properly handling IndexedDB availability.
@hgy29 When you put it in, will you return false when the file is attempted to be created (and fails) - so a check can be made from the Lua side.
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
@SinisterSoft, I changed my mind: for best compatibility with existing apps I think it is best if file creation doesn't fail. Files will just be lost on relaunch. But... yes we need some way to detect this so the app can warn the user.
I think in the existing system (android,ios) it does fail if the file isn't created or able to be read doesn't it?
eg:
local file=io.open("|D|clan.txt","w+")local saveString=json.encode(clan)if file then
file:write(saveString)
file:close()end
and
local file=io.open("|D|clan.txt","r")if file thenlocal originaldata=file:read()if originaldata then
clan=json.decode(originaldata)endend
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
Ok, I did it that way after all: if the browser or context doesn't allow local storage (either iframe without URI, non compliant browser or private browsing), then any attempt to open/create a file in |D| will result in 'nil' being returned.
Hello, we started experimenting with ads and as a first try we tried Google Adsense. Any suggestions for other ads to use on the Web, that you would want to see integrated in Gideros?
Regards, I have recently studied the genre and produced apps on it. Very good, and I love Lua too. But I'm having a problem, I am not able to export the project to HTML5. When the command to export it to "Template not found" message. Does anyone know why and how to proceed or whether it is a feature that has to buy?
HTML5 export is still in development, general release is due somewhere between february and june. Only people who have financially contributed to the development is this new export target have access to the in-development version. See the kickstarter page for better understanding.
@hgy29 Maybe people who missed the kickstarter could 'buy' in via a Paypal donation to you and get it before release?
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
Comments
Websocket sends handshake message then immediately closes connection. Server receives handshake message but cant response.
Error message : timeout.
http://www.sinistersoft.com/dungeons/gideros.html
Likes: mertocan, pie, talis, Ninjadoodle, simwhi, MobAmuse
https://deluxepixel.com
WebSocket connection to 'ws://46.4.76.236:1337/' failed: WebSocket is closed before the connection is established.
http://stackoverflow.com/questions/12487828/what-does-websocket-is-closed-before-the-connection-is-established-mean/12503628#12503628
https://www.websocket.org/echo.html
Websocket protocol is built on top of TCP, right? Should be easy enough to make it compatible
But there are lots of npm modules to provide Websocket functionality
Likes: totebo
Likes: simwhi
http://apps.giderosmobile.com/path2d/
Current features:
- Support for quadratic and cubic curves
- Support for antialiased outline
Lua code (API subject to change):
Likes: pie, keszegh, totebo, simwhi, yubaro, NatWobble, vitalitymobile, MobAmuse
https://deluxepixel.com
Likes: SinisterSoft, pie
http://giderosmobile.com/forum/discussion/6174/starsplash-my-next-game-once-dungeons-is-finished#Item_21
https://deluxepixel.com
http://www.kongregate.com/games/unlying/sudoku
Likes: SinisterSoft
Gideros HTML5 export uses indexedDB for its persistent storage, but FF only make it available on either main page, or an iframe with a URI reference, whereas your game on kongregate is embedded within an iframe without URI reference:
I'll have a go at properly handling IndexedDB availability.
https://deluxepixel.com
Likes: SinisterSoft
What would you suggest ? What do other thinks ?
eg:
https://deluxepixel.com
Any suggestions for other ads to use on the Web, that you would want to see integrated in Gideros?
I have recently studied the genre and produced apps on it. Very good, and I love Lua too. But I'm having a problem, I am not able to export the project to HTML5. When the command to export it to "Template not found" message. Does anyone know why and how to proceed or whether it is a feature that has to buy?
Tanks
HTML5 export is still in development, general release is due somewhere between february and june. Only people who have financially contributed to the development is this new export target have access to the in-development version. See the kickstarter page for better understanding.
Likes: SinisterSoft
https://deluxepixel.com