Tamagochi game

Discuss game development design and post your game ideas

Post » Sat Feb 07, 2015 8:30 pm

Hello friendo i want to do a tamagochi game but i hace soñé questions
One is all variables like Hungría cool happy es..etc i need to use webstore really. I?..i think yes
Second is when the user exit the app i want that my app send about 1h 3h 5 otra Message saying i am Hungría....i want go to beed. Hoy can i do it
B
7
Posts: 21
Reputation: 311

Post » Mon Feb 09, 2015 2:27 pm

i try make that game but i have one problem. When you turn off for few hours game for example hunger/thirst should grow when the app is off
B
103
S
25
G
40
Posts: 1,876
Reputation: 31,885

Post » Thu Feb 12, 2015 1:23 am

I do not know if there's way to detect real world time. If yes, then on start of the app, detect that and compare with the old saved time (from prev. session), and see how long time has passed, and apply the changes on the "animals" based on that.
B
56
S
18
G
13
Posts: 447
Reputation: 10,665

Post » Thu Feb 12, 2015 5:49 am

helena wrote:I do not know if there's way to detect real world time. If yes, then on start of the app, detect that and compare with the old saved time (from prev. session), and see how long time has passed, and apply the changes on the "animals" based on that.


You can use @rexrainbow 's <Date> plugin to get system date.
plugin-system-date-and-time_t63492
B
70
S
15
G
4
Posts: 187
Reputation: 7,310

Post » Mon Feb 16, 2015 4:52 pm

mmmmm thanks Helena thanks jomo i am goint to study it
B
7
Posts: 21
Reputation: 311

Post » Mon Feb 16, 2015 4:53 pm

one more question can i send messages when the player is out,,,,,sending for example your tamagochi is hungry now...
B
7
Posts: 21
Reputation: 311

Post » Tue Feb 17, 2015 1:07 am

@jomo yeah i try before i cant compare time
B
103
S
25
G
40
Posts: 1,876
Reputation: 31,885

Post » Tue Feb 17, 2015 1:13 am

I've made few apps already for android using Rex Date plugin. They all work fine. All you need to do is store a current time on exit, and compare it on relaunching the app - works every time.
ImageImageImageImage
B
155
S
61
G
41
Posts: 2,577
Reputation: 34,324

Post » Tue Feb 17, 2015 3:15 am

minotauro31 wrote:one more question can i send messages when the player is out,,,,,sending for example your tamagochi is hungry now...

As I understand, you need some cordova plugin to make that function. But I'm not sure whether it works when the app is suspended by the system.
http://devgirl.org/2013/07/17/tutorial- ... plication/
B
70
S
15
G
4
Posts: 187
Reputation: 7,310


Return to Game Development, Design & Ideas

Who is online

Users browsing this forum: No registered users and 0 guests