NetOne's Recent Forum Activity

  • Ok man , you should share a project then more people will pitch in. I still dont understand this flickering you are talking about. If you delete the "on space bar pressed" condition in my project it will generate every frame. 60 times a second and no flickering. I never used tokenat before either so good for me to learn!

    Anyway England are through so all is well.....

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • What you mean?

    here no flicker.

    drive.google.com/open

  • a bit ineficiant but so you can see how it works

    make a text input field

    and a text (output)box

    then

    + System: len(tokenat(TextInput.Text, 1, ".")) = 0

    (This counts the characters after the decimal and checks if = 0)

    -> Text: Set text to tokenat(TextInput.Text, 0, ".")&"."&tokenat(TextInput.Text, 1, ".")&"000"

    (If true then this sets the text to the characters before the decimal + a decimal point + 000)

    Then just repeat for 1 2 3 i.e more characters after decimal less 0s

    + System: len(tokenat(TextInput.Text, 1, ".")) = 1

    -> Text: Set text to tokenat(TextInput.Text, 0, ".")&"."&tokenat(TextInput.Text, 1, ".")&"00"

    + System: len(tokenat(TextInput.Text, 1, ".")) = 2

    -> Text: Set text to tokenat(TextInput.Text, 0, ".")&"."&tokenat(TextInput.Text, 1, ".")&"0"

    + System: len(tokenat(TextInput.Text, 1, ".")) = 3

    -> Text: Set text to tokenat(TextInput.Text, 0, ".")&"."&tokenat(TextInput.Text, 1, ".")

  • Actually I am being stupid.

    Zeropad pads to the left. You need zeros to the right.

    So I am now thinking just count the chars after the decimal then add zeros as nessesary.

    hmm let me see...

  • deleted bad answer

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You do not have permission to view this post

  • don't know about single html file

    but you can wrap the nwjs output into a single .exe file with something like Enigma Virtual Box . with no performance issues whatsoever. (though there are restrictions on leaving files (eg save files) on the user's machine)

  • first power up ! so excited - DOUBLE SHOT

  • Good point, its like the fonts change from bold to not bold.

    I much prefer the initial thicker fonts much easier to read.

  • Well you can count me in for a pre-order !

NetOne's avatar

NetOne

Early Adopter

Member since 3 May, 2016

Twitter
NetOne has 4 followers

Trophy Case

  • 8-Year Club
  • Great Comment One of your comments gets 3 upvotes
  • Delicious Comment One of your comments gets 10 upvotes
  • Email Verified

Progress

11/44
How to earn trophies