codah's Forum Posts

  • I'm curious what brings you to c2 for a text based game. I'd say text is not its greatest strength, but I will stand corrected. What kind of text game are you doing?

  • You do not have permission to view this post

  • Use WebStorage local storage to save your scores

  • Just wondering what's a good way of 'freezing' and then scrolling the game screen in a given direction, for example as an end-of-level transition. So everything on-screen is frozen in place and the entire screen moves in a direction, until nothing is visible (and a new level starts). Been fooling around with bullet behaviour on my tilemap (and everything else), but no luck. Thanks in advance.

    Edit: I'm thinking a bit differently and have almost implemented a method by: taking a screenshot of the screen, applying it to a sprite on another layer, making that layer visible, then scrolling the sprite in the desired direction Trouble is stopping my game from progressing in the background (invisibly). I need a global 'game is stopped' flag.

  • Kyatric thanks for taking the time. You have helped me understand these issues.

  • Thanks for the comments. Yea I wasn't planning on profiting off it, just displaying it on this site for instance.

  • Hi all. Just getting into C2 and though I'd copy an old (>30 years) favourite arcade game as a learning exercise. I want to make it true to the original (i.e. as identical as possible), again, just for the exercise. Would I face any issues with this; is it frowned upon; would I be able to post it on the WIP/completed projects sections? Thanks.

  • Ah ok I got it no problem

  • Kyatric thanks for the response. Re the Pick all, that was just some experimentation that I should've removed .

    When you say put the action 'right after the create action', I think I'm misunderstanding because the following does not work. The 'Log' shows 1 picked object. You made me understand why though, because the created object is not available in the same tick.

    [attachment=1:23qhvp04][/attachment:23qhvp04]

    I guess you mean this, which does work:

    [attachment=0:23qhvp04][/attachment:23qhvp04]

    Without the Trigger Once of course this would be done every tick which is not good. However with the Trigger Once I need a way of re-triggering it whenever I spawn a new object that I need to change it's colour. I guess I just need a global 'TriggerColorChange' variable or something which I'd set every time I create a new object, and check for that in the above Every Tick. I suppose that's not so bad.

  • Hey Lordshiva1948 thanks for the response. The functionality I'm after is to change an object's colour via the SetColor effect, after it is dynamically created. So I'm not sure that your example addresses that? Maybe I'm missing something. Also, why do you set the an object's animation frame to a non-existent frame?

    (My ultimate aim is to use a Family containing 2 different sprite object types and change all of their colour via the Family's SetColor behaviour. However it seems my issue has nothing to do with Familys.)

  • Please have a look at the attached capx as I'm unsure why the created Sprite (System:Create Object) does not get its colour changed unless I have the 'Wait 0.1 seconds' (you'll see what I mean). I'm guessing it's because it hasn't had time to actually be created. Would it be better to have pre-created objects as I've seen suggested elsewhere? Thanks.

    [attachment=1:4af47d2d][/attachment:4af47d2d]

    [attachment=0:4af47d2d][/attachment:4af47d2d]

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Good effort on your first game Will you be adding to/ tweaking this? I guess smooth up/down motion of the ship would be nice, explosion effects and some more satisfying sounds. Well done.

  • Some logging info in this thread

  • [quote:1jhm7rq7]If you have many sounds, you can't have them all in a choose expression.

    Yes you can. Choose can have unlimited parameters.

    Sorry I meant from a practical point of view not a technical one.

  • Didn't you post a very similar question on another part of the forum? Anyway why don't you have a Text instance variable in the button that is the name of the sound? Then compare them and generate the appropriate sentence?