Yann's Recent Forum Activity

  • Might want to use the tilemap plugin instead of spawning lots of sprites and potentially killing your perf.

  • If you have any doubt, it works "multi-dimensionally"

    deleteIndexOnAxis.capx

  • You can also right click the global variable and "move to event sheet"

  • Hmmm maybe that will help

    bumpMappingAlpha.capx

  • Games

    Nope! It's a good solution. The else is bound to the evaluation of the condition it's "elsing", since this evaluation happens before the action, the else will not be triggered.

    RamPackWobble

    Using a boolean instead of a global number is not equivalent though it might be a better solution in this case. But we can't say without seeing the big picture.

    I would guess that you probably want to use a boolean for the semantic (meaning) of a 0/1 switch, but to me it's more because c2 doesn't provide boolean types for globals than for a good design reason.

    (To counter c2's flaw, I usually declare two global constant TRUE = 1 and FALSE = 0 and use that in expressions)

  • Ashley

    Oh ok, got it, I'd actually never noticed that object parameters weren't "container-aware" (:

  • Set BestDistance to WebStorage.LocalValue("BestDistance")  [/code:1e07swc4]
    And
    [code:1e07swc4]Set local key WebStorage.LocalValue("BestDistance") to BestDistance  [/code:1e07swc4]
    Don't forget the quotes.
  • Try Construct 3

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

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

    you could do something like

    + System: distance(touch.X,touch.Y,character.X,character.Y) < speed * dt
            -> set character to (Touch.X,Touch.Y)
    + else
            -> move (I don't remember how the character is moved though :D) [/code:1cthm65q]
  • All programming language share a lot of similarities. I don't think you can pick a wrong language (unless a wrong one would be one so complex that it discourages you).

    Once you know one language, learning another becomes easier. And little by little, you start to have a glimpse at a bigger picture. And if someone ask you to write something in an hypothetical language Q, you just think "ok, few days to learn the Q syntax and features and I'll get to work"

    Javascript is a nice language, mostly because you can just get starting using chrome. It has however a few annoying sides (high tolerance to errors (complicate debuggin), no memory handling (limit optimization), no package/module system, to name a few).

    This site could be a good start.

  • If you want to find a job using C2, you have two possible choices:

    1 - make more refined games to put on your portfolio (and do create a portfolio website instead of just showing youtube videos) where Potential Employer could test your game. Doing this, you would sell yourself as a game designer. Showing a lot of original gameplay and how well you can balance them to create a good experience would be the goal of those refinements. Also, you cannot ignore graphics. Even if you're not an art guy, Potential Employer will just skip you if your product is ugly even if the gameplay is good. Presentation is alway important (and after all in "game designer"... you still have "designer"...)

    2 - If you want to sell yourself as a game programmer, learn a few programming language (Java, C, javascript, python, ruby,... ). C2 isn't ready to be professionally used in studios (though it happens). For a studio, it's a dangerous bet to make a project in C2 as it's hard to work with more than one "C2 programmer" at a time and because once a project gets past 500 events, it starts to get really hard to maintain. Since C2 doesn't enforce any kind of encapsulation, you'll start to enter the hell of "I change something somewhere, it breaks something somewhere else". Learning other programming languages however will make you a better C2 programmer, and also will make you more flexible in the Potential Employer's eye. For example, if C2 doesn't work out, you could still develop android games (java) or at least create plugins to make C2 behave (javascript). Also you would have more options to solve any given problem (as being a programmer is being a problem solver).

    So you can choose either the first or the second... or the two solutions (why not )

    As you are now, selling yourself professionnally might still be a bit hard, but you're on the right track o/

Yann's avatar

Yann

Member since 31 Dec, 2010

Twitter
Yann has 5 followers

Connect with Yann