cityguy401's Recent Forum Activity

  • var a = ['','one ','two ','three ','four ', 'five ','six ','seven ','eight ','nine ','ten ','eleven ','twelve ','thirteen ','fourteen ','fifteen ','sixteen ','seventeen ','eighteen ','nineteen '];

    var b = ['', '', 'twenty','thirty','forty','fifty', 'sixty','seventy','eighty','ninety'];

    function inWords (num) {

    if ((num = num.toString()).length > 9) return 'overflow';

    n = ('000000000' + num).substr(-9).match(/^(\d{2})(\d{2})(\d{2})(\d{1})(\d{2})$/);

    if (!n) return; var str = '';

    str += (n[1] != 0) ? (a[Number(n[1])] || b[n[1][0]] + ' ' + a[n[1][1]]) + 'crore ' : '';

    str += (n[2] != 0) ? (a[Number(n[2])] || b[n[2][0]] + ' ' + a[n[2][1]]) + 'lakh ' : '';

    str += (n[3] != 0) ? (a[Number(n[3])] || b[n[3][0]] + ' ' + a[n[3][1]]) + 'thousand ' : '';

    str += (n[4] != 0) ? (a[Number(n[4])] || b[n[4][0]] + ' ' + a[n[4][1]]) + 'hundred ' : '';

    str += (n[5] != 0) ? ((str != '') ? 'and ' : '') + (a[Number(n[5])] || b[n[5][0]] + ' ' + a[n[5][1]]) + 'only ' : '';

    return str;

    }

    inWords ("&GlobalVariable&");

  • Hey, I am getting this js error while using your plugin behaviour, please check the image below, right click on the image and open in new tab.

  • hey, can u upload them again the links are dead , i really need this

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • So I've spawned some particles at 360* , one shot , now I want them to move towards a particular object or a particular position, suppose towards the top left of screen where the scoreboard is. So how do I do that?

  • Hey i tried converting your BHT SMART RANDOM plugin and zipped it . but when i try installing in construct 3 it fails.

    Can you please have a look at it, here's a link to the converted bht smart random

    mediafire.com/file/824ncy28rcer83i/bht.c3addon

cityguy401's avatar

cityguy401

Member since 26 Sep, 2017

None one is following cityguy401 yet!

Trophy Case

  • 7-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

9/44
How to earn trophies