OddConfection's Recent Forum Activity

  • In my games I have a slider for Music and Sound volumes (affecting variables MusicVolume and SFXVolume), going from 0 to 10

    If it's 0 I stop all sounds or mute the music, and have a check to only play new sounds/music if volume is above 0.

    If it's 1 to 10, I set the volume to (2 * SFXVolume) - 20, since the volume parameter help says -10 is about half volume and 0 is full volume.

  • I posted an example capx recently, with a function you can copy and paste into your project.

    construct.net/en/forum/construct-2/how-do-i-18/how-do-i-add-letter-m-when-num-118349

  • I can activate the Steam Overlay UI, but I can't step in the Overlay UI since the mouse is still in the game no matter how I click...

    The whole UI just floats there and I can't shut it down.

    how can I solve this problem?

    heeroyuirh

    Did you include --in-process-gpu in the package.json file in package.nw, as per the instructions in the Quick Start guide that comes with Steam4C2? Only time I had the overlay mess up was when I forgot to add that.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The turret seems to be aiming exactly 90 degrees off from the enemy in that picture, which makes me suspect it's an issue with the image used for the turret.

    In Construct 2/3, 0 degrees is to the right, so the image of the turret should face that direction in the image editor.

  • Where are your events for when the Timer finishes? What do you expect the Timer to do if you don't specify something for it to do?

    Add the following events:

    Enemy: On Timer "searchingTest" -> Actions

    and

    Enemy: On Timer "SpotTest" -> Actions

    Also, you may be constantly re-starting the Timer every loop with your current events.

  • Good afternoon, I'm having difficulty getting M (million) K in my code, somehow simple, because I need it for more than one place, for example, I need the X value to be different from the Y value, but each one of them need to appear K or M if it passes a thousand or million, not 1,200,000.

    I would just appear for example 1.2M.

    Will I need to repeat the code in all the parts that will be made?

    What is the best way to do it? Thanks in advance

    You can use a Function to convert the number, then you just need to put a Function.Call(...) into your "Set Text" events.

    Here is an example capx: dropbox.com/s/ewwpxwd56xb6rhi/ConvertNumberToText%20Function.capx

    Add the Function object to your project if you haven't already done so, then copy and paste the Function-> On "ConvertNumberToText" event from the example into your project.

    Then everywhere you have Set text to CustoClicker replace it with Set text to Function.Call("ConvertNumberToText", CustoClicker)

    And everywhere you have Set text to Clickers replace it with Set text to Function.Call("ConvertNumberToText", Clickers)

    UPDATE

    I made a c3p example since the Function object has been replaced in C3

    dropbox.com/s/9tcry1jjyfomfkw/Number%20Function.c3p

  • >

    >

    > Check my answer in this thread:

    what answer, and where the thread? XD

    i need help too

    Change to new forum must have removed the link.

    Found it here: construct.net/en/forum/construct-2/how-do-i-18/how-do-i-add-letter-m-when-num-118349

  • Then what do you call "Level Zero tutorials" ?

    Please provide an URL to those.

    I'm assuming it's the ones from the book in the blog post here: construct.net/en/blogs/construct-official-blog-1/level-zero-free-construct-2-book-853

    There are links for the assets in the book, but they no longer work.

    Kazuma

    You could also look at Kenney's Assets for more.

  • You do not have permission to view this post

  • You do not have permission to view this post

  • Assuming it's the same in C3 as in C2, look for and select the "Layers" tab (bottom right), click the "Add Layer" button (has a + icon), select the new layer and look at the "Properties" window (on left) and find "Paralax" and set to 0,0.

    Select the anchored items, right click on them and select "Move to layer" and select the newly created layer.

  • Easiest solution is to create a new layer with parallax 0,0 and move your anchored items there, like mentioned in the link you shared. Is there a reason you can't do this?

OddConfection's avatar

OddConfection

Member since 26 Jun, 2012

None one is following OddConfection yet!

Trophy Case

  • 12-Year Club
  • Coach One of your tutorials has over 1,000 readers
  • Email Verified

Progress

14/44
How to earn trophies