Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
Direct APK export — Gideros Forum

Direct APK export

SinisterSoftSinisterSoft Maintainer
edited December 2016 in Step by step tutorials
The biggest new improvements in the upcoming 2016.12 release are to the export system. Being able to make exports easier is currently our highest priority.

With the click of a button you will be able to export your app with the following plugins directly to a signed APK...

Ads (Unity, Admob (untested), AppLovin and Chartboost for now)
IAB (Google and Amazon payment systems)
Gaming (Google Play and Game Circle)
Facebook (API v3 for now)
Controllers
Flurry
Media
Camera
Countly (untested)
LFS (untested)
LPeg (untested)
LSqlLite3 (untested)
Microphone (untested)
Require (this is new and very useful)
Struct (untested)

The googlebilling plugin will be depreciated as its functionality will be covered by the IAB plugin, currently the only thing missing is subscriptions.

The googleplay plugin will be depreciated as its functionality is covered by the gaming plugin already.

Heyzap (gaming plugin) will be removed soon as Heyzap depreciated the gaming side of their business a long time ago.

Consider storekit and gamekit ios plugins depreciated as they will also be covered soon by the iab and gaming plugins.

APK export though will need to know where on your computer some files are and what version of those files to use...

Attached is a screenshot as an example of correct settings.

apk_export.png
1650 x 721 - 308K
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
+1 -1 (+9 / -0 )Share on Facebook

Comments

  • Great news. This might be the release that gets me to update from 2016.6 :D
    +1 -1 (+2 / -0 )Share on Facebook
  • tytadastytadas Member
    edited December 2016
    So this Gaming plugin can be used as google login? Am I correct?
  • Yes it can be used for Google Play login.

    Likes: tytadas

    +1 -1 (+1 / -0 )Share on Facebook
  • SinisterSoftSinisterSoft Maintainer
    edited December 2016
    @tytadas - yes, you can use it to do whatever you did with the old google play plugin, the syntax of the api is the same though with this plugin for google, amazon and apple systems - so that you Lua code is more 'universal'.

    Likes: tytadas

    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
    +1 -1 (+1 / -0 )Share on Facebook
  • SinisterSoftSinisterSoft Maintainer
    edited December 2016
    Example code...

    (In my Lua code I have pre-setup the variables 'android', 'kindle', 'ios' from device id, and loaded 'leaderboardId' from a table based on google, amazon or ios devices as it's possible they could have different leaderboard ids from each other.)
    pcall(function() require "gaming" end)
    if Gaming then
    	if android then
    		if kindle then
    			gaming=Gaming.new("gamecircle")
    		else
    			gaming=Gaming.new("googleplay")
    		end
    	elseif ios then
    		gaming=Gaming.new("gamekit")
    	end
    	if gaming then
    		gaming:addEventListener(Event.LOGIN_COMPLETE,function()
    			print("gaming LOGIN_COMPLETE")
    			gaming:loadAchievements()
    			gaming:loadScores(leaderboardId,2,1,25)	
     
    			gaming:loadState(0)
    		end)
     
    		gaming:addEventListener(Event.LOGIN_ERROR,function(e)
    			print("gaming LOGIN_ERROR:"..e.error)
    			login=false
    			gaming:logout()
    		end)
     
    		gaming:addEventListener(Event.PLAYER_INFORMATION_COMPLETE,function(e)
    			print("gaming PLAYER_INFORMATION_COMPLETE")
    		end)
     
    		gaming:addEventListener(Event.PLAYER_INFORMATION_ERROR,function(e)
    			print("gaming PLAYER_INFORMATION_ERROR:"..e.error)
    		end)
     
    		gaming:addEventListener(Event.PLAYER_SCORE_COMPLETE,function(e)
    			print("gaming PLAYER_SCORE_COMPLETE")
    		end)
     
    		gaming:addEventListener(Event.PLAYER_SCORE_ERROR,function(e)
    			print("gaming PLAYER_SCORE_ERROR:"..e.error)
    		end)
     
    		gaming:addEventListener(Event.LOAD_ACHIEVEMENTS_COMPLETE,function(e)
    			print("gaming LOAD_ACHIEVEMENTS_COMPLETE")
    		end)
     
    		gaming:addEventListener(Event.LOAD_ACHIEVEMENTS_ERROR,function(e)
    			print("gaming LOAD_ACHIEVEMENTS_ERROR:"..e.error)
    		end)
     
    		gaming:addEventListener(Event.REPORT_ACHIEVEMENT_COMPLETE,function(e)
    			print("gaming REPORT_ACHIEVEMENT_COMPLETE")
    		end)
     
    		gaming:addEventListener(Event.REPORT_ACHIEVEMENT_ERROR,function(e)
    			print("gaming REPORT_ACHIEVEMENT_ERROR:"..e.error)
    		end)
     
    		gaming:addEventListener(Event.LOAD_SCORES_COMPLETE,function(e)
    			print("gaming LOAD_SCORES_COMPLETE")
    			local scores=e.scores
    			for loop=1,#scores do
    				print(scores[loop].name,scores[loop].timestamp,scores[loop].formattedScore,scores[loop].score,scores[loop].rank,scores[loop].playerId)
    			end
    		end)
     
    		gaming:addEventListener(Event.LOAD_SCORES_ERROR,function(e)
    			print("gaming LOAD_SCORES_ERROR:")
    		end)
     
    		gaming:addEventListener(Event.REPORT_SCORE_COMPLETE,function(e)
    			print("gaming REPORT_SCORE_COMPLETE")
    		end)
     
    		gaming:addEventListener(Event.REPORT_SCORE_ERROR,function(e)
    			print("gaming REPORT_SCORE_ERROR:"..e.error)
    		end)
     
    		gaming:addEventListener(Event.STATE_LOADED,function(e)
    			print("gaming STATE_LOADED")
    		end)
     
    		gaming:addEventListener(Event.STATE_ERROR,function(e)
    			print("gaming STATE_ERROR:"..e.error)
    		end)
     
    		gaming:addEventListener(Event.STATE_CONFLICT,function(e)
    			print("gaming STATE_CONFLICT")
    		end)
     
    		gaming:addEventListener(Event.STATE_DELETED,function(e)
    			print("gaming STATE_DELETED")
    		end)
     
    	end
    end
     
    .
    .
    .
     
    if gaming then
    	gaming:login()
    end

    Likes: tytadas

    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
    +1 -1 (+1 / -0 )Share on Facebook
  • tytadastytadas Member
    edited December 2016
    Nah, I never tried making Google login, because here http://docs.giderosmobile.com/reference/plugin on the API page, there aren't Google plugin just Billing. Will try it out
  • Yes, the docs need updating, hopefully the example above is enough to get you started. :)

    Likes: tytadas

    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
    +1 -1 (+1 / -0 )Share on Facebook
Sign In or Register to comment.