TheDom's Recent Forum Activity

  • I've experienced the same issues. The problem is the shape of the collision polygon. Even though you have it at an angle, that doesn't mean it will slide off. Those lines are still made of pixels that are square. So when you shape the players collision at an angle, your really creating a series of edges. Make the collision shape square or rectangular but straight 90 degree angles and that includes the platforms too. You can see the edges even in the images you posted and even the slightest difference will cause the player to get hung up.

    Hopes this helps

  • Webstorage is the solution. Can you post a capx?

  • It's a little hard to understand what's happening just based on the code and your description. In any case it's NOT a complete view. Looks like your using some variables but, it's not clear what they represent. Can you post a capx?

  • Create a variable (Weapon) associated with the weapon type. Then create statements with dual conditions.

    Button > On click > Player > Spawn Object > Bullet

    System > Weapon = "Gun"

    Button > On click > Player > Spawn Object > Many Bullets

    System > Weapon = "Shotgun"

    When the mouse scroll changes, changes the value of the variable or when he picks up a new weapon.

    Hope this helps

  • Replace the local path with the full Url to the index.html file. Web browsers don't recognize the local path on the server.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • First you have to decide how your going to call the image when you click the button.

    You can use "Spawn another Object" if your going to create from a specific object or sprite.

    You can use "Create Object" event under System.

    Then create a Global Variable called "Images" for example.

    Then Make a series of statements like so:

    System (compare variable) like so:

    System > Images = "Sprite 1" > System >Create Object >Sprite1, Layer 0, X,Y

    Create a statement of code for every sprite or text you want to be able to create.

    Then when the button is clicked use:

    Button > On Clicked > System (set value) > Images = choose(sprite 1, sprite 2, sprite 3, etc...)

  • My advice is to avoid this approach and use a localized approach to the leaderboard.

    Here's a link to a good approach https://www.scirra.com/tutorials/581/top-10-high-score-with-webstorage-and-arrays

  • Yes you can do this.

    Consider creating a Global Variable, called "Name" for example.

    Use a textbox for the user to enter their name.

    Create a button to set the value.

    Then use the variable to call the string stored in the variable.

    Here's a simple example in a capx to help you get started.

  • There could be a lot of reasons related to performance issues. It's hard to know without seeing the game.

    What type of game is it?

    What sort of events occur that precipitate hesitation in the game?

    Is the game you made a mobile HTML5 game or does it install with a wrapper like cocoonjs or ejecta?

    If you can, I would post a link to the game so others can see it.

    I'm not suggesting you post a capx publically of your game, but you might want to seek out help from another developer to take a look at your project.

    You could try to replicate the issue and post it.

  • That's a pretty broad question. Of course it's possible but, it's very advanced concept in game design. I don't know where you'd get a template and I'm not discouraging you. I believe engaging an advanced concept is great way to become good. What your asking is a concept that you really need to reason out on your own. You might want to look in the scirra store to see if someone is selling a game project that employs similar mechanics.

    Good Luck

  • Can you post a capx?

  • Export your game as an HTML5 website. Create a directory on your server with the name of your game and FTP the files C2 outputs into the directory.

    The index.html file of your game will load by default. As far as the capx goes, you should put it in a zip file, load it into your root directory of your server, and create a link as follows:

TheDom's avatar

TheDom

Member since 7 Jul, 2012

Twitter
TheDom has 1 followers

Connect with TheDom

Trophy Case

  • 12-Year Club
  • x6
    Coach One of your tutorials has over 1,000 readers
  • Email Verified

Progress

14/44
How to earn trophies