codah's Recent Forum Activity

  • Set text to zeropad( variable, 3) should work fine..

  • I'm going through the same thing at the moment. You might want to check out this https://www.scirra.com/tutorials/1353/h ... lkphonegap and the last few posts of this thread 2-of-my-games-itunes-with-ads_t122930

  • Good find

  • thanks. But I have another question.

    Can many events be activated at the same time? For example there are 3 collisions,A collides with B, C collides with D, E collides with F, if I time them all at exactly the same time, will they all access the Event "On collision with object" at the same time? Or will they be put in a queue and take turn processing it?

    You will have different 'on collision' events for each object type(s), and they will run from top to bottom in the event sheet. Or if they are in a Family then you can do it in one event.

  • Have you accidentally duplicated the first or last frame? Otherwise, without seeing the .capx, it's hard to tell.

  • You need 'something' in the NPC to identify it, assuming there is more than one. Like if the NPC gets within X distance of something, or collides with something, or has a 'myIdValue' equal to 5, or whatever. Then you can get the UID of it, although you might not need to seeing you will then already have it picked.

    [attachment=0:28wjsqzb][/attachment:28wjsqzb]

  • There is only one variable 'instance', a Family has no special effect on a variable. You'd need to have the variable on the Family for each member instance to have its own value. Keep in mind also that local (non-static) variables are reset every tick.

  • This sounds easy but there must be something more to it than I can see?? If your frames are static images, then can't you just maintain a sequence of frame number values and on each click, increase that by one and display the corresponding frame? (say, if your frames are animation frames in a Sprite)

  • I think we can agree that having to click 4 dialog windows deep to do one simple thing gets old.

    Amen to that. I would love for C3 to address this kind of thing, and being an editor overhaul, it's actually on topic!

    Although the one thing that your post doesn't address is still the reusing of evens and event blocks. Or that nasty little pop up that tells you that you certain events cannot be pasted because of blah.

    Yeah I strategically ignored that Well, the nasty popups are valid aren't they, because you're trying to do something illegal. As far as re-use, you can already copy/paste (with some annoyances) and I'd argue re-use using Functions is a better idea (but yeah I know what you're saying).

    Even though I am a coder I can easily admit that the event system is fantastic -- but the event system needs SOME way or improvements to more rapid development and re-usability. I genuinely think this is something that can be accomplished without having to code as you point out. I am open to anything.

    Im just happy to be without all the crap syntax, but if you wanted to go deeper, it would nice if even the expressions were less syntax sensitive.

    Like you click lerp, it asks for a, b, and c.

    Yeah C2 is in a weird place between total non coders and geniuses like jayderyu (that's a compliment)

  • I want something in-between. At the moment you can 'almost' type your code using keyboard shortcuts and the existing incremental matching (i.e. you start typing 'burg' and it matches 'burgerSprite' in the narrowing list of objects) but it is still a fair way off, and yet tantalizingly close..

    I'm sure you know this, but when typing free form code you open yourself up to all the associated issues (typos, syntax errors, tab alignment, etc. etc)

    But right now in C2, you can type:

    "E"

    "sys" <enter>

    "compare v" <enter>

    "VVV" <enter>

    <Tab> ">"

    <Tab> 23

    <Enter>

    "A"

    "sys" <enter>

    "Set ob" <Enter>

    <Enter> "Spr"

    <Tab> "0.0" <Enter>

    to get

    System | Variable3 > 23 -> System | Set Sprite time scale to 0.0

    Not a single click* Don't laugh! It's very close to being quite usable but there are some horrible gotchas that make it frustrating to use, although I do quite often just to avoid millіons of mouse clicks. Yes I know, you're asking for code support don't shoot me down (I love writing code too) but I'm just saying this is kind of ok.

    As I've said before, I came to C2 specifically to get away from code, but everyone has a different viewpoint.

    *ok so I had to click on an existing event to be able to press "E" and "A" in the first place

  • Maybe I'm thick but I still don't quite get it, maybe a sample would be good or some pseudocode. Some people do use the term 'screen' as 'layout', but are you meaning the intro video consists of multiple videos (screens), and you want to skip ahead to the next one on right click?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • My other question, is there an event to skip to the next event or action? For instance, on right click - skip to next event (or action).

    This is not making sense to me, could you give an example or some more detail please? The next event after what? I'm sure there is no direct way of skipping an event but you could write your logic accordingly.

codah's avatar

codah

Member since 30 May, 2014

Twitter
codah has 1 followers

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies