help with platformer weapon changing

  • so i got an inventory working , but i wanted to ask if anyone has a better idea on how to change weapons cuz the way im doing it its a lil bit complicated and long xd so heres the capx - dropbox.com/s/ipq9pe29iqtdcy6/platform.capx - i removed the "htt..." cuz i cant post links yet :c please help C:

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Realistically what you have is alright, but I'm thinking a bit of Regex magic might be in order, I'll have a shot and pop up a CAPX as soon as I'm done

  • First off, there were numerous issues with your layout. Not least you had the stretched the size of the inv sprite, and assigned imagepoints that were not only too close to one another so that when the select sprite was over one weapon it was over another, but when it was stretched it was on a decimal X,Y position (i.e. 302.5, 272.5)

    I have modified it so that the spacing is sufficient for you and that you can easily change it by altering a few numbers in the move inside inv group. I have also renamed your mono spites animations so it will allow the game to flow nicer, given the way in which animations are selected, and finally I have cleaned things up a bit, but not to a degree where the changes made will confuse you too much.

    https://dl.dropboxusercontent.com/u/108 ... eapon.capx

    P.S. I didnt' need to use Regex magic given what I did.

  • thanks man , btw is there a way to like "attach" the sword to the character instead of making all the animations?

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