Weleavefossils's Recent Forum Activity

  • I wonder if you could capture the actual time and store it as a variable. Then compare the real time with real time + 5 minutes.

  • Can you add some links to the tools you used? Curious to see what features yet offer.

  • I'm looking to creating a simple dialog system that when approaching an NPC it displays a icon that indicates to press a button to talk. When doing so, I want the screen to pause until the dialog is finished and the user presses the key again.

    Would like to create it as a function so that I can have different NPCs call it with a message ID and assuming a message table to contain the message text.

    Can anyone recommend a simple way to do this or recommend a tutorial? I seem to struggle with finding tutorial that meet my needs.

    Thanks!

  • I would just make a counter, and every tick would add 1, and make a condition that if counter greater then a certain number, when player is on the floor, trigger once the damage stuff and reset counter.

    Thanks megatronx.

    I went with your idea and it seems to be working well. For anyone who may look at this thread, here are the steps I used:

    [attachment=0:27dskqli][/attachment:27dskqli]

    When falling from a large distance, the player will flash and loose 1 health.

  • interested in seeing how this was executed. I understand that VectorY can tell me the fall speed but how can I use that to determine if/when to trigger damage?

  • Sigmag thanks so much for all the details. I feel so OCD about resolution and image scaling.

  • I do have a quick question about scaling down. I noticed that when I do, it's jagged (and this maybe due to the fact that I'm set to point sampling). But is there a easy way to scale in C2? I've been doing my scaling outside of C2 and re uploading each time which can be time consuming.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • This is very helpful. Thanks!

  • Construct will never run the "set position to" event because it goes to the new layout first. Even if you put the event before going to the new layout it still won't work because it will move your position in the current layout.

    You'd have to set the position using the new layout's event sheet using "start of layout" events. It might also be better to store the position you want to start at as "global" variables especially if moving back and forth between layouts, so for example when you collide with your trigger:

    Set global variable startxpos=1066

    Set global variable startypos=603

    Go to layout "Room 2"

    And in "Room 2" event sheet something like:

    Start Of Layout

    Set position to startxpos & startypos.

    Obviously it's pseudo code and not the exact events but you get the idea.

    Thanks for the help. Global variables are my new best friend

  • Current have 2 Layouts. I have a "trigger" setup when my player collides that it will switch the layout and set the position of my player. The issue i'm having is that when i try to go back to my first room, it's placing my player at the beginning instead of the position i'm specifying. Can anyone help provide some insight on what i'm trying to do or recommend a tutorial?

    [attachment=0:2p21ep0a][/attachment:2p21ep0a]

    Thanks!

  • Hello from Pennsylvania. Previous Game Maker newbie and looking to learn Construct 2.

Weleavefossils's avatar

Weleavefossils

Member since 12 Jul, 2014

None one is following Weleavefossils yet!

Connect with Weleavefossils

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies