Difference between revisions of "Gaming.new"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
Line 5: Line 5:
 
=== <translate>Description</translate> ===
 
=== <translate>Description</translate> ===
 
<translate>Currently supports 'googleplay' for Android and 'gamekit' for iOS.</translate>
 
<translate>Currently supports 'googleplay' for Android and 'gamekit' for iOS.</translate>
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(Gaming) = Gaming.new(backend)
 
(Gaming) = Gaming.new(backend)
 
</source>
 
</source>

Revision as of 14:28, 13 July 2023


Available since: Gideros 2012.09
Class: Gaming

Description

Currently supports 'googleplay' for Android and 'gamekit' for iOS. <syntaxhighlight lang="lua"> (Gaming) = Gaming.new(backend) </source>

Parameters

backend: (string) The name of the backend to create.

Return values

Returns (Gaming) The newly created backend.