AustinJM's Forum Posts

  • 14 posts
  • Make a layer called UI or HUD, and change the Parallax (Left Menu Bar) of the layer to 0, 0. Then put those control objects in that layer.

  • Okay. So I am trying to make a 2D Minecraft Game (probably not going to release it since that would be copyright infringement) with Construct 2. I am running into a difficulty with adding a block to the Inventory when picked up. I created 9 Player Inventory spots and 27 Full inventory Spots. To decide which spot to place the block pickup in, I created a different sprite for each block called (Block)BlockInInventory. Then I use "If (Block1)BlockInInventory is overlapping Slot 1, Create Object (Block2)BlockInInventory at Slot2.X, Slot2.Y." However, I would have to do this with every block and every slot in the full Inventory (there's 36!!). Is there a quick way to: Find where no BlockInInventory is overlapping a certain spot, and place the new BlockInInventory there?

    Example;

    DirtBlockInInventory is overlapping Slot 1, and OakPlankInInventory is overlapping Slot 3.

    Is there a way to tell Construct 2 to find where no BlockInInventory is overlapping Slot 2 without using an inverted "Is overlapping" at every slot? I tried using "Pick instance," but no luck. Maybe using Arrays in some way?

    I know this is a very long question and may be hard to understand the way I wrote it. However, if anyone can help, please do. (This question is aimed at an experience Construct 2 user.)

    Thanks.

  • gumshoe2029 I tried ipconfig but nothing with 192.168... came up. Only the 10.0.0.10. It never used to be this way until recently, maybe it has to do with my router then.

  • Is there a way to remove all the objects on a layout (I'm doing a Level Editor and want a "Delete All" button/sprite) without restarting the layout? Or do I have to individually "Destroy" each object with its own event?

  • In the past, I have been able to set the preview location to my IP address and then Run the project, type in "(ip):(port#)" on the iPhone, and would be able to preview game on iOS. Now, this doesn't seem to work. Does Construct 2 not do this anymore, or is it maybe a flaw in the iPhone?

    Also, Construct 2 lists my IP address as 10.0.0.10, which doesn't seem right (that means private network, right?). Don't most IP addresses start with 192.168...?

  • OK. Thank you zenox98 and Asmodean. In the past I have used 1 event sheet for all layouts and it worked fine, so I assumed this one would too. Thanks for the help.

  • Problem Description

    I have multiple events in my game that say "On touch (sprite/button), perform action" and the same with a mouse click. However, none of these seem to do anything. And when I try to touch/click a button (to go to a layout or perform action, etc), nothing happens.

    Capx

    https:/www.dropbox.com/s/ov4aso8pbl9ktok/NewPlatformer1-31-15.capx?dl=0

    I'm just sharing the full game with you that I'm making because it isn't working on this specific game. The bug can be produced in the "Level Editor" layout or the "Main Menu" layout. How to below.

    Steps to Reproduce Bugs

    1. Download and open .capx

    2. Go to Level Editor Layout

    3. Run the Game (Any browser)

    4. In Level Editor, Tap/Click on the first box in the top left of the UI, or click on the Grass Block in the first box of the UI

    5. It should turn the background of the first box to red, however it doesn't. The touch or mouse function doesn't seem to work on any of the objects.

    OR

    1. Go to Main Menu Layout

    2. Run the Game (Any Browser)

    3. In Main Menu, click on "Play" or "Play Game" or whatever the first button says.

    4. It should take you to the first level, but it doesn't. Touching or clicking a button doesn't seem to work either.

    Observed Result

    Nothing happens. For the Level Editor, the first slot you click on should turn red, but it doesn't. And on the main menu, clicking on the play button should go the first level of the game, but it doesn't.

    Expected Result

    I expected the results to be what I listed above, but they weren't.

    Affected Browsers

    • Chrome: (YES)
    • FireFox: (YES)
    • Internet Explorer: (YES)

    Operating System and Service Pack

    Windows 10 Service Pack ? (Couldn't find it/didn't know where to find it)

    Construct 2 Version ID

    Release 221

  • Whenever I try to preview one of my animations for a character sprite, the animation window is bigger than my screen and doesn't seem to animate correctly--it shows the first frame then goes blank for the rest (it comes back to the first if I have it on loop). Anyone else having this problem?

  • Whenever I try to preview one of my animations for a character sprite, the animation window is bigger than my screen and doesn't seem to animate correctly--it shows the first frame then goes blank for the rest (it comes back to the first if I have it on loop). Anyone else having this problem?

  • Everytime I set an event to go to a layout, whether it be clicking on a sprite or a button, nothing happens when I run the game and try it. I did just update to the newest release so I don't think it's been patched or anything yet.

    Steps to Reproduce Bug

    Add button or sprite

    Add event (When clicked on/tapped on Sprite/Button -> Go To Layout "(example)"

    Run

    Click on button/sprite, nothing happens

    Please help, and reply if you've had this problem too!

    Thanks

    Construct 2 r219

  • you might have to change the settings on your phone.

    I am an iphone user but there is probably somewhere in your phone's settings that says "sleep" or "close display" after a certain amount of time, or something like that. I dont believe that there is any way to do this in Construct.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Is there a way to move a sprite to where the coordinate is only a whole number without decimals, instead of having to zoom in on every sprite and fine-tune the positioning? Like if I copy and paste a block, it always seems to paste to a coordinate with decimals. Is there a way to move/paste a sprite on a whole number coordinate?

  • if you click on "downloads", your license should appear and a button should say download

  • I thought about this, and figured I'd try it out. If you notice though, the buildings in Chinatown and I and II are "3D." I couldn't find a way to make the buildings, but I've been able to make people and make the guy move and shoot (mainly the basics).

  • 14 posts