Dombrowski's Recent Forum Activity

  • Hello,

    I'm making a text based game where inventory is in "Inventory" layout.

    When players are reading, they press Inventory button and then game opens Inventory layout. Then I need game to remember that layout where player was when he was pressing Inventory button and open it.

    For example player is in Layout #3 and then he goes to Inventory layout and then when he presses back button, he gets into Layout #3.

    How to make it?

  • I've made a dialogue system for my game and it was working pretty well until I messed something up. I've just added "if talk = 3" expression and now it's broke for some reason. I can't find any problem in events, maybe you can help me, please?

  • Oh, it actually works! Thanks

  • It doesn't work

  • Wow, thanks! I'm gonna try this out in minutes!

  • Why use the list object for this?

    If the quest starts when the pistol is added to the inventory it seems unnescessary..

    I don't know how to use arrays and tutorials about array inventory are too complicated. List is much simplier and it's perfect for text games.

  • I'm using "List" as an inventory in my game. I want to make something like "if player has a pistol in his inventory, then quest starts". To make that I'm using "Compare item text at" in my event table, but it asks me for "Index" (where my pistol is based ny number in the list), player can find it in any moment in the game, not specific, so I want to make it read ALL numbers from zero to, for example, 99999, so wherever pistol is placed in a list, an event will occur. I can't find any expression that will read all the numbers. How to make it?

  • [quote:3qd5espi]When you want to import your file, be sure that every old files are deleted, and the events too, before reimporting.

    Hmm... Weird, still doesn't work.

  • Open the file in spriter, then export, and open it again in construct

    Still the same

  • Today I've bought Spriter Pro after seeing it on a Scirra's website and the problem is that I can't really import anything from Spriter into Construct 2. Seems like those two softwares don't work with each other but website clearly says that they do. Every time I'm trying to open anything, it says "Failed to read SCML file" and inserts a blank sprite. Can it be fixed somehow?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Select the event (not just the condition), right-click->Add->Add 'Else' (or select the event/condition and press X).

    It's worked, thanks

  • This is a common mistake. Don't break everything out into separate events, try to group them in a tree. The problem is when event 15 runs, you add one to Kielbasa. Then event 17 runs, sees that Keilbasa is 1 so adds another one, and again in event 18! Break the Keilbasa checks into subevents using Else, so only one gets evaluated at a time.

    On-touch

    Layer 6 visible

    Zloty>=500

    --> Keilbasa=0

    -->else

    --> Keilbasa=1

    -->else

    --> Keilbasa=2

    I can't add Else

Dombrowski's avatar

Dombrowski

Member since 30 Nov, 2014

None one is following Dombrowski yet!

Trophy Case

  • 9-Year Club
  • Email Verified

Progress

10/44
How to earn trophies