Juicy's Forum Posts

  • This is a way of doing it but it is just a quick demo. You can make it much smoother if you fine tune it a bit <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile" /> This way is super simple and without plugins. Took me about 2min.

    Live Demo

    https://dl.dropboxusercontent.com/u/100 ... index.html

    Download CapX

    https://dl.dropboxusercontent.com/u/100 ... ursor.capx

    That looks very tempting, but it doesn't really stop the mouse but the sprite thats connected to it. I fear that with this, the player might "lose" the mouse cursor as the sprite wont budge unless its within the designated area. Also theres a speed problem that the sprite cant follow the cursor fast enough if you draw it to the side real quick, resulting that the sprite stops before the side.

  • I noticed that plugin too, but not having used plugins before im quite at a loss as to how to use it. I got it installed allready but i dont know how to play with it?

  • Having a similar question, i hope no one minds if i pop up another question here rather than open a new thread. Can the mouse be locked inside a certain area in the game? i'd like my top down shooter to have a restrained angle of motion with the mouse cursor that acts as the crosshair. So basically i'd need a way to halt the mouse to say in a 45 degree radius from the weapon muzzle so that the player cant aim straight behind him without first turning to face that way.

  • i just mean that right now it has only those four movement directions, prolly will get only better if ill add another four directions to make the movement more fluid. But yeah, all in all thats beautiful!

  • that was it. Thats exactly what i was looking for, just didnt know how to do it It actually still bugs out a bit for some reason if you fiddle with it,the top part gets stuck for some reason sometimes, but this works for me though.

    Thats a great example to make it a "tank-like" movement, my guy is going to be a soldier so cant have that clunky movement going on

    my sincerest thank you!

  • I would be very interested about this as well but cannot find ANY documentation about it anywhere? I want to buy this like there is no tomorrow, but surely there has to be somekind of explanation how the thing works first?

  • So im trying to get this top down shooter off the ground and im trying to create a two part player body that you control the legs and upper body with different inputs. After a couple of ideas from the wonderful community, i got it to work really nice...execpt for the fact that the upper body now starts to vibrate after it reaches a certain angle value since it's coded to move to the direcion the lowerbody is pointing is it passes the set rotation limit. Could i maybe stop the mouse cursor that moves the upper body from moving over the set angle limit? or how can i stop the upper body from not going over the set angle? one thing i tried was to slow the turn angle rate to something small like 1 (its now at 10) so it wont jump so much over the set limit and would return fairly quick, but this has the dowside of making the turn movement uselessly slow.

    capx :

    https://dl.dropboxusercontent.com/u/73502848/turnshakes.capx[/code:f7knrxt1]
  • My jaw dropped on the floor when i saw this. Really? you can create 3d games with construct2 with this?? A quick search from google didnt really give much info about the addon so does soemone have info on how this thing really works? I'm taking a wild guess that if this works, its not so easy as just clicking a few mouse buttons in construct to get something solid, but you have to be quite advanced in construct to be able to use this?

  • Tried everything in my very slim book of tricks, but im still fighting to get this done. RamPackWobbles idea works like a charm, but it creates a jutter when the angle exeeds its limit. This can be minimized by lowering the degree amount that the object rotates, but this also slows the momement down. Its so close i can taste it, but still not there, so help..please.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I was playing with "is between angles" (see: ) a while ago - maybe this could give you another starting point ?

    That..actually works quite damn well ! The only issue i get now, is that the rate of turn is somewhat slow. I tried increasing the rotation from 1 to 10 which speeds things up, but also increases the jutter you experienced as well. Figured a way to stop this from happening?

  • I would really appreciate any pointers with this, i can't figure it out even though im pretty sure its something simple.

  • Mate, would you mind giving an update on your games progress at some point? as i said earlier, my game is rather identical to yours and would love to see what you come up with.

    Good luck!

  • um, not really sure if i can help, but this caught my eye as im actually doing a very very similar looking game cant you go on with the grenade just by giving it a slow speed towards the mouse pointer, a few seconds of wait and then change it to an explosion? then animate the bullet so it looks like your throwing it instead of shooting a slow bullet.

  • It actually seems to work in the starting direction allright, but as soon as you walk a different way, the upper body stops functioning right.Why is this? Im guessing the program gets confused on the angle of the player since the staring angle is 0, but when you start walking left. it changes to 180, so the upper body cant work on the mentioned +/- 90 degree angles? Or is it something else.

    ..why cant i post a file anymore ?? would be easier to show the file. Oh well..dropbox will do

    https://dl.dropboxusercontent.com/u/73502848/upperlowerbody/uplow.capx[/code:32p2rrld]
    
    I suppose it would be worth mentioning that im trying to make an isometric game if i get somewhere with this, so that will propably create its own problems too. im guessing id have to greate a frame to each individual turn degree or am i going this completely the wrong way? Im pushing for an isometric world with an alien swarm type of movement.
  • Hi,

    Im trying to create a player unit that has an upper and lower body, upper being the torso and lower the legs so i can set it upso that the legs canbe controlled separately as well as the upper body. Now it was a cinch to get it to work like a tank so that the upper body would rotate a full 360 degrees where the mouse points and moving the lower part with arrow keys. But id like it to have a constraint such as a normal body that it cannot rotate more than say 90 degrees to either side from where the lower half is pointing at. How would i get such a thing done?