Peret's Forum Posts

  • If I understand this is what you wanna do?

    2 objects collision then spawn another in the same position?

    mega.co.nz

  • I am using AJAX to make an online score that is hosted in a website with his Database(MySQL) and PHP files.

    Saving data is all correctly. The problem is that the load of the high-score it's not working.

    If I load the page in the browser the PHP file works but in the game is not.

    I found that someone got this problem too. scirra.com/forum/ajaxlastdata-problem_topic50114.html

    He solve it with adding "header('Access-Control-Allow-Origin: *');" on the PHP files but for me it's not working :(

    Here are my php files: mega.co.nz

    Here are the images of capx layout:

    imgur.com/a/qhOoA

    PS: English is not my mine language so if you don't understand something I will try to explain a bit better.

    Edit: Edited for better understanding. Added PHP files and images.

  • You should focus on the controls of the ship(?) it's hard to move they way you want.

    Nice graphics.

  • Not loading for me :(

    I waited about 30 seconds and tried a few times on chrome.

  • I didn't think I could do that so this was my only option. I am doing that now.

    Thanks for the advice.

  • I open this post to try to help sonbt91 because I still can't send private messages.

    What's your problem budy?

    Edit: He had a problem with the ArcadEd 's tutorial scirra.com/tutorials/346/online-high-score-table-ajax-php-mysql

  • psyko666 Yes I still working on it :) now I am working on automatic spawn backgrounds. Your game have a limited background or it's automatic?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • psyko666

    If I were you I would focus on the controls of the punk.

    Maybe put a countdown before the game starts.

    Nice game :)

    Here is mine :) it's in Spanish but is easy to play it :P

    Some constructive criticism would be nice.

    dl.dropboxusercontent.com/u/7290053/Ayuda%20en%20accion/index.html

  • You need to pick the right instance before. Something like:

    -> Every tick

    --> Any pick action like Sprite.InstanceVariable = rand(X)

    ---> Set speed random(x)

    Your answer made me thing that I was already doing this but then I look which instance variable was using in the function.

    I found that I was using the family instance variable speed and not the object in it.

    Here is the problem and the solution.

    imgur.com/5f8yuWz

    Thank you for the answers. Problem solved.

    :)

  • I will try to explain a bit more.

    I got an instance variables on the family Plataformas which is SpeedPlatform.

    The basic problem is that the functions are in every tick and if I change the SpeedPlatform after I create the platform, all my platforms change their speed.

    I don't know how to do it.

    Here are a few images of what I am saying.

    imgur.com/a/hh9mW

  • I got an update group that "Every tick" and a function of the platforms moving.

    And if I change the speed, every platform moves at the same speed. Because updates all the platforms speed :(.

    Tomorrow I will upload something for explain my problems.

    Thanks for taking your time Kurz

  • Hello everyone,

    I usually don't post anything because there a lots of info in the forums but this time my brain got an overflow <img src="smileys/smiley11.gif" border="0" align="middle" /> .

    My game is like DoodleJump and there is a random spawn of platforms. Platforms that are in a family(there are 3 types of platforms).

    Two of them are moving on the X, left and right.

    Here you can test the game.

    dl.dropboxusercontent.com/u/7290053/Ayuda%20en%20accion/index.html

    Now my problem is that I want to move the platforms with a random speed. I tried with different methods but they didn't work.

    I don't want to put my "code" because now it's a mess of tries.

    I would like to hear some fresh ideas for open my mind because now I am kind of blocked.

    If someone need more explanation that how my game is working I will explain without problem.

    I would like to apologize for my grammar because English is not my main language.

    Thanks in advice,

    Peret