Resticted Movement?

  • #10, z afrlmeSaturday, 25. May 2013, 18:32 hodinky 12 years ago
    if you are doing it like that then don't add the way point paths other wise you can click outside of the borders.

    is your whole game going to be horizontal based like this?

    Imperátor

    7285 Posts


  • #11, z SDMonoSaturday, 25. May 2013, 18:40 hodinky 12 years ago
    Yes the whole game is going to be horizontal based. The way point solution could work if I were able to create non-clickable areas. If not I will have to go with the script solution. Or I could build a transparent OBJ and make it so that when you click on it the character stops and use that as a "non-clickable" area. Hmm

    Fanoušek fóra

    148 Posts

  • #12, z afrlmeSaturday, 25. May 2013, 19:08 hodinky 12 years ago
    all areas inside of the way borders are clickable no?
    so simple solution is: only use way borders & no paths + you can create additional way borders inside of the main borders (ctrl+left click to create new border/path - I think - I've forgotten the shortcut) to prevent the user from clicking on certain areas of the scene.

    using the arrow keys as controls could work quite well for sideways scroller I think?
    you can use left/right keys for movement & assign the up key as the action key (the action key part would take a bit of setting up though) - just a thought smile

    Imperátor

    7285 Posts

  • #13, z SDMonoSaturday, 25. May 2013, 19:08 hodinky 12 years ago
    Ok the way point solution works great!!! When I have something more to show of my game I will post. Thank you for all your help!!! smile

    Fanoušek fóra

    148 Posts

  • #14, z SDMonoSaturday, 25. May 2013, 19:11 hodinky 12 years ago
    Just saw your post AFRLme.... sounds great... have to check it out... playability and so on. Maybe use both input methods mouse and keyboard.

    Fanoušek fóra

    148 Posts

  • #15, z SDMonoSaturday, 25. May 2013, 23:17 hodinky 12 years ago
    Ok... it seems that the movement with the mouse is working great. Here a little screenshot of my game... the character is just a placeholder. I am sure are few of you recognize him from somewhere. smile

    Fanoušek fóra

    148 Posts

  • #16, z afrlmeSunday, 26. May 2013, 00:31 hodinky 12 years ago
    yup smile

    ahh I understand what sort of game you are making now.
    so what happens when you click higher up on the scene to make the character walk?

    I wonder if David or Alex could add a little option that can be selected via the main game settings panel of the editor for declaring if y position of destination should be ignored - for people wanting to make horizontal only based games... I'll ask David later if it would be too much hassle or not to implement as it is something that could speed up workflow for some people rather than having to arse around with work-around methods.

    Imperátor

    7285 Posts

  • #17, z SDMonoSunday, 26. May 2013, 17:53 hodinky 12 years ago
    When I click higher up the scene the character walks to the nearest way point. It works perfectly... no problem at all. I still think it would be a great idea if they could implement an option to restrict the movement into the settings of the editor. It would make a lot of things easier.

    Fanoušek fóra

    148 Posts