Skip to content

binogure-studio/godotrateit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

godot-rateit

Platform Godot Engine LICENCE

Allows you to open the google play store on your application in order to rate it.

Usage

Loading the module

Edit engine.cfg and add an android part as following:

[android]
modules="org/godotengine/godot/GodotRateIt"

Initializing the module using GDScript

Here is an example

extends Node

onready var godot_rateit = Globals.get_singleton('GodotRateIt')

func rate_it():
  if OS.get_name() == 'Android' and godot_rateit != null:
    print('Debug, rating the app %s' % [ godot_rateit.get_version()])

    godot_rateit.rate()

License

See LICENSE file

Releases

No releases published

Packages

No packages published