1) I've uploaded Gideros Player apk to GooglePlay console, released it as 'alpha'. 2) Enabled 'Google Drive' API in google dev console 3) Added my own email adress to the list of testers in 'Google Play Console -> App releases -> Internal track test' First day I couldn't download my own alpha version from Google Play, as alpha tester. Next day I was able to access it.
Guys how to show auth info during authorizing? (like on screenshot below, it isn't shown in my app, though authorization is successful)
How to access all user's info? (I've attached two screenshots) When I authorize in my freshly exported app, it does not ask "access to your age and language data" (while it requires that permission when I authorize in @totebo 's NoBrakes.io)
> Newcomers roadmap: from where to start learning Gideros "What one programmer can do in one month, two programmers can do in two months." - Fred Brooks “The more you do coding stuff, the better you get at it.” - Aristotle (322 BC)
That may be in an update, I noticed the same issue, it was fixed, but that fix may be in the current internal test version - not in the actual release, I'm not sure.
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
Hey guys! There's one more arcanum to make 'Gaming' plugin work: http://forum.giderosmobile.com/discussion/comment/42515/#Comment_42515 We have to manually edit our app's ID in 'ids.xml' before apk export (otherwise apk won't authorize in Google Play) C:\Program Files (x86)\Gideros\All Plugins\gaming\source\Android\res\values\ids.xml
> Newcomers roadmap: from where to start learning Gideros "What one programmer can do in one month, two programmers can do in two months." - Fred Brooks “The more you do coding stuff, the better you get at it.” - Aristotle (322 BC)
You don’t need to modify ids.xml by yourself in the template, and in fact you really shouldn’t do that since it will break plugin export. Export systems replaces the app id in there by the one you set up in gaming plugin configuration when you export your project.
For avatar, unfortunately gideros doesn’t know yet how to open ‘content’ URLs.
You don’t need to modify ids.xml by yourself in the template, and in fact you really shouldn’t do that since it will break plugin export. Export systems replaces the app id in there by the one you set up in gaming plugin configuration when you export your project.
For avatar, unfortunately gideros doesn’t know yet how to open ‘content’ URLs.
Great! I guess I had this issue because I've exported Gideros player only (blank project).
> Newcomers roadmap: from where to start learning Gideros "What one programmer can do in one month, two programmers can do in two months." - Fred Brooks “The more you do coding stuff, the better you get at it.” - Aristotle (322 BC)
@Apollo14 I make a player in Gideros for each project with all it's specific plugins, etc - signed with the production key.
All you do is export the project as you would do for production, but just have the selector set to player.
I then copy it to a dropbox folder on my pc called 'players' and then on my phone or device I have dropbox installed, I go to the players folder and install the apk.
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
For avatar, unfortunately gideros doesn’t know yet how to open ‘content’ URLs.
Can we get user's gender? (is it male or female playing our game)
How to access user's information?
googleplay:getPlayerInfo()
googleplay:addEventListener(Event.PLAYER_INFORMATION_COMPLETE , function()print"Player info received"end)
After this call some information is received, but what kind of information was received and how to access it? Is it saved to some table somewhere?
> Newcomers roadmap: from where to start learning Gideros "What one programmer can do in one month, two programmers can do in two months." - Fred Brooks “The more you do coding stuff, the better you get at it.” - Aristotle (322 BC)
@Apollo14 As privacy laws invade the 'gaming space' you will see less and less information being given, for example Amazon have closed all of their social gaming stuff, facebook give less information, etc. I wouldn't use anything other than the person's nickname/handle and their public avatar image - anything else will most likely be gone soon.
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
Is there a simple example for multiplayer games? how to create a room and connect 2 players correctly?
gaming:autoMatch(2,2)
gaming:invitePlayers(1,1)
@oleg 'Gaming' plugin is not very reliable (at least for my nerve cells), but try it, if it doesn't work for you, probably you should use Photon (Photon is overcomplicated and not well documented, it'll take some time to figure out how things work there and make your game prototype).
Also, "IO" games usually have fake multiplayer with bots. You should tune auto-matching to match real players vs bots when there's lack of real humans.
> Newcomers roadmap: from where to start learning Gideros "What one programmer can do in one month, two programmers can do in two months." - Fred Brooks “The more you do coding stuff, the better you get at it.” - Aristotle (322 BC)
OK now try to figure out how to leave room after you played one session (there's no api call 'Gaming:leaveRoom()')
> Newcomers roadmap: from where to start learning Gideros "What one programmer can do in one month, two programmers can do in two months." - Fred Brooks “The more you do coding stuff, the better you get at it.” - Aristotle (322 BC)
But you will have to re-login to GooglePlay after command 'gaming:logout()'?
> Newcomers roadmap: from where to start learning Gideros "What one programmer can do in one month, two programmers can do in two months." - Fred Brooks “The more you do coding stuff, the better you get at it.” - Aristotle (322 BC)
If I remember correctly, 'gaming:showInvitations()' opens Google's interface window, they see what's happening, who is connecting.
But you shouldn't show this window to them, because you will have to mix players with bots (even top publishers have bots in their "multiplayer" games).
Just call 'gaming:invitePlayers(1,8) and show your own custom loading window. If there's not enough human players, then start game with humans+bots.
> Newcomers roadmap: from where to start learning Gideros "What one programmer can do in one month, two programmers can do in two months." - Fred Brooks “The more you do coding stuff, the better you get at it.” - Aristotle (322 BC)
@Apollo14 I know what these commands mean I do not know how to get them to work
gaming:showInvitations() -gaming: showInvitation () turns on the bluetooth and does not find the players
players only sees when I put-gaming: invitePlayers (1.1) -but not always and randomly ..
sorry, it was my mistake, actually "Gaming:showWaitingRoom()" is waiting room I was talking about
Then I don't know about gaming:showInvitations(), you should ask @hgy29
> Newcomers roadmap: from where to start learning Gideros "What one programmer can do in one month, two programmers can do in two months." - Fred Brooks “The more you do coding stuff, the better you get at it.” - Aristotle (322 BC)
gaming:autoMatch(minPlayers, maxPlayers)--create a quick game between randomly selected players
P. S. there's better docs on Gaming api inside old plugin's folder: C:/Program%20Files%20(x86)/Gideros/All%20Plugins/googleplay/reference.html
googleplay:login()--login
googleplay:logout()--logout
googleplay:showSettings()--show settings screen
googleplay:showLeaderboard(leaderboardId)--show leaderboard screen
googleplay:reportScore(leaderboardId, score [,immediate])--post score to service
googleplay:showAchievements()--show achievements screen
googleplay:reportAchievement(achId [, numSteps, immediate])--achievement unlocked or progressed by specified amount of steps of total defined steps
googleplay:loadAchievements()--retrieve all defined achievemenets
googleplay:loadScores(leaderboardId [,timespan, participants, maxResults])--retrieve all scores for specific leaderboard ina specific timespan for specific participans
googleplay:loadPlayerCenteredScores(leaderboardId [,timespan, participants, maxResults])--retrieve all scores for specific leaderboard ina specific timespan for specific participans
googleplay:autoMatch(minPlayers, maxPlayers)--create a quick game between randomly selected players
googleplay:invitePlayers(minPlayers, maxPlayers)--allow user to invite players to a game
googleplay:joinRoom(invitationId)--joins the game you've been invited to
googleplay:showInvitations()--show screen for managing invitations
googleplay:showWaitingRoom(minPlayers)--show waiting room before the game with the list of players
googleplay:sendTo(playerId, data, isReliable)--send data to specific user by id
googleplay:sendToAll(data, isReliable)-- send to all users
googleplay:getPlayerName()--get your current user name
googleplay:getPlayerId()--get your current user id
googleplay:getPlayerScore()--dispatches PLAYER_SCORE_COMPLETE event
googleplay:getAllPlayers()--retrieve information (id and name) for all users involved in game
googleplay:loadState(key)--load app state from slot key from the cloud
googleplay:updateState(key, data[, immediate])--update app state for slot key with data bool immediate if it needs to be saved immediately
googleplay:deleteState(key)--delete app state for slot key
googleplay:resolveState(key, version, data)--resolve state conflict for slot key with version and data
Properties
GooglePlay.UNLOCKED --achievement state unlocked
GooglePlay.REVEALED --achievement state available to user
GooglePlay.HIDDEN --achievement state unknown to user
GooglePlay.ALL_TIME --leaderboard timespan all time
GooglePlay.WEEK --leaderboard timespan week
GooglePlay.TODAY --leaderboard timespan today
GooglePlay.FRIENDS --leaderboard participants
GooglePlay.ALL_PLAYERS --leaderboard participants
Events
Game Events
Event.DATA_RECEIVED
event.sender
event.data
Event.GAME_STARTED
Event.REPORT_ACHIEVEMENT_COMPLETE
event.achievementId
Event.LOAD_ACHIEVEMENTS_COMPLETE
event.achievements
event.achievements[].id
event.achievements[].name
event.achievements[].description
event.achievements[].status
event.achievements[].currentSteps
event.achievements[].totalSteps
event.achievements[].lastUpdate
Event.REPORT_SCORE_COMPLETE
Event.LOAD_SCORES_COMPLETE
event.name
event.leaderboardId
event.scores
event.scores[].name
event.scores[].timestamp
event.scores[].formattedScore
event.scores[].score
event.scores[].rank
event.scores[].playerId
Event.PLAYER_SCORE_COMPLETE
event.rank
event.formattedScore
event.score
event.timestamp
> Newcomers roadmap: from where to start learning Gideros "What one programmer can do in one month, two programmers can do in two months." - Fred Brooks “The more you do coding stuff, the better you get at it.” - Aristotle (322 BC)
If you could update the docs in the Wiki with that information then that would be handy.
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
2) Enabled 'Google Drive' API in google dev console
3) Added my own email adress to the list of testers in 'Google Play Console -> App releases -> Internal track test'
First day I couldn't download my own alpha version from Google Play, as alpha tester.
Next day I was able to access it.
Guys how to show auth info during authorizing? (like on screenshot below, it isn't shown in my app, though authorization is successful)
How to access all user's info? (I've attached two screenshots)
When I authorize in my freshly exported app, it does not ask "access to your age and language data" (while it requires that permission when I authorize in @totebo 's NoBrakes.io)
"What one programmer can do in one month, two programmers can do in two months." - Fred Brooks
“The more you do coding stuff, the better you get at it.” - Aristotle (322 BC)
https://deluxepixel.com
https://deluxepixel.com
http://forum.giderosmobile.com/discussion/comment/42515/#Comment_42515
We have to manually edit our app's ID in 'ids.xml' before apk export (otherwise apk won't authorize in Google Play)
C:\Program Files (x86)\Gideros\All Plugins\gaming\source\Android\res\values\ids.xml
Can we add Player's avatar to stage as bitmap?
"What one programmer can do in one month, two programmers can do in two months." - Fred Brooks
“The more you do coding stuff, the better you get at it.” - Aristotle (322 BC)
For avatar, unfortunately gideros doesn’t know yet how to open ‘content’ URLs.
Likes: dreiko65
I guess I had this issue because I've exported Gideros player only (blank project).
"What one programmer can do in one month, two programmers can do in two months." - Fred Brooks
“The more you do coding stuff, the better you get at it.” - Aristotle (322 BC)
All you do is export the project as you would do for production, but just have the selector set to player.
I then copy it to a dropbox folder on my pc called 'players' and then on my phone or device I have dropbox installed, I go to the players folder and install the apk.
Likes: Apollo14
https://deluxepixel.com
How to access user's information?
"What one programmer can do in one month, two programmers can do in two months." - Fred Brooks
“The more you do coding stuff, the better you get at it.” - Aristotle (322 BC)
Likes: Apollo14
https://deluxepixel.com
how to create a room and connect 2 players correctly?
https://play.google.com/store/apps/developer?id=razorback456
мій блог по гідерос https://simartinfo.blogspot.com
Слава Україні!
Also, "IO" games usually have fake multiplayer with bots. You should tune auto-matching to match real players vs bots when there's lack of real humans.
Likes: MoKaLux, oleg
"What one programmer can do in one month, two programmers can do in two months." - Fred Brooks
“The more you do coding stuff, the better you get at it.” - Aristotle (322 BC)
ps. ---- Event.CONNECTED_TO_ROOM
https://play.google.com/store/apps/developer?id=razorback456
мій блог по гідерос https://simartinfo.blogspot.com
Слава Україні!
Likes: SinisterSoft, Apollo14
https://play.google.com/store/apps/developer?id=razorback456
мій блог по гідерос https://simartinfo.blogspot.com
Слава Україні!
"What one programmer can do in one month, two programmers can do in two months." - Fred Brooks
“The more you do coding stuff, the better you get at it.” - Aristotle (322 BC)
https://play.google.com/store/apps/developer?id=razorback456
мій блог по гідерос https://simartinfo.blogspot.com
Слава Україні!
In this team, I have an error that I'm doing wrong?https://play.google.com/store/apps/developer?id=razorback456
мій блог по гідерос https://simartinfo.blogspot.com
Слава Україні!
https://play.google.com/store/apps/developer?id=razorback456
мій блог по гідерос https://simartinfo.blogspot.com
Слава Україні!
"What one programmer can do in one month, two programmers can do in two months." - Fred Brooks
“The more you do coding stuff, the better you get at it.” - Aristotle (322 BC)
I found that in the plugin there is a
leftRoom (me, roomId) command
but it's inactive in gideros,, we will have to try to complete the plugin
Likes: antix, Apollo14
https://play.google.com/store/apps/developer?id=razorback456
мій блог по гідерос https://simartinfo.blogspot.com
Слава Україні!
https://play.google.com/store/apps/developer?id=razorback456
мій блог по гідерос https://simartinfo.blogspot.com
Слава Україні!
did so:
Likes: Apollo14, MoKaLux
https://play.google.com/store/apps/developer?id=razorback456
мій блог по гідерос https://simartinfo.blogspot.com
Слава Україні!
https://play.google.com/store/apps/developer?id=razorback456
мій блог по гідерос https://simartinfo.blogspot.com
Слава Україні!
But you shouldn't show this window to them, because you will have to mix players with bots (even top publishers have bots in their "multiplayer" games).
Just call 'gaming:invitePlayers(1,8) and show your own custom loading window. If there's not enough human players, then start game with humans+bots.
"What one programmer can do in one month, two programmers can do in two months." - Fred Brooks
“The more you do coding stuff, the better you get at it.” - Aristotle (322 BC)
I know what these commands mean
I do not know how to get them to work
gaming:showInvitations() -gaming: showInvitation () turns on the bluetooth and does not find the players
players only sees when I put-gaming: invitePlayers (1.1) -but not always and randomly ..
https://play.google.com/store/apps/developer?id=razorback456
мій блог по гідерос https://simartinfo.blogspot.com
Слава Україні!
Then I don't know about gaming:showInvitations(), you should ask @hgy29
"What one programmer can do in one month, two programmers can do in two months." - Fred Brooks
“The more you do coding stuff, the better you get at it.” - Aristotle (322 BC)
"What one programmer can do in one month, two programmers can do in two months." - Fred Brooks
“The more you do coding stuff, the better you get at it.” - Aristotle (322 BC)
https://deluxepixel.com