Stencyl 3.4.0 is now out. Get it now!

Android game: need help with GET /POST, PHP...etc

Rana

  • *
  • Posts: 5
Hello everyone,
my name is Rana and I'm new to Stecnyl  :) I  made a game for toddlers that consists of simple tasks;  target tapping,  drag and dropping and  drawing. The game's main tasks are functioning ok, but I need help in:
1- Saving game scores to a server,
2- Publish this game to Android platform,
3- And polishing games scenes.

 Kindly, send me a private message if you think you can help, I would really appreciate it.

ceosol

  • *
  • Posts: 2132
First question, do you already have a server?

Rana

  • *
  • Posts: 5
yes I do.  I mean I want to send scores to be saved on a DB on my server.

ceosol

  • *
  • Posts: 2132
yes I do.  I mean I want to send scores to be saved on a DB on my server.

Yes, I understand that. You'll need to set up your database. The easiest way (in my opinion) is using phpmyadmin through cpanel, zpanel, WAMP, or LAMP - depending on your server. I usually use visitURL blocks instead of GET/POST because you can have simple php commands written through a website hosted on your server.

The php commands you'll want are INSERT INTO, SELECT FROM, and UPDATE SET WHERE

Rana

  • *
  • Posts: 5
Thanks! I'll try that :)

Rana

  • *
  • Posts: 5
Thanks ceosol  :D
I was able to save the scores using visit URL block  8)