nicholasgolden's Forum Posts

  • 6 posts
  • When I see a tutorial game, or a tutorial game with new graphics, or a example game or example game with new graphics.

    I tear into them, 1 star them and tell them that they aren't learning anything by just uploading something. That's not coding, that's not creating that's just wasting your time and ours creating crap that no one wants.

    I suggest, that sans regulation - you just rate it low and tear them a new one. Maybe that will at least filter some of the trash that's on there.

    P E R H A P S

  • Its been sometime (over a year). I was looking at possibly doing a site with C2. I already have a site, but I wanted more interaction with it.

    I wonder if it's valid now to use :)

  • Hi all,

           I want to create shapes that are bit complicated and beyond the physics bounding box editor in c2.

    In other frameworks, like cocos2d, corona sdk etc I would use physics editor and then import the shapes by requiring a library. It can also spit out raw data as well.

    What I'm looking for now is an example of how I would code a custom shape in c2, perhaps in js, and where to do it?

    In corona sdk it's something like shape = {32,-18,41,12,-23,29,78}

    Basically it's a set of coordinates that makes convex of concave polygons. In Js I can see from the box2djs how it's done, but since we're dealing with c2, and it's API I want to make sure I know where to look and a basic example of how to do such a thing.

    Hopefully that makes sense, I understand it's a bit advanced but it's something I'm used to in other frameworks and just want to see if I can expose that here.

    Thanks! :)

    -Nick

  • rexrainbow

    Sweet. I was banging my head trying to figure this out, I thought there was a native way to do it. Very odd that there isn't.

    Doesn't matter, this is PERFECT. Thanks!

    -Nick

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • yonda

    Alright, so I had to figure out how to use a plug in :)

    That's COOL. That worked - I didn't know you could write your own plugins for the engine. I might have to do that :)

    I'll mark the thread as solved. Thanks YONDA! That was fast reply!

  • Hi everyone, I'm really new to construct 2 and I have a question, that I searched and searched and hit up every example but couldn't find it.

    What I want to do is this:

    Lets say I have an object. When I touch it, I want it to move up 200 pixels on the Y axis, smoothly (vertically) then move back down. I don't know the terminology but I usually know it as a "transition" or "easing" or something like that. I thought "sine" might be the way, but I need to back and forth animation to begin on the touch, go up then back down then end. I didn't find a way to control "sine" so that on "touch" I could control the movement. Usually, in code I would pass params or something like that but since this is "visual" not sure how to tackle it.

    Currently in my silly sample project I have some ground on the bottom of the screen, and a crate. When I touch the create, I apply a impulse and the crate jumps up then falls back down to it's original position. This is of course using physics.

    What I want is to not use physics, and just animate the object going from point A to Point B AND I want to have collision detection.

    I can pull this off easily writing code in other SDK's like Cocos2d, Corona SDK, Gideros, Moai etc but I wanted to use Construct 2 so I could publish to web which is something those SDK's don't do well or at all.

    If needed I put up a capx, but I think what I am asking for *seems* simple in other languages, but I'm getting used to this "point and click" construct 2 thing :)

    -Nick

    ********************************

    *******SOLVED*******************

    For those interested:

    First you will need to learn how to install plugins:

    scirra.com/manual/69/plugins

    THEN - you need to find out if it's a behavior plugin, or something else. In my case this is a behavior plugin

    So I got the plug in from here (I have less than 500 posts, I can't post links yet so sorry about that you'll have to copy and paste...I know it's soooo much work )

    scirra.com/forum/behavior-moveto_topic44845.html

    Then I placed the plugin here on my windows 7 box:

    C:\Program Files\Construct 2\exporters\html5\behaviors\moveTo

    Help can be found here:

    dl.dropboxusercontent.com/u/5779181/C2Repo/rex_moveto.html

    Pretty easy to use. You can get to it from the event sheet. It has lots of options - pretty robust. <img src="smileys/smiley19.gif" border="0" align="middle" />

  • 6 posts