rekjl's Recent Forum Activity

    There are plenty of games that inspired me, Double Dragon, Contra, Golden Axe, Shinobi,....but the one that really changed my perception, Final Fantasy 7. This was the game that made me go "Wow, how do you actually make a game like that?"

  • I still remember how half the neighboorhood children gathered at a friends house who had just gotten an Atari just to watch and take turns playing Pong. Haha we probably finished their months supply of snacks in 2 days <img src="smileys/smiley17.gif" border="0" align="middle" />

  • Hi everyone,

    I want to create a small menu bar on the left, with a few buttons. The buttons at the start of the level is determined by what power the player chooses, which is why I can't pin the button to the menu bar as they will be different. I am designing this to be used in scale outer mode.

    I anchor the menu bar to the left, than created a few image points on the menu bar for where I want the button to be. I use:

    On variable()

        create object ()

        set position to image point ()

    So here is what I found.

    It works fine in scale outer, but when I test it in the standard letterbox. It constantly creates that object. But if I place a "trigger once" event with it, it doesn't work anymore in both modes, both buttons do not appear. I tried a "on start of layout" event with it, and this time it only worked in the letterbox mode and not the outer scale mode.

    For both cases, I checked the debugger and noticed that in the scenarios where the buttons don't appear, there aren't any instances of it during the game.

    Since I am ultimately planning to use Scale Outer mode, I guess I have already found a way to get it done, but I am curious as to why the different results even if the events are the same?

    Or is the method I am using wrong, and there is a more effective way to get the desired effect.

    Thanks guys!

  • Not wanting to bring up an old post, but this post really helped me!! I was having the exact same problem for the second part.

    Haha I kept thinking that I must have typed the layer name wrongly.....even though the layer name is Objects <img src="smileys/smiley17.gif" border="0" align="middle" /> Anyway, changed to the layout number and it worked perfectly.

    So far, only two events have this problem in my game which deal with that layer. The others work fine though.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • farieh

    Yup, blackhornet had mentioned it as well. Thanks again for your help!

  • blackhornet

    Thank you so much!! It works perfectly.

  • farieh Thanks for your reply.

    I can't get it to work. I have a lot of objects that are created during the game, so in the create objects event, I specify the layer it is created by the layer number. I tried to enter the name but it says unknown expression. Perhaps I am doing it wrongly?

    If I could specify it by layer name, it would definitely help.

  • Hi everyone,

    I was using the free version until just recently, so my layers were limited to 4. 0 and 1 for background, 2 for objects and 3 for HUD. Now that I've upgraded, I want to another layer for my background.

    However, events in C2 only recognize layers based on their number id not layer name. This is a big problem since background layers need to be at the beginning, and to add another background layer would mean my objects and hud layer numbers are all +1.

    I am really hoping that manually changing every events that are affected by the layers is not the only solution. Is there is an efficient way for solving this problem?

    Thanks!

  • Really good! Haha can't wait for more levels!

    Not sure if you noticed, but when initially loading, I can drag the middle loading bar around.

  • yankee1950

    I am not sure about plugins, but using a sprite as button is just a littleeeee more work, but can give you nice effects.

    Just create a sprite with how you would like the button to look like. You can than create different sprites of that button with different effects if you want, for example grayscale or glowing text.

    You can use the mouse event, when "curser is over object" and have it switch to another sprite for some nice effect, and than use the on object clicked to run the main button function.....and switch to another sprite for additional effect if you feeling like it :)

  • If it is lost, try searching the entire computer using the search function by entering the file name.

    If you've accidentally deleted it, there are ways to retrieve it, but it is quite technical, so you will have to research it and find the best method that you think is suitable.

  • Hi yankee1950. I tested it out, and everything seems ok in my browser. I can see the chessboard and button as well. I am using Chrome browser by the way. What browser are you using?

rekjl's avatar

rekjl

Member since 13 Oct, 2013

None one is following rekjl yet!

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies