Marc456's Forum Posts

  • I want to move from one box to another box but I want the camera to move slowly and smoothly from one place to another.

    I read some tutorials but they all seemed to lack the exact coding I needed to write in.

    At the moment I have scroll from box to box by "Enableing" and "un-Enableing" their "scroll to" properties which works but it goes straight to the next box in one frame.

  • > You are using platform and 8 direction at the same time? Aren't those two colliding with each other or sort of doing unnessecary double work?

    >

    I use both at the same time because I have a ladder so when "Platform Behaviour" is disabled the gravity stops and the "8-Direction Behaviour" makes the character move upwards like he is climbing a ladder when he is "overlapping the ladder".

    As long as Max speed, Acceleration and Deceleration are the same it works fine.

    With any key down which makes the curser stop moving. I tried disabling lots of different things and nothing makes any difference, it needs to be turned off on my laptop settings.

  • Just a quick thought... are you on a laptop? As lots of laptops disable mouse input while any keys are being pressed.

    Just a thought

    This is the problem, I have a HP laptop and on a HP forum nobody can figure out how to turn it off so for now ill just add Arrows and ASDW.

  • I got this when I was asking how to change them a few weeks ago. I don't know if I am missing something else but when I push any of the ASDW keys it freezes the mouse and curser iv tried turning default controls on and off moving it to the top and bottom of the event sheet but its the same.

    (8-Direction Behaviour)

    *When Key "W" is down -- then

    • -> Player Simulate control "Up"

    *When Key "S" is down -- then

    • -> Player Simulate control "Down"

    *When Key "A" is down -- then

    • -> Player Simulate control "Left"

    *When Key "D" is down -- then

    • -> Player Simulate control "Right"

    (Platform Behaviour)

    *When Key "W" is down -- then

    • -> Player Simulate control "Jump"

    *When Key "S" is down -- then

    • -> Player (Fall Through)

    *When Key "A" is down -- then

    • -> Player Simulate control "Left"

    *When Key "D" is down -- then

    • -> Player Simulate control "Right"
  • Iv had to change my characters movement controls from "Arrow keys" to "ASDW" because that's how people wanted it.

    The problem now is:

    I have a miner character and when "D key is down" my miner moves right.

    But this stops my mouse and curser from moving which is used to mine by "left clicking" on the blocks.

    Also once I let go of "D key is down" there is a split second lag which is making mining much slower.

    With "Arrow keys" I could use the mouse and curser at the same time as the miner character was moving across the screen without letting go of the "Arrow Keys"

  • Its all working now thanks I copied your Platform Behaviours.

    The problem was because I use boxes pinned and positioned to my character to interact with things when they overlap. When I changed the 8 direction behaviour it stopped using one of the boxes so I had to resize the polygons on the character.

    I normally find if something gets changed then some conditions or events need to be changed as well.

  • It didn't work straight away because I am having to change some other events like "jumpthru platform" which is used to stop my player falling down ladders but now he cant get high enough up the ladder to get to a higher platform but it just needs the size changing a bit I think because this happened before.

  • Do I have to enter A to move left, D to move right and W to jump manually or is there an easier way?

  • freesound.org

    Try this

    This sites awesome thanks.

  • I have a Menu item with 100 objects and I want to remove one object with every mouse click but how can I make it so if the mouse click is held down for 2 seconds it will start to automatically count down without having to keep clicking?

  • Nice art work.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I added the *10 to the end and it worked.

    Event: "Mouse click on shop" Add Action: "Amount of money Instance Variables" Add to "Gold Bar Instance Variables*10"

  • My game is a mining game. When I have Gold bars I want to sell them to a trade shop in return for money.

    I am using instance variables so when I transfer my "Gold Bar instance variables" to "Amount of money instance variables" it will change "10 Gold bars Instance variables" to "10 Amount of money instance variables"

    I need it to change from "10 gold bars" to say "100 amount of money" so how can I make the instance variables multiply with each other?

  • Good Answer.

  • I want to add a monster character in my game. (Link Below)

    kongregate.com/games/Marc_456/trapped-miner

    The only websites I know where game art is free are:

    1 001freedownloads (Random artwork)

    and opengameart (free artwork made for games)

    Does anybody know any other free websites.