BlueSkies's Forum Posts

  • When the player completes a level, a button pops up offering the choice to retry the level. When the player clicks the button, I want my game to fade out, restart the layout, then fade in.

    So I have the following eventL

    Retry -> on clicked ->

    System create object fader on layer 3 at 0, 0

    fader set size to WindowWidth, WindowHeight

    fader start fade

    System wait 1.0 seconds

    System restart layout

    However clicking on the button does nothing. If I remove the wait event, then button works, but the layout restarts first, THEN the screen fades to black.

    Thank you in advance.

  • It should be simple, I'm sure it IS simple, but I'm having an off day.

    I have a bullet that I want to travel at 45 degrees on layout 2. I have a fade effect when transitioning from layout 1 to layout 2, so I only want the bullet to start moving once the fade is complete. To that end, I set the bullet's speed in its properties to 0, then added a 'Fade out finished' event for layout 2, with the actions 'Set bullet angle of motion to 45 degrees' and 'set bullet speed to 150'. Everything works as intended, except for the angle - the bullet just sets off at 0 degrees.

    What seems odd to me, is if I remove the 'set bullet speed' action from the event list, and just put a figure for the speed in the bullet's properties, then it moves at the intended 45 degree angle.

    So how can I get this working?

    Thanks in advance.

    edit: some further notes:

    If I swap 'set bullet angle of motion' for 'set angle' and turn on the option to link object angle with angle of motion in the bullet's properties, then the bullet moves at 45 degrees, HOWEVER I do not want for the sprite to rotate 45 degrees, but to stay upright and only move at 45 degrees.

    edit2:

    SOLVED

    In the bullet's object properties set the desired speed.

    In the event list:

    System -> on start of layout -> set bullet disabled

    fader -> on fade out finished -> set bullet enabled

    fader -> on fade out finished -> set bullet angle to 45 degrees.

  • Hi everyone. I bought C2 in the early adopter period because I knew it would be a good investment and HTML5 was the future. Only now I've I started working my way through the tutorials and the manual; I intend to start my first game later today, which will actually be a port of a game I made in Game Maker - a good chance to compare the 2 apps then :)

  • Cheers, Keyurdude! Was about to come here and post this same topic but your solution worked for me too.

  • That's a straw man; C++ isn't a good entry point for someone who's never programmed before.

    But cheers guys. Even if GM and C2 are like chalk and cheese I'm still interested in them both for different reasons. I'll give C2 a whirl over the weekend and check out some of those tutorials!)

  • After browsing the C2 forum history that seemed the overall consensus. And I'm not just talking about official documentation/tutorials, but referring to the indie landscape as a whole. If you take 3rd party sites such as TIGsource forums you'll see a ton of user-made tutorials for GM but none yet for C2. Perfectly understandable of course, being as C2 is not even out of beta yet and needs time to mature.

    From my position as a complete newbie to everything game development I'm looking for the most support possible. There are even printed and published guides for Game Maker, which I've ordered. A physical book facilitates easier learning, for me at least. This is all besides the point though.

    I noticed from one of the tutorials here that C2 can import GM resources, which is excellent. So; what else, from the point of view of a complete novice to game making, can I carry over from learning GM that will make starting in C2 that little easier?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hiya. I've been scouring the forums and blog posts the last few days and C2 looks very enticing, in terms of what it offers, its price point, and the developers' ethos.

    C2 doesn't have much in the way of tutorials or documentation at the moment. This is particularly a revelant issue for me, a complete beginner to game development.

    Game Maker is a tool that has plenty of documentation and tutorials and it's touted as a great place to start for the aspiring game designer. My question is this: If I learn how to work in Game Maker, will this put me in a better position to get to grips with C2 later on? That is to say: are any skills transferable between one app and the other?

    Please don't read this as an either/or post for one or the other app: I intend to buy licenses for both; GM so I can export to exe, learn the basics of programming with GML and so on; but at the same time I have a keen eye on future developments, namely html5, and for that I think C2 is the app for me. It would be fantastic if my efforts in one could stand me in good stead for moving over to the other at a later date.