VertexZero's Recent Forum Activity

  • without using the timescale. On my project I simply did it via animation and waiting for a signal + states.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I suppose you can use wait for signal instead?

  • To explain myself better (hopefully lol)

    I need to retrieve info about layout in which an object is placed.

    All I can see for now is go to layout by name or go to layout, but if it would be possible to lead me into another direction it would be appreciate.

    The reason, in my project there will be a good amount of doors, game is a 2D side scroller.

    Thanks!

  • Hi,

    So I managed to sort of resolve my problem with doors.

    Now, I would like to transition between layout using a database. is it possible?

    I have 5 doors in the same level leading to 5 different layouts, and since I can come back to the first layout, I would like to find the best way to do it.

    I couldnt figure out how to do it using variables.

    Thanks in advance!

  • This is how I do it, hope it can help

    https://drive.google.com/open?id=0B27TG57JCwl_czhVd002Ylgwck0

  • ah thanks rexrainbow

  • , I'm really sorry to ask again.

    I'm trying to understand how it works (really new to me).

    Basically, I'm trying to compare if the name of a doorObj is located in the csv table. If true then load the corresponding values to that object such as xPos and yPos.

    so then I can populate the instance variables of the doorObj.

    For now I'm trying to go like this:

    CSV Data doorObj.dooID in col ''d'' --> ( if true here I would add the info from the same row but here is where I block)

    Sorry and thanks in advance

  • , wow, you are awesome! Thanks!!

  • Hi rexrainbow, great plugins btw! and thanks!!

    I got a small question:

    Is there a possibility of comparing if the value of an instance variable of an object equals one within a col or row?

    exemple. I have a door and in an instance var I store the value of its ID. can I compare its ID by doing a lookup in a col within a csv table?

    Thanks in advance!

  • Perhaps by creating a state triggered by pressing X condition. Once triggered, event is executed, once this event is executed, close window

  • keyboard On key X pressed --> Browser Close

    you mean to close the window, or maybe you meant fire an event after the window is closed?

  • Thanks Fidasx

    I have doorID so I can set the idor each door independently. Also I store their xPos and Ypos. But what I would like to do is retrieve this info instead from a database.

    So, when I press X to enter a door, it determines the door IDs and after obtaining it, it looks into a database to retrieve the proper xPox and Ypos so I can set them for the Player in the new layout.

VertexZero's avatar

VertexZero

Member since 13 May, 2013

Twitter
VertexZero has 1 followers

Trophy Case

  • 11-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • RTFM Read the fabulous manual
  • Email Verified

Progress

15/44
How to earn trophies