Veuillez augmenter un peu la vitesse et la distance qui sépare les blocs. Vous pouvez aussi ajouter ces événements pour que le jeu soit un peu plus beau visuellement :
Mettez un angle initial de 320° pour le poisson et ajoutez ceci :
You do not have permission to view this post
Test with this files : https://www.dropbox.com/s/cqqzgi0u78igl ... p.rar?dl=0
Perfect !
You can also use event "on load complete" -> "set variable to "
Don't forget the header and i recommand you to use POST Method.
Attention! I don't have put "mysql_query" before every request but you have to do this...
Ok,
you want to save some virables or all the game ?
Send your .capx if you can...
Hi, now I understand and, unfortunately, I tell you that it's impossible with tile map like this. You have to use sprites...
Sorry for have told that it's possible......
OK, let's improve some things.
1. First, edit your php file :
Check if $email already exists in your database, else if $email don't exists, echo " 0".
If $email exists, check if $senha = " SELECT senha FROM login WHERE email='$email' "
In php fie,
$Separator =";"; $Exist = "SELECT count(*) FROM login WHERE email='$email'"; if ($Exist ==1) { if (" SELECT senha FROM login WHERE email='$email'" == $senha){ $id = " SELECT id FROM login WHERE email='$email'" ; $nome = " SELECT nome FROM login WHERE id='$id'" ; ***** = " SELECT **** FROM login WHERE id='$id'"; $score = " SELECT score FROM login WHERE id='$id'" ; echo $nome. $separator . $sexo.$separator.$score }; else if (" SELECT senha FROM login WHERE email='$email'" != $senha){ echo "Error"; } } else if($Exist ==0){ echo "0"; } [/code:eo015rhs] Now use this events in your Construct 2 app : [img="http://enjoycss.com/bg-img/custom/22725-yvrjal.PNG"]
Of course you can do this thing. Can you send your .capx file ?
Hi, It works for me, see this zip file : https://www.dropbox.com/s/2h4fo19gp0ghzyj/Ajax.rar?dl=0 and this topic : viewtopic.php?f=147&t=179575
Develop games in your browser. Powerful, performant & highly capable.
Hi,
I don't undesrtand all what you have tell but I think that this plugin can help you :
this tutorial can help you : https://www.scirra.com/tutorials/526/ho ... vegames/en
Upload your image on server or drive (like dropbox (recomanded), googledrive...) and use this code in your post :
[img=URL_LINK][/img][/code:drbys96q]Or simply post url link to your .capx (updated on dropbox for example...)
You have to add boolean variable (for example, named "collision") in instance variables of the sprite and edit event [ON COLLISION -> SET OPACITY TO 50 AND SET collision TO TRUE]
Then use the system event, "PICK RANDOM INSTANCE" but add this event with this : "SPRITE IS collision" (don"t forget to invert it with right click -> Invert)...