newt's Recent Forum Activity

  • [quote:2thuwlzu]GetToken(string, N [, delimiter])

    Returns the Nth token in string using delimiter. The default delimiter is comma (,) if you do not specify your own. Examples: GetToken("a,b,c", 2) gives "b", GetToken("one|two|three|four", 2, "|") gives "two"

    You could use that, but I think you would have to force a delimiter when the person is typing in the editbox.

  • If you don't mind adding an extra object the list box has a built in sort that will arrange alphanumerically.

    + HashTable: For each key

    -> ListBox: Add line HashTable.Currentkey

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Oops.

    Ehhh zero based can be confusing, course not as much as 1 based.

    Perhaps I was confusing random(0) for random(1)... oh wait.

    um, where do i find random?! i mean, is it in system?! or......?!

    Its under the system>math>generate random number.

  • Heh, well that's an interesting idea, but yeah exports don't keep the caption.

  • Might run the debugger. It should tell you how many instances exist.

    If many objects exist, then they are either invisible, off screen, or behind something.

    Other wise you will have an event doing something you didn't remember, as there is no bug that does anything like this.

  • A 50/50 chance would be random(1), where the out come would be either 0, or 1.

    So if random(1) equals 0 do this,

    and random(1) equals 1 do that.

    Note each time you do a comparison using random it will generate a new number. If you want to choose from one "roll" you will need to save the out put to a variable first, and then compare the variable is = 1, or 0.

  • You can using timedelta, but you will need a counter to test a length of time that the fps drops below a certain rate, as frame rate varies all the time.

  • You could also set up the events so that you can only launch when fps optimal.

  • Copy the Mouse & Keyboard object from layout 1, and paste it to layout 2.

    Or make it global from the first layout.

  • Yeah, its reliable, and a ton of useful stuff.

    ...Actually too much in my opinion. Hell you could have made five or six plugs out of it.

    Hope you keep that in mind if you decide to start selling plugs Lucid. :p

  • I don't know man, it's just seems there are some restrictions to what i can do so far as i can see, without having to resort to custom scripting/plugins.

    Such as?

  • + System: Ship.Value('Movement:ReverseCalc') Greater than Ship.Value('Movement:Distance')
    -> Ship: Set 'Movement:TurnTo' to Ship[Movement].Angle-180[/code:2vcorxsq]
    
    Might try using "Compare a private variable"
newt's avatar

newt

Member since 12 Nov, 2008

Twitter
newt has 27 followers

Trophy Case

  • 16-Year Club
  • Entrepreneur Sold something in the asset store
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Forum Wizard Made 5,000 posts in the forums
  • Forum Unicorn Made 10,000 posts in the forums
  • Popular Game One of your games has over 1,000 players
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • Unrelenting Visitor Visited Construct.net 180 days in a row
  • Continuous Visitor Visited Construct.net 365 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

31/44
How to earn trophies