PixelImpact's Forum Posts

  • Hi there,

    Sorry for the late but I couldn't worked on my game this week

    So I manage to do everything to told me to optimize my game and that works brilliant ! I even make the sprite in low rez all over again!

    The only thing I haven't done is about the respawn of the enemies (because I don't really understand your solution )

    I'm still have 10-20% of CPU consumption but frame rate is great.

    So now I still have to figure how to post a score on Facebook and to store highscores online... 90% done still 90% to go

    Thanks and cheers

  • HI,

    Sorry for the late anwser, my VPN (I'm in China) was down...

    Thanks again for your answer and all the efforts

    I've already read this very interesting tutorial. However, as I explained, it is more about highscore implementation.

    Me I really only want to display the total score of all the players together....

    So much more simple (but still too difficult for me )

  • No thank you to you for your help ^^

  • HI,

    I hope I'm not too late...

    Thank you so much for your answer!

    My idea was to do something simple such as:

    • A PHP file with 2 numbers where you can adds variable from the game

    For example (but of course it's not correct)

    <?PHP

    Total score: 465

    Total players: 26

    ?>

    • A construct request for which each time the player start a game, it display in a text box the total score and the total of players/game played
    • A construct request for which each time a player finish a game, it add automaticly to the php file his score and and +1 (to the players counter)

    So to answer to your answers:

    1) No need for personnal autotification. As I said, all the scores should be added together. But of course that would be a plus in addition (but not mandatory)

    2) Here also, as everything will be merge together, I don't really need a database for each score. But again, As said beyond, if it is possible (and simple), sure

    3) The score are going to be display in game so far. But it wil be nice to have access to the stored file if I need to change/add variable

    I hope I'm clear enough. You know better than me anyway

    Thank you again!

  • Hi everyone,

    Here is a topic to ask you some very simple but that is a great pain for me...

    I would like to do on my layout a players counter and a total score counter (=total of all the scores of all the players).

    I know there are a lot of ajax tutorials out there (I've read most of them) but it is mainly about highscores.

    Me, I just would like to display : XXX players have played the game and have scored XXXX

    That's all

    So ideally, it would be just a html/php file store on my online serveur and each time a player play/score, it adds the variables to the file (I just need the total).

    I get the overall principe of use of Ajax but I don't know which Ajax and PHP I should use...

    Thanks in advance and sorry if my question have been already answered (but I don't now where).

  • Ahah Thanks

    So I guess the problem is coming from me because I have the following results:

    • Firefox: 55 FPS/20-25% CPU (with sometime drop to 5FPS with 5% CPU)
    • Chrome: 60 FPS/8% CPU
    • Opera: 60 FPS/15% CPU

    It a bit better with Chrome then but still much more than you (and I have a great computer (P35W v2 Gigabyte))...

    So, how do you get 1% of CPU usage????

    Is there something special to do or just the regural export???

    Thanks so much for the answers.

  • Hi guys,

    I also have a CPU/FPS problem with my Space invader clone.

    My game CPU consumption is around 30% and the framerate drop sometime very low (and it's a problem because there are sounds associated with).

    The game is still under cosntruction but I can't see what is taking so much resources.

    I have around 140 objects, is that normal?

    Is that the droplets (because they are destroyed at one point)?

    Thanks for the help!

  • Hy guys,

    I would like to know how I can establish a pathway for a sprite.

    I would to make it goes to point A to point B but with a predetermined sinuous path in an empty layout (not in straight line like the pathfinding behavior or not with the solid blocks to determine the path as in a tower defense)

    Thanks a lot in advance.

  • Thanks a lot for the anwers !!!

    I tryied both but actually, that's the reverse gravity (e.g. behavior=gravity=-1500) that is the best because it allows to put differents obstacles at top and bottom.

    Very easy solution but I was stuck with this issue since a long time.

    Thanks again !

  • Hi guys,

    I need your help to create a "mirror effect".

    I would like to do a platformer with the screen cut in 2 parts. The top part with the player and the bottom part with its twin that do exactly the same things but in reverse.

    Any clues or solutions would be appreciated.

    Thanks a lot!

    Cheers

  • Hi Guys,

    I would like to know how to do a design progress bar.

    Because so far, I am only capable to do a bar based on a sprite with one color.

    So I would like to know how I add some gradations or streaks that fit even when the bar grown.

    Thanks a lot for the help <img src="smileys/smiley1.gif" border="0" align="middle" />

    Cheers.

    Antonin

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi all,

    I am new on Construct 2 and I am discovering this wonderful tool to create games <img src="smileys/smiley1.gif" border="0" align="middle" />

    My aim is to do games on climate change that give the opportunity for the players to act by playing.

    In order to do so, one of the things I would like to implement is the possibility to send in-game Twitter(or Facebook) messages adressed directly to the politicians.

    Ideally:

    • The messages will appear when the players do a specific action and will add bonus to the score
    • the player can send the message on its own feed/wall (not (only) to the twitter of the game)
    • linked to a database in order to target different politicians. And if possible, the possibility to choose (or random) several messages.

    So my question is very simple : how can we display twitter/facebook in-game message ? and if possible, how can we link them to a database ?

    Thanks already for your help <img src="smileys/smiley9.gif" border="0" align="middle" /> and I hope I am clear enough

    Antonin

    PS: I am not a not developper so my comprehension might be sometime limited