LI0NHART's Recent Forum Activity

  • At start of layout use system to create your object and set parallax to 0,0 and make sure you layer is on the top :)

  • Create an invisible bar(titled background)and place it along the top,bottom,left and right of the screen, set it on another layer that is set to 0,0 parallax. It should stay put and have it collidable with your ship to shop it passing through.

    Hope this helps

    Edit: i see im too late

  • i would set up the bars at (lets say) 150 pixels apart on the y axis

    then upon pressing up or down the bartender would move that distance

    Exapmle:

    1st bar at 300 y position

    1st bar at 450 y position

    1st bar at 600 y position

    1st bar at 750 y position

    If bartender y position > 750 then set y position to 300

    If bartender y position < 300 then set y position to 750

    (this is how i did it for my zelda inventory navigation)

    and depending on what y position he is at set his x postion to the end of the bar.

    have invible boxes for all the posible places the customer could stand and have a pick object expression for them to move to it and then have it set to "occupied" or something so no other customer can use it.

    customers would also have a invisible box that when the drink overlaps it they would play their drinking animation, etc

    hope that helps

  • would like to know about this too :)

  • destroy mug object at begining of layout to solve the sound problem, i think you have to have objects in the layout, but hopfully that will be sorted in a future build

    There are lot of various easy way to do these but need more info on how your bar(s) are set up and how the bartender moves?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • thanks ethan, not sure i understand but ill give it a go :)

  • I have a NPC that chooses 1 of 4 directions

    0=(right)

    90(down)

    180(left)

    270(up)

    If NPC has chosen one of these already how do I eliminate it from the next choose expression.

    I've given the NPC a "lastdirectionpicked" value I don't know the expression to take away the

    set "directionmovement" to choose(0,90,180,270)

    Thanks in advance

  • Yes i understand your point, as i use this method for a sprite movement and agree, i did not mean it as a complete replacement but rather an optional choice.

    thanks for looking though :)

  • When you need to type a sprite's animation name into the event editor for whatever reason, it can be misspelled(sometimes not noticed by the user and causing event(s) not to work) or if you've forgotten one of its names. You have to jump out of the event editor and to the layout page to click on the sprite(s) to view its animation(s) list to view all the animation names. You then have to navigate back into the event editor to type it in.

    So although a bit trivial it would be a nice addition and can speed things up by having an "animation name list" of the currently selected sprite to which you can just click&select to be inputted into your logic/coding etc

  • Awsome debugger tool thanks to the devs :)

  • I've managed to get it working. I just deleted the ballistics variable 'ballisticscount' for the object and added it as a global variable instead. Don't understand why it only works that way, maybe its a bug.

    Thanks for the interest of help tho :)

    PS. would interested if anyone can figure out why it wouldn't work using the object variable though

  • The system tracks the amount of ballistics on screen and sets the ballisticcount variable to that amount(as circled by red). I only want 1 ballistic on screen at any 1 time. However when adding the check amount on screen condition (circled in green) it does not work at all.

    Here's the image

    image

    Here's the capx

    https://www.dropbox.com/s/ie3j1u4q12weny2/link.capx

    Hope this clears it up :)

    Thanks

LI0NHART's avatar

LI0NHART

Member since 11 Nov, 2012

Twitter
LI0NHART has 1 followers

Trophy Case

  • 11-Year Club
  • x2
    Coach One of your tutorials has over 1,000 readers
  • Email Verified

Progress

13/44
How to earn trophies