Dakiu's Forum Posts

  • Hi,

    I'm wondering (if there is I haven't find it), if there is a way to create game account, for example:

    Put a login screen, and then the user can log to the game.

    If not, there is a way to create links to webpages?

    For example: If the user press a button object send him to: hello.com

    I would like to add accounts to my game... but I don't think I can do it.

  • Hello Everyone,

    I am wondering if exist an easy-version to add multiplayer componente to a game (player vs player).

    Because, I have seen the examples of other users here in the forum, and I have found them a little complicated.

    They use the socketio and a lot of other stuff.

    So, I would like to know if exist an easy-way to add multiplayer, or... maybe a step by step.

    I am searching something not too complex.

    Regards.

  • Hello sqiddster thanks for your reply.

    But I didn't understand what events/actions use...

    Could you please give me a more detailed explanation?

    Thanks in advance!

  • Hello Guys,

    I am creating a platform game, and I was wondering how can I regulate the jump?

    I mean for example: In Mario depends of how long you pressed the button, how high Mario jumps.

    So, I would like to know if exist some way to do this.

    Regards,

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • �Te refieres a darle f�sica?

  • Yeah I know that can be one solution, but the point is that I'm thinking how to do a fighting game.

    Layout 1: Character Selection.

    Click on a sprite which represent the character and load the follow layout.

    Layout 2: Gameplay

    This is the problem.

    Because if I have an sprite for every character (each one have its own animations) I will have like 40 repeated events, this is why I am trying to figure how to use it family.

    A more easy explanation of what I want to do (or trying to do):

    • In layout1 I have a variable "characterselected" which is number.

    So, in the next layout I would like to do something like:

    If characterselected=1 Load on layout the Sprite1

    If characterselected=2 Load on layout the Sprite2

    So, basically I am wondering if there is a way to this, without to repeat like 80 events...

    I was searching and it seems no one has made a fighting game :(

  • Hello Everyone,

    I am testing the families, however I find something that I cannot resolve.

    I have a family with two objects inside Sprite1 & Sprite2.

    Then in my layout I added a button.

    In the event Sheet, I have.

    Button on Clicked: Create Object FamilyName   (with layer & position).

    Then I figured, that I cannot control wich object of the family will appear, for what I see is random.

    Is there a way to control this?

    I mean for example if I have two buttons, and the button1 is pressed create the sprite1 of the family.

    If the button2 is pressed create the sprite 2 of the family.

    I was thinking in a variable, but since I cannot give any value to the create object I discard that Idea.

    So any advice, recommendation ?

    Thanks in advance.

    Best Regards.

  • Hello,

    I just bought the Standard Edition, so yes, I have access to the families.

    I was looking this, but I cannot figure how to inherit the actions and all stuff.

    I'm referring specifically to what vtrix mentioned:

    "put all your character objects under a family "Player" for example,

    and then create all actions and events on this family, all character objects will inherit the events "

    I don't know how to do it, can someone give me an example of this?

    Thanks in advance.

  • Hello Everyone,

    I am making a some style of fighting game, where at the initial screen you can select one of the 3 characters.

    Then in the second screen I have a problem with the events, which basically consist that I am repeting every time the same actions.

    For example:

    If the character 1 is selected I have this:

    Keyboard D is down---> sprite1: Simulate platform pressing right

    Sprite1 have all the animations for the character selected.

    But, the problem is if the user selected another character I will need to repeat the same code changing only the object:

    Keyboard D is down --> sprite2: Simulate platform pressing right

    This is because, the sprite2 have all the animations for that character.

    So I am wondering if exist a way to reduce the events, and put the same in less events, and not repeating all this.

    Because -for example - if I have 40 characters I will need to repeat again 40 times the same event, due the 40 sprite objetcs are different.

    Any solution?

    Thanks for your help

    Best Regards,

  • Hello Brent,

    Thanks for your help.

    I have tested and until is working.

    So, for future events, I have to assume that the event sheet is secuential is checking event by event.

    Thanks again!

    :D

  • Hello Guys,

    I'm new on Construct2, this is what I'm trying to do:

    I have three sprites, which should be a character selection screen.

    This is my event sheet:

    imageshack.us/photo/my-images/402/eventsheetq.jpg

    As you can see, I have two sprites Sprite7 and sprite9 which are the portrait.

    The variable whoischoosing, is indicating the player that is choosing the character (player 1 or player 2).

    This is why there are two events for each sprite, one if the character is selected for the first player other if is selected for the second player.

    The value for whoischoosing when is 3 indicate that the two players choosed the character so is required a layout change.

    The problem, is when an user click on a sprite, immediately change to the next layout. Does not give the opportunity to the second player.

    • For what I understood - When the user click on a player a the value for whoischoosing changed, immediately call the next event without delay.

    So, Is there a way to do this? What is wrong with my event sheet?

    Any idea, clarification, correction, etc.. is appreciated.

    Thanks in advance!