LittleStain's Recent Forum Activity

  • Use a global variable for the score and use webstorage to save it..

    global variable score

    global variable highscore

    Character is overlapping object

    trigger once - system add 1 to score

    (subevent)

    score > highscore - highscore set value to score

  • I don't see any event where you set the text..

  • First you were talking about dragging a sprite, now about moving the player by keyboard..

    Please explain what is the difference between the sprite, the player and the solid blocks..

    Should be something simple as, is overlapping set back to original position, or is not overlapping at offset move to the position, but I don't know in what way your code is set up to do the movement..

  • first off all..

    Why set something visible every tick?

    When retrieving a number value from webstorage you should use int, because otherwise it will return a string instead of a number..

    I guess that's where the issue is..

    set varlifehearts to int(webstorage.localvalue("LiveHearts"))

  • The above events should also work on mobile, like Ubivis said..

    Are there any other events concerning the AI cars or the waypoints that could be platform specific?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • add a subevent:

    system pick pick by comparison: object=mountain mountain.material number = sheep.collectign material number

    and put the last two actions in that subevent..

  • Ah, sorry, the capx uses a plugin I don't have, so I can't open it..

  • EyezWidee

    What I was trying to say was that the first part of the game should be ad-free, to give the user the full gaming experience without annoying ads..

    After the free content is played the player will have the choice to continue playing the program for free (but the rest of the levels will have ads) or pay for the program through IAP and continue playing the way they are used to..

  • I guess I would go for the option where you leave it up to the player..

    Create a considerable amount of free to play content and add a choice for the player to either buy the complete product through IAP or continue playing, but with advertisements..

    It's kinda like educating the player on how annoying adds are..

  • select the point with left click..

    when the point is yellow, right click on it and add new point..

  • You only need to save the global variable if you are going to quit the game and restart..

    Global means that it is accessable from every layout, so when you set it in layout one, what you set will be available in layout two..

    If however you quit the game this info is lost..

    No need to save to webstorage unless you reload the entire game..

  • Thre are some example on this forum, just search for inventory..

    It's quite complicated to make, both the graphic side and the animation side, but it is do-able..

    I guess using arrays to store the data would be the beginning..

LittleStain's avatar

LittleStain

Member since 26 Apr, 2011

Twitter
LittleStain has 4 followers

Trophy Case

  • 13-Year Club
  • Email Verified

Progress

14/44
How to earn trophies