elafreat's Forum Posts

  • Don't forget to reset the time variable when it's no longer overlapping! Unless you want the seconds to stack.

  • dop2000 This is so great! Thank you.

    I've no idea why I always never think of using arrays and strings at the first place.

  • Hi, I'm trying to remake the gameplay of the puzzle game called Loop in C2 but I can't quite figure out how it's done.

    The goal of the game is to rotate some shapes in order to fill the layout with only looping kind of shapes.

    This was my basic attempt at creating the mechanism, but I can't get it to work correctly...

    (This will be invisible after all and will pin a sprite over each box, the black boxes where the beginnings and ends of a shape like the straight lines in the middle and circles at the sides)

    I tried to check if a black box was overlapping another black box at an offset and set them both to connected then later on check if all boxes are connected, but that doesn't work as it picks only one of the boxes.

    How could this be done? Is there a much easier approach I'm missing?

  • dop2000 Thanks, never used return values before but seems pretty less confusing than what I have.

  • dop2000 but that'd still spawn different colors than the ones needed for the levels or it would not spawn anything in case of r={7,8,etc.}

    This is what I've reached so far for color Blue (They're currently 3 shapes only)

    Would this even work? Should I continue for the rest of the colors or is there a better way of doing this?

  • Hi, I've recently been trying families in C2 and I found out you can't edit them during runtime which is bad considering what I'm trying to achieve.

    Basically, I've 16 sprites (4 shapes, 4 colors) and I want to determine which ones to pick on spawn Family.

    The 1st shape in its 4 colors is unlocked so the player can play the levels, the other 3 shapes will probably be an IAP.

    The level itself determines which colors to spawn according to the colors of the exits.

    So for example in level 1 I want Yellow and Blue to spawn so that becomes 8 sprites but if the player hadn't bought the rest of the shapes it'll only be 2 sprites.

    Sorry if I make it look confusing if it's not already is.

  • Here's an example,

  • Is this what you're trying to achieve?

  • Have you tried using the behavior "Jump-thru" instead of "Solid" for the green platform?

  • It depends on what platforms you're planning to release your game to.

    For example, If your game is planned for android devices, go for a lower resolution as 1440p isn't that common, only new flagship phones have that, and you don't want to aim for those only because they're not a big % of the market.

    If your assets are vector (not pixels) I'd recommend you to go with 1280x720 as that's a common resolution, and for the phones that have a different aspect ratio, you can use Fullscreen (Scale-outer/Scale-inner) depending on your game and/or preference.

    This might seem frustrating at first but after you understand how it rolls, you'll get used to it.

    Even if you're planning to release it on PC, 1440p is not ideal, yet.

    You can read some useful information about this in Ashley's tutorial. (Which I can't link, on mobile)

  • Hey everyone,

    I'm making a mobile HTML5 game and in the beginning I want to ask the user to rotate his phone into portrait mode and then touch the screen so it requests full screen.

    I have a black layout with the text but I was wondering how to make the loading layout the one after that.

    I was thinking that I could write it on the loading screen but since I'm using scale inner only after the full screen request I don't want to get things messed up on the loading screen...

    Is this possible somehow or I should try to do it inside the loading screen?

    Thanks

  • mindfaQ I guess I'll go the basic animation way I was trying to avoid then.. Thanks for the help!

  • Hey. I've been working on a project earlier and I've two folders of the same sprites but with different colors...

    I'm trying to do it so if var = 0, it loads the sprite from "right" folder.

    If var = 1, it loads the same sprite from "left" folder.

    I've tried using folders in project files but after exporting, all the sprites are added together in the root game folder...

    So I tried loading a sprite from "\right\image.png" and after exporting, I add the "right" folder to the game's folder, didn't seem to work for me..

    Am I doing something wrong or there's another solution to choose one of two sprites for every object on the layout on start of that layout....

    Thanks

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • If you still haven't found anyone, I'm available.

  • Hey lamar

    Do you mean to dump the platform behavior and use bullet with gravity?

    I'm trying to make it either move left or jump towards left. No changing directions or anything.

    It moves for around a second then stops for 2 seconds. Or it jumps and waits for 2 seconds. But this is what I'm getting : (GIF http://imgur.com/Ca1bHD0 )