Squeemish's Recent Forum Activity

  • I've put together an example.

    Hopefully it's what you were asking for.

    https://www.dropbox.com/s/m32jibxq70r5qhg/AnalogStrafeAndRotate.capx?dl=0

    It basically uses the 8 direction behaviour and says if the left stick is up, down, left or right, simulate left, right, up or down. And if the right stick is left or right, rotate clockwise or counter clockwise.

    I've just used an arbitrary number of 25 to determine if the analog stick is pushed to one side. This can totally be adjusted to suit the feel you'd like.

    It's also possible to base the speed of the object on how hard you push the stick. But I haven't done that in this example. Let me know if you'd like me to.

  • I don't think that's possible, not without exporting or previewing in a browser. Might be wrong though.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi there,

    I'm making a game with a fairly simple level layout (two block types, a player, 2 enemy types, and an exit).

    I'd love to be able to just design the levels in a text format using arrays, rather than having to use the Construct 2 editor and a ton of Layouts. Similar to the way Derek Yu made levels for Spelunky if you've seen the Indie Game the Movie extra scenes.

    I know the basics of using arrays and could probably figure out how to pull the data from an array to put all the bits in the right places.

    The thing I don't know is how to use an external text file to create the arrays in the first place, and import that data into Construct.

    The Arrays for Beginners tutorial talks about saving JSON files, but it seems like that's more for once you have your game uploaded to the web, rather than just for the actual local development. Maybe I'm wrong??

    Any help is greatly appreciated.

  • Nice!

    Thanks for the suggestions.

    I'll look into all of the approaches and see what works out best.

    Appreciate the help!

  • Anyone else have any methods in mind?

    I'm keen to hear a number of approaches, so when I screw one up I have backup

  • Interesting. I haven't messed with UID's too much.

    Thanks for the suggestion.

  • Here's the kind of thing I want to do:

    https://www.dropbox.com/s/dath57nh0v8r1fc/SlapJaw_Enemies.jpg?dl=0

    I want to make enemies that share a weak spot (or multiple weakspots), a pimple type thing in this case.

    Basically I want to be able to design, animate and code one pimple, that can be shot, destroyed etc. Then add it to multiple enemies.

    I had thought containers might be the best way to do this, but now that I read about them a little more, it seems that any events that affect one object in a container, will affect them all. This obviously wouldn't work so great for what I need to do.

    Also when I create an enemy type, it'd be nice to have the pimples already pinned on to the object in the correct position and angle.

    Not too sure where to start.

    Thoughts?

    Thanks in advance.

  • Beautiful, I knew it was something dumb I was doing.

    Thanks man!

  • Hi there,

    I'm having some trouble with a prototype I'm working on.

    Which you can grab here: https://drive.google.com/file/d/0B_Xd56ZdrBpYQ1dIb2l4cnpKajA/view?usp=sharing

    There idea is that when you click the left mouse button, the flytrap shoots his tongue (or more importantly the tongueTip object, a bullet). The tongue's width is supposed to always remain the distance between the bullet and it's origin, the flytrap (turret).

    The problem is that the tongueTip object's x and y positions appear to not be updating. I made a global variable and linked the tongue's width to that , but no luck.

    The debug shows that neither the global variable, or the x and y positions of the tongueTip are updating, despite the fact that it's moving across the screen.

    Would love any help I can get.

    Thanks in advance

  • Nice one bro!

    Glad to see C2 used for a quality iOS game!

  • I know this is an old thread, but did anyone ever figure this out?

    I'd love to add an action when you shake the phone in an app I'm working on.

  • What's the best way to output this information to use later?

    I basically want to be able to give my editor to someone else to design levels. Then I import the info, from whatever file format it spits out, into my game.

    I'm interested, not just in the file type, but also the layout of the information itself (arrays etc)

    Thanks

Squeemish's avatar

Squeemish

Member since 27 Dec, 2008

None one is following Squeemish yet!

Connect with Squeemish

Trophy Case

  • 15-Year Club
  • RTFM Read the fabulous manual

Progress

16/44
How to earn trophies