Dont Starve like Gameplay? (Video Included)

  • Hi guys! I was trying to make a game with the character movement of Don't Starve and all that. If you don't know what the game is, look at this: youtube.com/watch

    Okay so I have the random forest generation down, but I cant seem to get the player moving correct. This is what I have:

    Bevar in the Wild! CAPX

    Apparently what I have doesn't seem to work well. Can someone check it out?

  • you have 2 options:

    -You want that the Player Sprite rotate depending of direcction? then you must change the origin of the sprite to the center, not in bottom

    -You dont want to rotate the sprite on moving? then set the angle in the 8 direction behavior to "no".

    Another thing is that tree hitbox its too big, try to put the collision hitbox only in the bottom part of the tree, not in the branches.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • What I wanted to do, is have that weird type of gameplay where he can go behind, next to, or in front of the trees. I think you can do that with layering and stuff.

  • What I wanted to do, is have that weird type of gameplay where he can go behind, next to, or in front of the trees. I think you can do that with layering and stuff.

    You need to right-click on the tree sprite in construct 2. Then go to the toolbar on the left (the one with pencils and erasers). On the bottom of that toolbar the last icon that looks like some lines and circles, click on it. Its the set collision polygon icon. From there choose parts of the trees you dont want to be solid.

  • Hi guys! I was trying to make a game with the character movement of Don't Starve and all that. If you don't know what the game is, look at this: youtube.com/watch

    Okay so I have the random forest generation down, but I cant seem to get the player moving correct. This is what I have:

    Bevar in the Wild! CAPX

    Apparently what I have doesn't seem to work well. Can someone check it out?

    Look at these two images:

    Step 1:

    imageshack.us/photo/my-images/546/tree1w.png

    Step 2:

    imageshack.us/photo/my-images/843/tree2a.png

  • Hi! This post was many time ago I know, but I believe that you wanted to do this:

    Video:

    Subscribe to Construct videos now

    Capx: (Please, paste this here: https://) www.dropbox.com/s/dac0y72zm860ydv/proto ... r.zip?dl=0

    Joysticks: "WASD" to move the character and "Q' and "E" to rotate the camera

  • fejaomaravilha

    May I recommend you update your version of C2.

    The version you are using - r221 - is from Jan 2016, so is extremely out of date.

    Your example also uses non-standard addons, which you may want to inform users of so they can open your example.

    Cheers

  • An example I created not so long ago:

    Limit player movement or walk area when it about to reach the border of layout to keep it at center. The problem is when the player reach the edge of layout. For fixing player control, some angle calculation need to be done. Use z-sort based on Y position to make object behind/over another.

    To actualy sort z-order correctly, we need to consider layer/layout rotation so it will picking correct relative y position based rotation. Here the solution:

    https://www.dropbox.com/s/1xbj1d26xldtd ... .capx?dl=0

  • zenox98 Thanks for advice. You are right, I made this example some years ago and I pasted the old link here.

    alextro Congratulations! Your .capx is awesome Thanks a lot!

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)