Are you interested in a fighting game tutorial?

0 favourites
From the Asset Store
A well commented fighting game template to learn from or use as a base for your own game!
  • Yes, im still interesed about this

  • Why do you need two families for that?

    You could make text variable for family ie. "playerselect" and set it to Player1 or Player2 whenever you need to set character to specific player.

    And to avoid code repetition You can use Function object - it's a life saver :)

    shinkan I tried but didn't work

    create sprite1 (which is already in the family)

    set family.variable = 1

    create sprite2 (also in the same family)

    set family.variable = 2

    but it affects both objects, not as it works for sprites or other objects with the same event above.

  • I'm giving up to the idea of duplicating the sprites since nothing so far is working

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • example.capx

    It would be much better if You could create objects by name in expressions... but still it's working fine.

  • shinkan Hi, thanks very much, I think I'll give it a try but I'm having trouble picking instances.. specially for testing collisions and assigning vaues for variables because the code reference to the family, and when the condition is true it will pass the value to all members of the family

  • You need to specify to which family instance you want change/do something.

    For example. If you set family text variable called "name"

    and you set that variable for all sprites in this family to

    sprite1.name = "john"

    sprite2.name = "ben"

    etc...

    you can pick any instance you want by "calling" their name.

    +family.name = "ben" - do something for this instance only

    +family.name = "john" - do something for this instance only

  • mm I see... I'm getting some ideas on that, that would need a total re-shaping of the collision system but, since it will help me in the Character selection, I think it's worth giving it a try.

    As soon as the collisions is solved I'll start the videos

    I wanted to do that at the end, to avoid extreme code changes from video to video, but as this is just the base, it's better if I can get feedback or optimization

  • Sounds great so far! Keep up the good work... My only issue is I don't see a link in the initial post, was it removed during the last update?

  • I'm interested.... actually I'm doing a bet'em up and I'm using the tutorial from Consruct 1...

  • BluePhaze the link is any of the images

  • <img src="smileys/smiley10.gif" border="0" align="middle" /> <img src="smileys/smiley10.gif" border="0" align="middle" /> <img src="smileys/smiley10.gif" border="0" align="middle" /> <img src="smileys/smiley10.gif" border="0" align="middle" /> <img src="smileys/smiley10.gif" border="0" align="middle" />

  • I must be going blind in my old age, is there a link to the game?

  • ShabbyCat click on any of the images

  • Ah I love it, good work very nice

  • wow, cool example!

    I'm really interested if you can make the tutorial for this.

    Good job! :)

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