Does C2 require no programming?

0 favourites
From the Asset Store
A cool way for kids to write and practice English Alphabets
  • For example to move object to right I need to write code: X = Self.X + Self.speed * dt

    <img src="http://s17.postimg.org/bvxep6l27/rrrrrrr.png" border="0" />

    Okay, I can achieve this behavior without programming.

    <img src="http://s11.postimg.org/ovf26fmkz/qqqq.png" border="0" />

    My question is: is not it simpler for everyone to use solution with code rather than without? do you consider C2 does not require programming?

    Edit: One thing I've missed out is that C2 does not allow me to make build fail. Now I understand why C2 does not require programming.

    <img src="http://s21.postimg.org/cfriyebiv/wwttttt.png" border="0" />

  • Even if your're right, then "X = Self.X + Self.speed * dt" would be no programing, there is no syntax you need to pay attention for, it's simply math, but no programing.

    There are many behaviors, like custom movement behavior, where you could do stuff without a need of these lines of "code/math". I didn't search, but I think there are many examples and tutorials for it :)

    edit: Just for ppl reading this thread and getting confused. Dima edited his posts and my posts was answering to his "old" posts.

    edit2: It's very confusing, you're editing your first post so often, ppl cannot follow the conversation anymore. Just make another post at the end...?

  • "Many behaviors" does not mean all behaviors I need in my project.

    Personally for me "Self." is confusing. I do not know from math what "Self." means

  • When you say: Set Sprite.X to -> Self.X + 5.

    Then Self.X is the current X position of the Sprite. But you also could say: Set Sprite.X to -> Sprite.X + 5. It's the same.

    Also, here's an example without "programing". link

    And the Sprite moves to the right without a single line of code : D

    Just hover with the mouse over the objects.

  • Agreed "X = Self.X + Self.speed * dt" is simple code. But it is code. Why C2 says that it does not required programming?

    If using C2 I should to learn basic stuff about programming, why C2 consider I am not able to learn more advanced stuff?

    But if C2 consider I can learn more advanced stuff - than what is the point in C2?

  • No, I gonna say: there is no need for programing. My example does exactly

    this -> "X = Self.X + Self.speed * dt" but with behaviors, so without code or programing. Did you even open it?^^

    You have the choice, wether use formulas like this, or use behaviors to avoid simple or complicated math.

    edit: the post above was again edited. So my answer is again confusing for ppl who don't know the original conversation.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Yes, in this simple example C2 does not required programming.

    But in this simple example programming is easier than no-programming.

    So: if using C2 I should to learn basic stuff about programming, why C2 consider I am not able to learn more advanced stuff?

    But if C2 consider I can learn more advanced stuff - than what is the point in C2?

    PS

    For example, I can not avoid "random(int i)" function if I want it.

  • You say, C2 can't do "X = Self.X + Self.speed * dt" without programing.

    I say, it's possible, send you a link.

    You say, but the code is better in that case.

    You don't me to show you how it's possible? :P

    I say, "C2 don't needs any programing skill"

    If you want to use some line of code, you can do.

    If you don't want to use code/math, C2 offers many ways to do that stuff .

    So the statement "C2 does not require programing" is still right. And you could do a whole game without getting involved into coding/programing/complicated math.

    And using a behavior like in my example is more than basic and more easy than using any line of code.

    But maybe Ashley could tell you better what I mean, because his native language is english + he knows C2 better than me :)

  • Personally I can not say that if some solutions is better with code than with GUI then C2 still does not required programming.

  • "Require" means, there is no other way to so something.

    But C2 offers many other ways to do stuff without coding. So C2 doesn't "require" programing. It just offers you to do it that way. But it still doesn't "require" it. The choice is yours.

  • Here's another example without any condition. Move the sprite with the arrow keys:

    link.

    You can't say now programing would be more easy.

  • C2 doesn't require you to "write" code. You are however still programming. Just in a different way. You're still creating an order of events and actions. It's still programming.

    thefreedictionary.com/program

    Even though you are not writing code in C2, you can still get a lot of benefit from implementing some of the condition expressions. Also zyblade is correct a mathematical expression presented is not programming. That's just mathematics language.

    This is algebra

    X = Self.X + Self.speed * dt

    this if code

    if(self.x != 0){ return self.x + self.speed * dt }

    :D

  • Thank for this!

    <img src="http://s21.postimg.org/vsgkz65ef/iiiiiiiiiii.png" border="0" />

    I need make motion without acceleration, what should I edit? Unfortunately it's not obvious for me.

  • Thanks Jay for clearing that up :D.

    dimakoles: If you want to move instant, just change acc and dec to 5000^^. There might be another way, but this is one of them^^. Just don't put Max Speed too high, 200-500 should be fine, experiment with it.

  • That's just mathematics language.

    This is algebra

    X = Self.X + Self.speed * dt

    this if code

    if(self.x != 0){ return self.x + self.speed * dt }

    This is not algebra because algebra does not know about expression "Self."

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)