Tekniko's Recent Forum Activity

  • Thank you fir the advice. Ill try to figure out the export thing when I get home tonight.

    Edit

    Well, it took me forever but I was finally able to download the JSON file from my game. Worked great! I am gonna start loading the array with data tonight.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I am still very confused on how to format a JSON file for a 3D array. Could someone give me small code example? I'd be in your debt.

    Let's use number for X. WeaponName for Y. WeaponStats for Z.

    Thank you,

    Stephen

    Edit:

    I probably wouldn't even need a 3D array. I could just load everything in a 2D array.

  • you can create a .txt file and than rename it to be .json

    content should be something like this:

    {"armors":1,"weapons ":2}

    And how do I control what is on each axis?

  • As the subject states, how?

    I am trying to create a JSON file so I can fill it all my armors/weapons and stats. Then using AJAX, push the info into an Array. I believe I am on the right path for an item database but I just can't figure out how to make a JSON file. Or even how I would format 3D values (XYZ).

    Any advice? Thank You.

  • Gotcha. Thanks.

    What I do is set up a 32x32 grid in Photoshop on a 320x320 canvas. Then zoom in 400% and draw away.

  • Set it to looping and dont stop it. If you are using a OnStartOfLayout to play music then just add a subevent to see if the music is already playing.

  • No. You need to set them all with the correct spacing in Photoshop or whatever it is you use.

  • Inventory Update

    • Added max items allowed in inventory (Set to 40). Trying to add more than the max allowed to your inventory will generate an error message.
    • Items are now stack-able and display their amount, up to 99. Having more than 99 of an item will force the remainder to a new inventory slot. (Just realized possible future bug with items going over the 99 limit and inventory being full at the same time.)
    • Player inventory will now automatically be saved locally when an item is added/removed.
    • Touching an item will now display a popup window with three options. Equip, Info, Destroy.
    • Allow the user to move items in inventory.(Scraped for now)
    • Sorting feature. (Maybe... seems like a lot of work)
  • Well, he has been online for the past two days... I guess he fixed the problem but didn't bother to tell us.

  • Google doesn't really want you closing your apps though. They prefer the user was able to just press the Home button and return to the app later at the exact same spot.

  • Phone gap won't make a difference. There could be 100 different things slowing your game down. Post a capx and I'll have a look.

  • Any updates on this project?

Tekniko's avatar

Tekniko

Member since 4 Dec, 2012

Twitter
Tekniko has 2 followers

Connect with Tekniko

Trophy Case

  • 11-Year Club
  • x11
    Coach One of your tutorials has over 1,000 readers
  • Email Verified

Progress

13/44
How to earn trophies