ChesVCF's Recent Forum Activity

  • Thank you for your reply, randomly

    I didn´t know about this plugin, maybe you could post the .capx here, so everybody can download it.

  • I want to create a leaderboard, and therefore users have to create an account (to automatically save their scores and send them to the leaderboard database). It is similar to the system used in Clash Royale, there is a leaderboard where you can see the users with the highest scores (trophies).

    I know there are many tutorials on how to add a login/signin system or a leaderboard in C2 using a MySQL database and AJAX, but I have red them all and they are all obsolete. I think the problem is you need to use mysqli instead of mysql, and the code in the PHP is different.

    I decided to follow the steps written in this tutorial to create the login system scirra.com/tutorials/525/si ... ase?page=2 and search the code for the new PHP in other tutorials (outside scirra toutorials) but none of them worked.

    In this tutorial on how to create a leaderboard scirra.com/tutorials/4839/c ... e-4?page=2 the updated code for the getscores.php was posted in the comments and it works fine, but there is stil the updated savescores.php missing.

    Could anybody kindly provide the missing codes or update the obsolete tutorials (most of them are many years old)? Not only for me, because there are many many people having the same problem. It is a very common problem.

    Thank you for your help <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile" />

  • What do you mean? If you want to customize your character, you could try this:

    Create a new layout to locate the editor, and set up the editor. You can create a new sprite for every single customizable "item", for example, a sprite for the sword, a sprite for the clothes, etc... Every sprite has many different frames, every frame is a different sword/clothes/etc and in the editor, the player can choose the frame he likes the most (choose which sword/clothes/etc he likes the most). Create a variable to save the value of the frame the player has chosen and then, in the game, the sprites that compose the character have to set the frame of the variable.

  • Anyway, there are many free demo templates (.capx files), I´m sure you can find something helpful.

  • Ok so what is my best option ?

    I think you should better use the platform behaviour.

    when the user click a force is added on the player and he move in the direction of the click.

    I don't know if I got it correctly, if you want the player to move towards the position of the click, try this:

    Event ->Touch -> Is in touch -> (Action) PlayerObject -> Move dt*100 at angle (Player.X, Player.Y, Touch.X, Touch.Y)

    You can change the "dt*100" expression to change the speed of the move

  • set it on horizontal or vertical (which ever you want)

    clarkkentnicdao Sorry, how can I make that the invisible panel doesn´t go out of the layout limits in the x-direction? (The scrolling is only in the y-direction)

    I´ve tried making the panel solid and putting solid objects on the left and on the right side, but it didn´t work. I also tried comparing the X of the invisible panel, and if it was not equal to 0 it had to set its X to 0. This did almost work, the problem is everything moves outside the layout (when dragging) and once you finish dragging, it jumps to the correct position.

    Once again, thank you

  • It worked! Thank you, it was really helpful korbaach

  • Hi, I created a Quiz game following this tutorial (https://youtu.be/dPKhEOU2DFY) and everything works fine. It basically consists of 5 text objects (1 question and 4 answers) and the questions and answers are stored in a .txt file, they are put into an array and then they are displayed randomly.

    Well, my problem is that this quiz game has to be in Spanish, and I have to use symbols like "¿" and acents on vocals (á,é,í,ó,ú), which the system doesn't recognize. When I run the app (Chrome and Explorer), in the place where this letters should go only appears this question symbol "?" in a black dyamond.

    Can anybody help? Is there any solution? Thank you for your help <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile" />

  • You're welcome Enjoy!

    Sorry, how can I make that the invisible panel doesn´t go out of the layout limits in the x-direction? (The scrolling is only in the y-direction)

    I´ve tried making the panel solid and putting solid objects on the left and on the right side, but it didn´t work. I also tried comparing the X of the invisible panel, and if it was not equal to 0 it had to set its X to 0. This did almost work, the problem is everything moves outside the layout (when dragging) and once you finish dragging, it jumps to the correct position.

    Once again, thank you

  • Thank you I'm going to try now.

  • Hi! I´m trying to make an App that allows you to scroll up/down (like in the YouTube App, where you can scroll on one layer when you touch the screen and move your finger up/down), but I can't find any action that changes the position of a layer. Is there any option, or do I have to change the position of every single object whenever I want to scroll? Thank you for your reply!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • well use the youtube plugin, about automatic updates i think is impossible because everytime you upload a video on youtube, youtube generate a random name, s in your app it's impossible to play the video if you don't know the name, but i think you can play a plylist so any kind of videos in that playlist are going to be played all the time.

    About instagram is no plugin at the moment.

    Thank you for your reply! I've seen there is actually a twitter plugin, very similar to what I want with Instagram. Maybe soon there is such a plugin (hopefully).

ChesVCF's avatar

ChesVCF

Member since 15 Aug, 2016

None one is following ChesVCF yet!

Trophy Case

  • 8-Year Club
  • Email Verified

Progress

9/44
How to earn trophies