How do I introduce comments?

Get help using Construct 2

Post » Fri Aug 01, 2014 1:29 pm

Hi,

What do you think about the possibility of displaying comments pages in my game? As in: a comments page for every level of the game?

On a website I would use a Facebook comments plugin (or something like Disqus) to allow people to comment using their Facebook/Disqus accounts. Is it doable in C2? Are there any addons that would enable such a functionality?
B
16
S
7
G
1
Posts: 161
Reputation: 3,131

Post » Fri Aug 01, 2014 1:55 pm

Follow this tutorial. But instead of points (numbers), you could save text to display on each level.
https://www.scirra.com/tutorials/346/online-high-score-table-ajax-php-mysql
My game Petrolhead Tactics is now on Steam Greenlight. I could not have done this without C2 ? Please rate, if you like!

Steam client already open: petrolheadtactics.com/steam
Web: petrolheadtactics.com/greenlight
B
20
S
4
G
4
Posts: 132
Reputation: 4,130

Post » Fri Aug 01, 2014 8:24 pm

Thanks. My game already relies heavily on AJAX and PHP so I could techically code another script to handle the comments.

The thing is, there are great tools out there (like the aforementioned Facebook or Disqus) which have things like user accounts and security covered, so I would basically be reinventing the wheel.

I was hoping for some hacky (or not) way to bring these tools to my game. Apparently there isn't an easy way out of this so I'll have a look at the possibility of wrapping these things in a plugin and if that proves too cumbersome I'll do as you suggest... code it anew. Meh. ;)
B
16
S
7
G
1
Posts: 161
Reputation: 3,131

Post » Fri Aug 01, 2014 10:05 pm

I'm actually working on adding a comment box as we speak to my facebook plugin. Just look in the forums under the completed Adonis section. Look for facebook 3.0. The feature should be up by tomorrow(it's evening time in this neck of the woods)
www.h1k3.tech

We are here for you!
B
87
S
23
G
16
Posts: 715
Reputation: 16,835


Return to How do I....?

Who is online

Users browsing this forum: Yahoo [Bot] and 27 guests