Cronus's Forum Posts

  • 2 posts
  • INTRODUCTION

    "Octo is an Octoflop, born to stay on land with his fellows. His dream always was to reach the skies one day, a hard task without wings. But having no ways to fly doesn't mean that he can't try!"

    "Octoflops can Flap" is a game developed for Itch.io's Flappy Jam. As one can imagine, the goal was to reference the notorious and controversial Flappy Bird with some hard gameplay and a famous game reference. This was not only my first Jam entry ever, but it's also the first game I complete with Construct2 (that I've started to learn a couple weeks ago).

    I tried my best on my limited availability to make a game that feels complete and playable, and can also offer some kind of reward for the player insistence.

    SCREENSHOTS

    CLICK HERE TO PLAY!

    CONTROLS

    They should be self explanatory, but just in case.

    Left click or Up Arrow Key makes Octo ascend when trying to fly. In the score menu, Left Click or Up Arrow Key can advance and replay the stage, while Right Click or Down Key can be used to return to the main menu.

    MAIN MENU

    Left and Right click can change your character in the main menu. Extra characters and upgrades can be unlocked with points accumulated during the gameplay. Don't forget to use the save button if you wish to keep your progress!

    Thanks for the attention and have fun (or not) !

    I just want to make sure to credit Jayster again, for the awesome music he produced and I'm using.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello! Every time I get stuck with something, I can usually overcome the problem after some attempt, searching in the manual and/or browsing through the forums to see if someone had the same problem before and how it was solved. As none of these options helped me in this case, I will try my last resort with this topic.

    My issue is simple: I have two layouts, menu and stage. Each one plays and loops a different music on the start. When the player goes from the menu to the stage and vice versa, the current music would stop and the new one would start from the corresponding event page. Problem is that the current layout music plays and stops alright when it should, but in the next layout the corrsponding music doesn't play at all. Strangely enough, when switching back to the starting layout, the corresponding music plays. This also happens for both cases: If I start the testplay on "Menu", the "Stage" music don't play. If I start on "Stage", the "Menu" music don't play.

    Running the debug mode it's possible to see that the music supposed to play in fact starts, but it doesn't plays for some reason:

    Left is the music playing on the starting scene, Right is the music "playing" after swithing the layout. It's possible to see that on the right there's a "0s/NaN s", showing that the audio file is playing but not running (?)

    I personally think that the key to the problem origin can be there, but I tried some things and none of them worked. I tried preloading the audio files, playing the audio before switching the scene instead of playing in the beginning, messing with volume... I also created another test project just to test the audio switching, and it worked perfectly.

    Here are the lines controling the starting and ending of the looping music.

    They are basically "At the start of layout, if this is not playing, play it" and "Before switching the layout, stop the music."

    So... does any one knows what can be the problem or the solution? Thank you so much for any help.

  • 2 posts