Flodcp's Forum Posts

  • Hello! I didn't know how to formulate my question better.

    I'm doing a one-button rhythm game; you have to press the 'Space' keyboard key on the correct beats. For example, a music is playing, and you have to press Space at specific beats, like the 4th, the 13th, the 20th, and so on.

    Currently I know when the beat to tap is there and when it's not; and it's stocked in a boolean 'beatToTap'.

    When this boolean is true, and Space is pressed, you got the beat. My issue comes when the boolean is true but you didn't tap the Space button. I fail to find a good way to detect the missed beat.

    How can I detect that? I tried to invert 'key down' but it doesn't work, without much surprise, as I need the precision of on key pressed rather than just using a key down check.

    I also tried the following, which works, but I'm afraid it's not the best way to do it:

    > On Space Pressed: (btnTap=false) {btnTap = true}

    > if (btnTap=true){Wait 0.1 sec; btnTap=false}

    Thanks a lot for your help, I hope I made my problem clear!

  • Simple and smart solution, thanks! It works well

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • EDIT: All images seem to be way too big for the forum, I resized them on imgur (they are 150 pixels wide) but it somehow still doesn't work properly. Here are the full images until I figure this out, sorry! https://imgur.com/a/ERua5

    Hello, Construct community! <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    I'm doing a menu where I have different food categories, in each category, different food items are available.

    The idea is to destroy the list and instantiates the proper food list sprites depending on which category is active. Here it would be to have only green items in one category, and only blue ones in the other.

    My array is working, my categories are too, and my generated food list kinda does too. Now let me show you the array:

    And here is what I currently do, which properly generates content and don't generate sprites for the empty array cells:

    What I want to do is to filter each category and only get cells on a specific y index; like in one case get all values in y=1 and in the other all values at y=1. I didn't find any good solution to do it, and it kinda drives me crazy because that's pretty basic <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy">.

    Have you an idea on how to do it? Thanks for your help!

  • I'm a bit late, but thanks everybody for your comments and feedbacks!

  • Hello!

    I just did an realized a small game called Koto ?.

    Koto ? is a zen musical game, in which you play the koto while listening to the wind gently blowing through the leaves.

    It's a small project made in a bit more than a day, I hope you find it relaxing and fun.

    It's free, and browser-based. It works best on Chrome from what I've seen!

    Enjoy!

    https://floriandcp.itch.io/koto

  • > Start Construct 3 in web view, then click 'Customise and Control Google Chrome' (top right corner) ---> More Tools ---> Add to Desktop

    >

    > This will add a link to Construct 3 Chrome application.

    >

    On a Mac you simply highlight the full url in Chrome and drag it to the desktop. Amazing that it saves a version that can run without a network connection! Too simple.

    Could you specify? It doesn't seem to work on OSX Sierra.

    If any mac users found a way to get a working offline app, I would love to know!

  • I'll try that, thanks.

  • Hello!

    Glad to see there is a Construct 3 forum here, now!

    I'm making a top-down action game, with a camera similar to a Zelda.

    What I want to do is, when the player (the red fruit behind the tree) and other moving objects like enemies (those ladybugs behind the other tree) are behind an object (here, trees), to display their silhouette like in many games with that sort of problematic.

    Something like this.

    Now I'm sure this is doable with some clever tricks, masks, and blend modes; but I didn't find those tricks. What I'm thinking is a separate layer with plain color tiled backgrounds, and a masking system that only allows part where there is the tree AND the player/object to be visible. Or maybe, a more simple masking system with a clever blend mode/webgl effect.

    What do you think?

    Thanks a lot for your help!

  • I created an offline shortcut for construct 3, planning to continue working on my game while away for a few day with no internet connection.

    The thing is, when I launch the app it puts me into free mode, it can't go into gamejam unlimited edition, apparently.

    Is there a way to get the gamejam edition into offline mode, or is offline restricted to the free edition?

    Thanks.

    Edit: Working on OSX Sierra

  • lunarray yup I think changing it to an overlap seems to work better already, it will help me figure this out, thanks!

  • Hello lunarray, first of all thanks a lot for your plugin!

    I have a simple question. I'm using litetween (1.5) to do a simple dodge in a top down a-rpg. Basically when you hit the button, the character moves a bit in the gamepad left axis direction.

    What I want to do is simply stopping the movement when I collide with a solid element. To do a collision check, I do a simple event like that

    The problem I have is that it doesn't really work, and if the tween is fast enough, it goes through the solid sprite without being stopped.

    Is there a more efficient way to do this kind of collision check, compatible with litetween?

    Thanks a lot!

  • Oh okay, I thought there was a problem somewhere. I'm a bit surprised. Thanks!

  • Hello everybody,

    I have a project that weights 6 mb, everything included: animations, event sheets, files, layouts, textures, .caproj, etc. My musics and sounds are .ogg only and don't weight much, all my textures are very very small, etc.

    When I export it to NW.js, using recommended export spec for PNGs and minifying the script, my exports (win32,win64, linux and osx) weight between 130 and 160mb.

    What happened here? Is that normal? What can I do?

    Thanks.

    PS: my html5 export weights 5,75mb.

  • Thanks a lot for your answer! I'll take a look in detail in your proposition.

  • Hello Magistross,

    I have few questions regarding your dialogue system:

    • is it possible to play a sound for each letter shown, like seen in some RPG (earthbound, golden sun, etc)

    Examples : Golden sun :

    Subscribe to Construct videos now

    Earthbound : https://youtu.be/Q7LGGMK8-WY?t=1m22s

    • Is it possible to add some text effects? Like shaking text, or wave animation?

    Thanks!