99Instances2Go's Recent Forum Activity

  • Got to split the amount of money into two variables. 'PreviousMoney' and 'CurrentMoney'

    Current money = PreviousMoney + random earned in this job

    PreviousMoney = CurrentMoney (set to at start of a new job)

    Then the text displays: "You did " & str(CurrentMoney - PreviousMoney) & "$ on this job"

    And a second text could display: "In total you own '& str(CurrentMoney) & "$"

  • What is the ultimate goal?

    Dragging selected words arround as sprites, mayby rearrange ?

    Do evalutions on the text content? Should the action return a string ?

  • ? So the money is not what you want to show ? As stated in the question. Refrase the question.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Set text to ...... "you did " & str(money) & "$ on this job"

  • You know the exact lenght of the words. If you know the lenght, you know where they are.

    Some math and good logic will bring you there.

    Unless you expected a capx dooing it all for you, ofcours. Then you are still nowhere. Sorry.

  • I am sure you read in the manual "Maximum time in milliseconds that the jump strength is sustained at while the jump control is being held before the effect of gravity takes over." I read that one once myself too !.

    The thing is that "jump control is being held". It only knows wich one the jump control is when you use default controls.

    I suppose you dont ?

    If using default controlls and setting the time to like 300 miliseconds, the effect cant be overseen.

    If you dont use default things, you gots to code it all yourself.

    One easy way is this:

    https://www.scirra.com/tutorials/1048/p ... k-duration

  • You might want to look at :

    https://www.google.be/search?q=scirra+s ... spritefont

  • I can't make this work with a family.

    Whatever i try, the instances get a new Z order number relative to each other, not relative to the members of the family.

    I would really aprecitate a working capx, Z sorting members of a family. A family that contains differend sprites.

    Not that it is a big problem for me. I use rex_zSorter by rexrainbow. And lately i am experimenting with the Isometric Behavior by R0J0hound. Both have theire (normal) problems with stacked objects. Wich i try to tackle.

  • I think this is the way to center things. (to me best knowledge)

    https://www.dropbox.com/s/8jpw357l7zd7s ... .capx?dl=0

    Had to change keys to something easy for me.

  • No global solid on/off controlling in what i tried to do. Because thats the cullpritt.

    Just using a jumptrough that is not gooing to the bottom, jumping the enemys on it automatical.

    Player had to press up key allready to acces the stairs, just extending that.

    Yes player jumps against the solids, sorry i hurt his head.

  • Bunny > pick by UID ... >> scroll to

    OR

    Give Bunny an instance variable 'TheCenter'. (or boolean)

    Set 'TheCenter' to 1 if this Bunny is the center of things, else set it to zero.

    Bunny > compare instance variable ( 'TheCenter' = 1) >> scroll to

    Or

    System > pick by comparisation > Bunny > 'TheCenter' = 1>> scroll to

  • Yes of cours. This are just two different sprites (one figure, one spaceship + figure combined). One with the platform behavior. One (probaly) with a bullet behavior.

99Instances2Go's avatar

99Instances2Go

Member since 12 Feb, 2016

Twitter
99Instances2Go has 2 followers

Trophy Case

  • 8-Year Club
  • Email Verified

Progress

9/44
How to earn trophies