lionz's Forum Posts

  • Play tutorial only when a global variable = 0, then set global variable to 1 when the tutorial is finished. Also I lol'd at 'help me immediately' good job :)

  • I didn't mean move it up there. I meant add an extra action to on space pressed 'Text2 set text to ""' i.e. blank. This clears out the previous text.

  • Post a screenshot of the events rather than type it out so I can see what you did.

  • If it was a mobile game you would have for example a limited number of save slots i.e. visually represented as slot A, B, C then allow the player to save to slot A. Then when you start a new game and save you would give them the option to save in slot A and overwrite the previous save game or save in slot B or C.

  • You can create another slot if you want or overwrite that same save slot. Save storage can be deleted but not with game events, you would choose to do it as a user from the browser.

  • Whenever you press X set text2 to "", otherwise it uses the length of the previous text that was there.

  • I've never heard of a button in a game that would 'reset the game', what are you trying to do? If you're talking about starting a new game then I don't see what that has to do with save slots.

  • When you press one of the keys, start a short timer. If the other key is pressed before timer hits 0, then perform the attack. If the key is pressed outside of the timer (too slow) then you would just see the normal attack for that key.

  • What logic have you used for the drawing?

  • How come you didn't use comic style for the graphics in the game? I guess a point and click is easier for those graphics, but may still work with a beat em up.

  • Salman_Shh you crazy ^^ haha nice game ideas.

  • At end of round set global var 'Winner' to C or L

    If 'Winner' = C, spawn C objects, else spawn L objects

    For rounds you could use more global variables or an array to store the winners.

    In an array 1,0 would be round 1. 2,0 would be round 2.

    With the array as size 1,1 you can push the winner C or L to the back of the array.

    You could use that logic to display the winner C or L based on item pushed and link the X so 1,2,3 etc to the round display. The reason I mention arrays is because you can easily alter it in future if you want best of 5 whereas global variables would mean well more global variables and not really minimising code.

    For number of wins, you can again use global vars or an array.

    2 global vars Cwin and Lwin, if winner = C add 1 to Cwin else add 1 to Lwin

    Or using an array you search for how many times C or L appears.

    If Cwin = 2 then game end with C winner or if Lwin = 2 then game end with L winner, or using an aray if C found more than once then C = winner etc

    At start of round set 'Winner' to ""

  • Bow animation frame = 5 with trigger once condition : spawn arrow

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The subhealth is reduced by a different amount, what amount? You must know as you said you have it working in a longwinded way.

  • Allow the initial load of the array to happen only when a global variable is 0 then after the load event set the global variable to 1.