imhotep22's Forum Posts

  • Hello everyone Forgotten Traveler is our latest game in development.

    Here is a short video of the game:

    Subscribe to Construct videos now

    You can play the demo and read the full documentation here:

    We appreciate your feedback!

  • I wrote a tutorial a while ago for reloading weapons.

    Here is the link

    https://www.scirra.com/tutorials/9541/h ... -and-sound

    Here is the cap sample

    http://mythicalnew.byethost7.com/

  • You cannot save current sprite animation directly, instead you can save its state in a variable that you keep in local storage.

    Lets say you have global variable called animation_state its 0 on start, in the event where you change the animation, set the variable to 1 and save it in local storage, later on start of layout load the variable using local storage, and if its value is 1 add a event to change the sprite animation.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • More badges = more reputation.

    Here is a list of all available badges http://www.scirra.com/badges.

    Some can be completed more then once.

  • This is brilliant, thanks for sharing the app

  • Depends on the mobile device, some support webGL but most of them don't.

    https://www.ichemlabs.com/1375

  • How large is the image you are using? i forgot to mention that sorry, try making the circle size to range + image radius.

    Example 250px range, image diameter 100, circle size will be 250+100/2 or 300. If this does not work try tweaking the number until its right, also you should note that if the size of the towers are different this will need tweaking even more, using as close to circular towers will work best. This is because the range 250px starts soon as the image ends, but the circle we are drawing starts from the center of the image so the range looks bigger then the circle itself.

  • You don't own the people who use the forum, if they want to reply they will, if not its their choice. Swearing and using bad words will not make them reply any faster. Also you literally broke every single rule on the forum for posting, multiple treads in a row, using bad language, calling people names etc, which can result in a ban if the moderators choose to.

    Usually if you don't get reply its because you didn't explained your problem right, so adding screenshots of the events the look of the app on the phone and adding further descriptions would help to the problem.

    But you just choose to be rude and impatient instead.

  • Range is showed in pixels so 250 is 250 pixels of range, you can pin an empty dotted circle with 250 diameter on the 0 image point of the tower to show range.

    You can also make it invisible or deleted on start, and make it like when player presses a button or a key to show the circle, you can toggle it visible/invisible, or use spawn new object on tower to show it, and destroy object to hide it.

  • You are doing something wrong, I just did a quick test in one of my old games, and the event works fine. I don't how to help you like this try adding a screenshot of what you have so far( the event where you store the score).

  • system -> compare variable -> score < highscore -> lastscore = current score.

    This will work, first you check if your current score is lower then the high score if its true, then you set the current score to the last score and you display that. The event should go in the end of each level/attempt best to be called in a function.

    And well of course then the current score is higher then the high score then you change both, this can be done using another event or an else statement in the same one.

  • That depends on how you like to design the level, you can have like an exit sprite so when the player touches it the level is complete and you increment the variable, or you can track the enemies and when all are dead you make the level complete.

  • You need to use local storage to keep an variable value which shows which stages are beaten, lets say on start its set 0, when player reaches the finish line on level 1 add + 1 to the variable only once, next you will need an event that checks the value of the variable if its 1 unlock stage 2, if its 2 unlock stage 3 etc.

    When the player exits the game, you will have to keep the variable in local storage so when he comes back he can continue from where he left before exiting the game.

  • It all depends on what you want to save, if you want to save the full state of the game you use the implemented save/load function, if you want to save certain things like score or stars then you use local storage because the save/load system does not support that.

  • They work on every device including the local storage, web storage and the normal save load system.