MythStylz's Recent Forum Activity

  • I figured it out I was trying to load the JSON straight to the JSON add on instead of loading it into AJAX then loading AJAX.lastdata

  • Thanks theirs a whole world of stuff in their I didn't realize, and I can now click on stuff in the game and it is working after I put an AJAX request in on the JSON before loading it, but now I am getting undefined on any variable I try and pull up. I'm going to try and figure out the browser console but is their any good way to check if the JSON is loaded at all beside trying to display variables?

  • I figured out it is the JSOn that is messing it up, when I disable it loading it is fine... hmmm

  • Greetings, I recently have been working on a small game to start playing with construct 2 and I got to a point where I've added a JSON database that I'm including in the HTML folder for my game. Obviously the debbugger doesn't like JSON so I'm testing the game by uploading it to BitBalloon but I'm having a major problem. When I go to open the game the construct load symbol shows up and then the screen goes black, at first I thought I just messed something up so tried a few more times but then I noticed if I hit the new tab button or change tabs and go back the game will have loaded, then if I touch on a button and do the same thing it will go to the next step...

    Anyways I need to figure out how to make the game load correctly before I can go on (debugging it or re-write my JSON actually into Construct 2, which works in the preview version.) Anyways I hope I'm correct in my assumptions but would love to know if I'm just missing something.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thank you this helped a lot

  • I need to try Troublesums plugin but I've been happy with forum/ plugin-json-import-export-generate-edit-inspect_t100042

  • If you are then making points along that line then transfer that variable over to them and have PC search for that.

  • Hmmm... I do a line creator, so if this character is making this line then it is attached to him (i.e. local instance PCCreator=1) then when you look for the line make sure he's only looking for his line

  • Ummm... I think you can add an array (small 3 by 1) and then store the last three levels as Lvl1,Lvl 2, Lvl 3 then you can code in after the random lvl number that is the lvl number equals any of the past three it re-rolls (You will probably need another mechanism that stores the last lvl then pushes the next two back.)

  • It could also be that you created a super small image and may need to make it bigger (I've done it) but check visible not only on the item but also on the layer your bringing them into. (BTW make sure the layer you bring them into is above the background)

  • Greetings, I've tried to look this up and was pointed to the JSON plugin, but I'm having a bit of a problem comprehending how I want to use all this.

    Basically, my inventory screen allows the items to be dragged and dropped, right now I have one Item object and then it has an instance variable to tell it what item it is.

    Now I can do the basic programming for each object, i.e. when candle hits sword it becomes a fire sword. (when object 1=2 destroy and create object 3) and that works. What I need help with is how I want to set up my arrays. I'm assuming I should use a JSON file or WebStorage and I've read the book about them but am still confused.

    So here's the stats I'm storing Item Number, Item Name (Which is how it pulls up the animation as well), HP+, Move speed+, Damage+ , Defense+ and also In Inventory (to populate the inventory list). Then I also need to store what the item is combining with (I.e 1+2=3) Then I also need to store any class changes that this item makes when attaching to a character with a previous class (I.e Sword + Worker = Soldier, Bounty + Worker = Mercenary)

    So here's where I'm confused, How do I store that this item mixed with another item equals the third item? Like I set a new object in the Candle object called mix, the item i want it to mix with is ID 1, so I'd assume I set 1 as a variable (Set 1 at current@ "FireSword") then I'm drawing a blank. I know when those two items touch I want to check this database at the position of MIX... (While writing this I was just thinking maybe I should pull the Mixing out and make it it's own thing, then I can be like, 0 and 1 make 2? I don't ever have to save these combinations outside of a play game so should I even be using JSON? The only stats I'm saving as #PC (four playable characters at a time) their race and their class and their current item (only one item at a time)

    IDK I'm getting really confused and I think I'm just over thinking this.

    So yeah that's the main question, then of coarse am I using my arrays correctly and am I using the right arrays? Right now all my races are in a single array with X the name, Y the base HP and Z the base move speed, and that works well. I realize I only really need to save my one array for the characters, and am still looking into the best way to do that as well so any pointing me in the right direction for a small mobile game would be awesome.

    Anyways thank you for any response introspect or tutorial you could point me in the direction of. Basically it's a tactics game with a alchemy type leveling system.

  • How would you go about doing the old Zelda Style of having a heart be four pieces? I have a heart I split up into four animations and can back and forth between them but when I try and do more than one it edits them all. - Will Repost

MythStylz's avatar

MythStylz

Member since 11 Feb, 2015

None one is following MythStylz yet!

Connect with MythStylz

Trophy Case

  • 9-Year Club
  • Email Verified

Progress

10/44
How to earn trophies