Evdog's Recent Forum Activity

  • Is there a way to move one cell right, relative to the last cell displayed? For example:

    Global Number ActiveDialog = 1

    On Group activated,

    • Set text to Dialog.At("FirstColumnWithDialog", ActiveDialog)

    On 'next' button clicked,

    • If Dialog.At([One to the right of the Current Column], ActiveDialog) = ""
      • Set Group deactivated
    • Else
      • Set text to Dialog.At([One to the right of the Current Column], ActiveDialog)

    I was hoping to use this to break up a single character's dialogue into smaller parts, but have them continue one after the other. Otherwise, the CSV is going to end up incredibly long and very thin.

  • I tried the "Menu Object - Pick Nearest to Marker.X, Marker.Y", and it worked like a dream. The family also got switched to a "Pick All", as I had not known about that prior, and that's one less thing to worry about.

    I also found that the marker would not return to the top position after switching menus, so I added a

    • Menu: MenuPosition=MarkerPosition
      • Set MarkerPosition to 0

    to any selection that switched between menus.

    It's all working just as I had hoped. Thank you very much, oosyrag.

    Capx for anyone who needs it: https://drive.google.com/open?id=0B9cfa ... Ed4V01vWEU

    I've added a bunch of comments to help explain what everything does, so it shouldn't be too hard to figure things out.

  • Alright, I've tinkered around with your .capx a bit: [removed as the finished .capx is now in the original post]

    I initially had a bit of trouble trying to give each menu item a unique name, but I found that if I changed the "append loopindex" action to "Set text to Array.At(loopindex,0)", I could have all the menu selection names listed in a 2-dimensional array (Y=0 for main menu, Y=1,2,3,etc. for submenus).

    I was able to create unique events and actions for each individual selection, with touch controls, by using:

    • On touched "Menu"
      • Text is "(name of selection)",
        • do stuff

    Though, I'm still having trouble getting keyboard controls to replicate what I've done with the Touch Input. I tried:

    • On "Return" pressed
      • MarkerPosition = (0,1,2,etc.),
        • do stuff

    but then they wouldn't change for submenus.

    Any ideas?

  • Thank you heaps! I've got the main menu working perfectly now, both with touch controls and keyboard.

    I haven't yet tinkered around with making submenus, but I will give it a go either later today or tomorrow. I'll let you know, once I do, whether I got it sorted (in which case I'll put up a .capx for anyone who stumbles upon this thread later on) or if I still need help.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • EDIT: Here's the .capx: https://drive.google.com/open?id=0B9cfa ... Ed4V01vWEU

    I'm trying to figure out how to get the cursor to move up and down between selections on a title screen, according to user input. Here's a gif I put together from stills to explain it visually:

    Getting it to work with touch input was super easy. It was just:

    • Touch - On Touched NewGame
      • Go to the game
    • Touch - On Touched Quit
      • Close Browser

    etc.

    But I can't seem to figure out the events and actions to make the above gif possible. More than that, I want it to be so that, if the user were to select options or continue, and another menu were to show up, they'd be able to have as many options as is present in the options or continue menu, not just limited to four like the title screen.

    Does anyone know how to achieve this? Many thanks in advance.

Evdog's avatar

Evdog

Member since 3 May, 2016

None one is following Evdog yet!

Connect with Evdog

Trophy Case

  • 8-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

10/44
How to earn trophies