toralord's Recent Forum Activity

  • For each frame of the animation there is a mask frame.

    Show just do what David did in his video for each frame and it will work.

    doing this is really good for oddly shape frames that changes height or width in an animation.

    And yes, "Copy collision mask to each frame" will add the collision mask to

    all the frames in that animation set "not all the animations". so pick the mask frame you want for this. this is good for animation where the frames shape don't change from frame to frame and is centered.

  • I played it, love it. You should keep this in your sequel list.

    I want a part 2 of this game or evil rhino face monkeys will rain down upon you with the intensity of a billion sun.

  • Thank you. This is a nice start. I can't wait to see more.

  • when i try to open it an error comes up saying

    [quote:230emgzx]The effect file 'Constrast Plus.fx' is required to open this file. Please locate it and put it in your effects directory under your Construct installation.

    what is this.

  • I don't see anything in the second demo other then the back ground.

  • You should use this.

    Every tick
    if state = 0
      - do this event[/code:1fxbs5bn]
    This way it will check it once per frame.
    That should do it.
  • Okay I really don't under stand what you what.

    show I would like to ask you some questions to better understand what you need.

    1: What you need it for/ what kind of game are you making?

    2: is this for a playable character or NPCs?

    3: do you need it to follow in a certain path continuously or do you need it to stay in a straight line continuously?

  • great find. I am shocked to see this.

  • Yes I will work.

    It will do it randomly just like the game maker switch statement you linked to.

    Thing about this cap and the game maker switch statement is that the low the range of values to check the more likely is going repeat it self but it will eventually check the all values.

    This kind of code is good for dialogues( character saying more then one thing.), guessing games, casino games, puzzles game, but mostly dialogues.

    I made a cap to show you an example.

    http://download71.mediafire.com/m2faimr ... witchs.cap

  • What is the best way to check multiple values against a variable? For example, if I have a private variable "state" and in my event sheet I have:

    if state = 0

    - do these events

    if state = 1

    - do these events

    if state = 2

    - do these events

    ...etc, for maybe 30 checks on the value of "state". This seems inefficient because if state=0, I don't need it to also check if it equals 1 through 30. I believe the switch statement from Gamemaker is similar to what I'm looking for. Is there anything like that or a better way of doing these checks?

    Thanks!

    I think this is the best way to do It. Just set state to random.

    if state = random (0,2)
       if state = 0
          - do these events
       if state = 1
          - do these events
       if state = 2
          - do these events[/code:1ev38f9e]
    
    This way it will switch the value. 
    Hope this help you.
  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • actually, npcs in real rpgs don't travel between maps, they just move from one location to another based on story variables or whatever. I just want to inform you that making an rpg is pretty difficult.

    Actually ever seance PS1 Rpgs have been doing this with a day and night timer to make there world feel more realistic.

    True adding this is very hard and difficult. That why you don't see many game

    with this feature.

    Well, my NPCs aren't just gonna stay in one layout for I want them to act more realistic than just stand in one spot or move around in a map for the rest of the game. I know indeed that RPGs have not been made in Construct yet thats why I'm starting to make one. If I don make one successfully, I would probably boost the interest of others in using Construct.

    BTW, when a game in Construct is running, and that a layout is being played, are other layouts running too? or just on pause or standby or something.

    If my NPCs were to travel between layouts, I would probably need a RealTime system or something to monitor them all.

    I would think the other layout would not be running.

    But you should test this out.

    Maybe if you have the map like Zelda (like one big ass map and break it down into sectors) that might work.

    and the other way I can think of is calculate the position of the NPCs based on a timer.

    I have notice that some game that do what you want have a day and night timer feature to it. Their is now doubt in my mined that they do it with a day and night timer,

    and this would be your best bet for making this work.

  • I made a example for you.

    http://download923.mediafire.com/qbn92m ... e/time.cap

    Press the A key to start the timer.

    It is ascending up to infinite or in this case all the number reach 0:00 and count up again.

toralord's avatar

toralord

Member since 28 Apr, 2009

None one is following toralord yet!

Trophy Case

  • 15-Year Club
  • Email Verified

Progress

16/44
How to earn trophies