I am new to gamespark and i am integrating this in also my game first time . My gave have functionality that every day or after every 24 hour, i will send push notification to every available user in database . that push notification will contain that day's higher scorer. and that player id too .
Best Answer
A
Ayyappa R
said
almost 8 years ago
You can create a collection of player id's when ever a player registers for your game.
If you want to schedule for regular time intervals you can create a module in System category. These will execute at the selected interval. [Go to Configurator -> Cloud Code -> System]
Other option is to create a scheduler with SparkScheduler and fire the notification.
You can create a collection of player id's when ever a player registers for your game.
If you want to schedule for regular time intervals you can create a module in System category. These will execute at the selected interval. [Go to Configurator -> Cloud Code -> System]
Other option is to create a scheduler with SparkScheduler and fire the notification.
For sending a message use this Spark.sendMessage
Hope it gives you a path to start.
A
Ayyappa R
said
almost 8 years ago
Answer
You can create a collection of player id's when ever a player registers for your game.
If you want to schedule for regular time intervals you can create a module in System category. These will execute at the selected interval. [Go to Configurator -> Cloud Code -> System]
Other option is to create a scheduler with SparkScheduler and fire the notification.
For sending a message use this Spark.sendMessage
Hope it gives you a path to start.
V
Vikas Singh
said
almost 8 years ago
thank you for answer and your time to take look on that .. :)
May you write sample cloud code for pushnotification of highest score .
Vikas Singh
I am new to gamespark and i am integrating this in also my game first time . My gave have functionality that every day or after every 24 hour, i will send push notification to every available user in database . that push notification will contain that day's higher scorer. and that player id too .
You can create a collection of player id's when ever a player registers for your game.
If you want to schedule for regular time intervals you can create a module in System category. These will execute at the selected interval. [Go to Configurator -> Cloud Code -> System]
Other option is to create a scheduler with SparkScheduler and fire the notification.
For sending a message use this Spark.sendMessage
Hope it gives you a path to start.
- Oldest First
- Popular
- Newest First
Sorted by Oldest FirstAyyappa R
You can create a collection of player id's when ever a player registers for your game.
If you want to schedule for regular time intervals you can create a module in System category. These will execute at the selected interval. [Go to Configurator -> Cloud Code -> System]
Other option is to create a scheduler with SparkScheduler and fire the notification.
For sending a message use this Spark.sendMessage
Hope it gives you a path to start.
Ayyappa R
You can create a collection of player id's when ever a player registers for your game.
If you want to schedule for regular time intervals you can create a module in System category. These will execute at the selected interval. [Go to Configurator -> Cloud Code -> System]
Other option is to create a scheduler with SparkScheduler and fire the notification.
For sending a message use this Spark.sendMessage
Hope it gives you a path to start.
Vikas Singh
May you write sample cloud code for pushnotification of highest score .
it will be helpfull for me.
Thanx
-
Documentation Notes
-
Design issues with user events
-
Using NoSQL
-
Runtime Collections vs Metadata Collections
-
Anonymous authentication from browser app
-
Modules
-
Movement With Unity
-
Problem with url parameters for downloadables
-
Querying NoSql GameSparks database
-
Challenge accesType
See all 2487 topics