locohost's Recent Forum Activity

  • I've tried setting the x/y vectors to zero both before and after setting gravity to zero. In both/either case, the ball drops to the bottom of the screen.

    See attached screen clip...

    https://www.dropbox.com/s/ovek2apd4874eb5/Construct2_Event_Layout_Start.PNG?dl=0

    Thanks again for your advice and help

  • I have a top-down tilemap with a sprite. I need physics to apply a force on certain controls. I can do all of this fine, however "set gravity = 0" on the sprite is not working. The sprite simply drops to the bottom of the screen. Other "set gravity = 0" what else must I set?

    Thank you, thank you, thank you for your help

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • JohnnySheffield Has Ashley responded to this issue? You're right, this is a very big bug. Has no effect on one guy/girl working a small solo project, but makes team dev on bigger projects extremely difficult. And for no reason, just write those UI state changes into state xml files where they belong.

  • Elliott The initials prefix is clever. I hadn't thought of that. I think we'll use that.

    JohnnySheffield I guess that's kinda what I was expecting for a reply. I'll see if we can carefully group logic into lots of ES's and use includes. Then make sure we communicate who's working what file with great detail and frequency. Sounds like this is going to be difficult

    Thanks a lot guys for helping and I suppose, confirming, what I was afraid of

  • Ok, following Noncentz705 advice, I built the array in code, then wrote out the JSON with Array.asJSON. Looking in the debugger, this produces a JSON structure like so...

    {
    	"c2array": true,
    	"size": [2,4,1],
    	"data": [
    		[
    			["right"],["backward"],["left"],["forward"]
    		],
    		[
    			[0],[90],[180],[-90]
    		]
    	]
    }
    [/code:2b9k08ej]
    Which is visually bizarre. Comparing the above JSON to what the array actually looks like is very confusing. You visualize arrays as a grid with X-axis running horizontally left to right, Y-axis running vertically top to bottom. The above looks nothing like that. 
    
    Here is the JSON from above with some comments to help...
    [code:2b9k08ej]
    {
    	"c2array": true,
    	"size": [2,4,1], // these are array dimensions: x, y, z
    	"data": [ 
    		[ // x-axis value, x = 0
    			["right"],["backward"],["left"],["forward"] // y-axis values 0 - 3
    		],
    		[ // x-axis value, x = 1
    			[0],[90],[180],[-90] // y-axis values 0 - 3
    		]
    	]
    }
    [/code:2b9k08ej]
    I'm not 100% sure where the z-axis is above?!
    
    [b]Big thanks to @Noncentz705 for getting me over the hump![/b]
  • What is wrong with the basic JSON structure in my OP? Are my attribs named correctly? Am I missing any required attrib? Clearly my 2x4 array structure needs some different format that inlcudes the "z" axis. Can someone post the proper JSON for this?

    Thanks a lot for your help

  • No variation of the "size" attrib values works. I can see in the array in the debugger that it doesn't have the 2 columns and 4 rows I'm expecting. It has one row with the letter "r". I have no idea what's happening. I suppose these array JSON structures for C2 are not what you would normally build when hand coding in javascript.

    Can someone post an example JSON file layout, like above that is actually loading and working in C2? Please

  • Are there any detailed articles/tutorials on this? I read the basic ones. Was hoping for a few replies from people doing team dev with more details and suggestions.

    Anyone?...

  • I've been working on game ideas for the last 15 years. There are two reasons, well three, why I haven't published anything yet.

    1) I keep changing game dev tools and porting my code. Not sure why, but I've done this several times. I guess I see new "toys" coming out and just have to buy and try them. Dumb.

    2) I've been trying do everything alone. Very dumb. You need a team to keep ideas flowing, to help resolve issues and to do all this work and keep everyone motivated and moving forward each day/week.

    3) I have a family, mortgage, bills and a real job which limits my ability to do game dev all day every day. This one is definitely not dumb, just life as a grown up.

  • No one is working on a team using source control?

  • > I wrote my first "program" at age 17 on a Radio Shack TRS-80 Model I. 16K of RAM and a cassette drive. That was 1982 so I bet I'm truly the code geezer here .

    >

    Think again?? I beat that (just). exact same pc though

    Ok, ok so I'm not the code geezer, but for the moment I'm top two with codah

    I was a junior in HS in '82. How'bout you coda?

  • locohost

    Welcome to the world of Construct 2. I've found it to be quite robust and powerful. Are you currently involved with a project, or just learning?

    Working on a game idea with a couple friends Still working on how to break up the project files for team dev.

locohost's avatar

locohost

Member since 19 Sep, 2014

None one is following locohost yet!

Trophy Case

  • 10-Year Club
  • RTFM Read the fabulous manual
  • Great Comment One of your comments gets 3 upvotes
  • Delicious Comment One of your comments gets 10 upvotes
  • Email Verified

Progress

14/44
How to earn trophies