My examples

Forum Home Forum Home > Construct 2 General > How do I....?
 Post Reply Post Reply Page  123 5>
Author
1,284 Rep
Post Options Post Options   Quote flemmig Quote  Post ReplyReply Direct Link To This Post Topic: My examples
    Posted: 09 Apr 2013 at 10:00am
Hi

Has anyone a working HISHSCORE

Cheers
Back to Top
6,256 Rep
Post Options Post Options   Quote JohnnySix Quote  Post ReplyReply Direct Link To This Post Posted: 06 May 2012 at 2:22am
I'm almost finished with an arkenoid game I'm working on and after some google, manual and forum searches ended up here.

Am thinking this'd be rather awesome for both loading layouts on the fly and saving scores.

The only question I have at the moment is the row and table names.

From the example downloaded , 1,1 is blank, with row and column names in the first row and first column.

Is it possible to dispense with titles/names and reference them by number instead?


Back to Top
607 Rep
Post Options Post Options   Quote Bicss Quote  Post ReplyReply Direct Link To This Post Posted: 03 May 2012 at 8:48am
Thx, i will try it :)
Back to Top
4,219 Rep
Post Options Post Options   Quote Ize Quote  Post ReplyReply Direct Link To This Post Posted: 26 Apr 2012 at 2:28pm
give it a global variable like "http://yoururl/post.php?name=" & NAMEVARIABLE & "&score=" & SCOREVARIABLE

& or + to connect the strings, can't test it right now cause im at work
Back to Top
607 Rep
Post Options Post Options   Quote Bicss Quote  Post ReplyReply Direct Link To This Post Posted: 26 Apr 2012 at 11:37am
Hi! How we can change the name and the score of the highscore with a variable? We want to display the player username and his score.

This is the actually code "http://myurl/post.php?name=Puntuacion_Billar&score=1"

We try changing score=1 to score=Puntos but it take as text.
Back to Top
607 Rep
Post Options Post Options   Quote Bicss Quote  Post ReplyReply Direct Link To This Post Posted: 24 Apr 2012 at 3:16pm
It Works with @abhishan method!
Back to Top
607 Rep
Post Options Post Options   Quote Bicss Quote  Post ReplyReply Direct Link To This Post Posted: 23 Apr 2012 at 4:01pm
Someone can upload the new online high score archives fixed?
Thx!
Back to Top
4,219 Rep
Post Options Post Options   Quote Ize Quote  Post ReplyReply Direct Link To This Post Posted: 20 Apr 2012 at 5:55pm
@abhishan thanks for the fix! :D

So it really was a php update as i had guessed ;)

About the localhost issue... maybe @Ashley can say something about that :O
Back to Top
3,151 Rep
Post Options Post Options   Quote abhishan Quote  Post ReplyReply Direct Link To This Post Posted: 20 Apr 2012 at 1:33pm
Originally posted by Ize Ize wrote:

Well... i just copied it to my server and... it doesn't work anymore LOL! :D

Maybe there was a php update or something that broke it, i really have no idea wtf is going on but i'll look into or write a new one once the XML object can write data back.


It didn't work for me too, until I changed "$HTTP_GET_VARS" to "$_GET" based on this link

Only one issue though:
I am running WAMP (localhost:90) and C2 preview starts in localhost:50000. The PHP files are on port 90. When I run the capx preview from C2, it sends data to the server & writes it to the file. BUT it doesn't read back! It however works properly, when I export the game as an HTML5 website and place it within WAMP. Any ideas what's happening here? I am on C2-R87 Beta.

Thanks!

Edited by abhishan - 20 Apr 2012 at 1:35pm
Back to Top
235 Rep
Post Options Post Options   Quote Cigano Quote  Post ReplyReply Direct Link To This Post Posted: 19 Apr 2012 at 4:54pm
am I the only one who gets 2-4 fps in lemmings?
Back to Top
 Post Reply Post Reply Page  123 5>

Forum Jump Forum Permissions View Drop Down