My examples

Get help using Construct 2

Post » Tue Apr 09, 2013 10:00 am

Hi

Has anyone a working HISHSCORE

Cheers
B
28
S
15
G
10
Posts: 337
Reputation: 7,835

Post » Mon Jun 24, 2013 8:54 am

Thanks for sharing angry birds is excellent and a great start for me !!!
B
13
S
5
G
2
Posts: 8
Reputation: 2,471

Post » Mon Jul 29, 2013 8:53 am

Learned a lot from this thread, thanks for all.
B
35
S
4
G
2
Posts: 45
Reputation: 3,932

Post » Tue Jul 01, 2014 4:16 am

thanks for the examples
B
25
S
7
G
1
Posts: 2
Reputation: 2,455

Post » Wed Sep 03, 2014 7:08 am

Hey there, online highscore works perfect for me, but:

How can I protect it from beeing cheated. For example you just have to enter this into the browser

"http://myurl/post.php?name=Cheater&score=1000000"

to get a highscore.
Is there a possibility that the php script can only be called directly by the game/server?
Or is there another solution for this problem?

I allready tried to put this into the php files:

<?php
if($_SERVER["REQUEST_URI"] == $_SERVER['PHP_SELF']){
die("not allowed");
}
?>

But this only works if you call the php script directly without parameters ("http://myurl/post.php")

Thanks for your help! :-)
B
10
Posts: 9
Reputation: 814


Post » Wed Aug 05, 2015 2:35 am

Thanks for the great examples, @Ize! :D

I did a casual game based on the shape recognition example, but he didn't worked in the mobile Ludei/CocoonJS built.

Do you have any ideas what is happening?

[EDIT]

I solved the problem changing the Textbox by Spritefont.

The Textbox isn't supported by Cocoon. :lol:
Last edited by lukezero on Wed Aug 05, 2015 1:10 pm, edited 1 time in total.
B
32
S
5
G
1
Posts: 215
Reputation: 2,668

Post » Wed Aug 05, 2015 1:00 pm

Thanks for sharing these examples!
B
10
S
4
G
2
Posts: 117
Reputation: 1,872

Post » Wed Aug 24, 2016 12:47 am

@Ize Happen to still have the capx for the lemmings example?
B
51
S
26
G
8
Posts: 121
Reputation: 8,501

Previous

Return to How do I....?

Who is online

Users browsing this forum: 20170217, alimuqaddas, Lancifer, Sam Bell, Zion and 3 guests