Html and android navigation arrow

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • Hi pl, i use active objects to make 8 direction navigational buttons in my html5 projects. The mouse click is the same as touch. Works on pc and smartphones.

    Mouse over object >
    User clicks on a object >

    edit: I haven't figured out the multi touch yet, so I use a double click or double touch (tap).

  • Hi pl, i use active objects to make 8 direction navigational buttons in my html5 projects. The mouse click is the same as touch. Works on pc and smartphones.

    Mouse over object >
    User clicks on a object >

    edit: I haven't figured out the multi touch yet, so I use a double click or double touch (tap).

    Hello,
    I want to use an active object to advance a character using the eight direction movement (android tablet). I don't want to use the joystick controls. How do we do it?

    Thank you

  • do you want to use a character who advances with eight directions, but in the end how many directions would you like to use?probably three, one to jump. I created a perfect touch screen tutorial for Html games and more, minimizing events (3)Please login to see this attachment.

    Edited once, last by janpier (April 27, 2020 at 10:16 PM).

  • Curious, this thread does not show up when I sign in, only if I sign in while viewing this thread :o ....

    Hi pl, here are the basics that I use for html5 touch screen eight direction nav buttons (not button but active objects). These will also work on a pc using mouse click. This method keeps your player moving while changing direction (constant touch / click)

    FRAME
    Active object:
    Player
    Movement Properties
    Type> 8 direction
    Direction> select all 8 (all 8 should already be selected by default)
    Runtime Options
    Enable Automatic Rotation (You only need one direction for Walking with this enable)

    Active object (8 active objects total, used as nav buttons):
    Navigation Buttons (I name them bt000, bt045, bt090, etc)
    Movement Properties
    Type> Static
    Runtime Options
    Uncheck follow the frame (this floats the active object nav buttons in one screen location while scrolling)

    Counter (I use a counter to set the speed for all buttons)

    CONDITIONS
    1) Start of frame
    set counter to 20

    2) Player leaves play area> Bounce

    3) Mouse pointer is over bt000 (active object used as button)
    +Repeat while left mouse-key is pressed
    + X Player is bouncing (Negated)

    PLAYER Direction > select direction to -->
    PLAYER Movement > set speed to counter speed
    PLAYER Movement > Start

    Repeat 3 for each remaining 7 active object nav directions

    I haven't tested this html5 on IOS, Mac or Console browsers. They this does work on PC, Android and Kindle browsers. As I mentioned earlier I haven't incorporated multi touch so I use a double click/tap condition to launch while moving.

    Here is a link to a widget thread made for android on clickstore. Don't know if its html5 based.

    Please login to see this link.!

    Hope janpier, myself and the widget helps.

    edited: I wanted to note that these are not the button objects, but active objects used as navigation buttons :)

    Edited once, last by twister (April 28, 2020 at 5:41 AM).

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!