SoldjahBoy's Recent Forum Activity

  • Also you may want to use "On A pressed" instead "A is down", otherwise it will switch between the two every tick as long as you have A held down.

    Quoted for truth. I failed to mention that!

    ~Sol

  • You need a "For each" loop in your conditions, otherwise if just one object meets the conditions, it will apply to all object instances (because you haven't told it to check each one individually).

    [For each sprite.object]

    [sprite.variable=XYZ]

    --- Do stuff

    [ELSE]

    --- Do nothing

    ~Sol

  • It happens because you tell it, when A is down set opacity to 50 - then immediately to 80 - so the opacity will always be 80.

    If you want to change between 50 and 80 with each press you have to do it a little differently.

    [Keyboard A is down]

    [Opacity is 50]

    --- Set opacity to 80

    [ELSE]

    --- Set opacity to 50

    That will make it change between 50 and 80 with each time you press A.

    ~Sol

  • Set Text.text = str(variable.value+sprite.hp)

    ~Sol

  • They are sorted alphabetically.

    You can only order them based on name, as far as I know. You can maybe try putting 001 or 002 etc before the name of the sheet to force the ordering? Not sure if that even works but it should.

    ~Sol

  • It sounds like your computer has some issues...

    Open command prompt as administrator, (Start -> run -> cmd) then type in: sfc /scannow

    This will check Windows for any system file violations and (hopefully) correct them.

    You may also want to check for viruses/malware using some *good* scanner tools (not your normal anti-virus software which is 99% useless 100% of the time). I recommend Googling for "JRT" and "Adwcleaner" (both found on website) and run those two programs through your machine.

    ~Sol

  • You need to make a custom timer.

    Create a global variable called "timer" or something like that. Next you need to make sure the timer only works when the layout is active (like dieblume86 mentioned).

    So if layout is active, every 1 seconds add 1 to timer.variable

    If timer.variable > 25 then set timer to 0

    If timer.variable = 25 then create object

    Obviously this would actually make a 26 second timer (25 seconds to count, and 1 second to reset) so you can actually create object at 24 seconds instead. That means the first object will be at 24 seconds, but each object after that would be 25. You could tweak this a little and make it 25 seconds every time I'm sure.

    ~Sol

  • No problem

    ~Sol

  • It's not working because you start with value 0, then it goes to 1 then 2 - then always stays on 2.

    It stays on 2 because you add 1 to it's value everytime (so it's at 1 then goes to 2).

    Set your value to 0 in event 2.

    ~Sol

  • Your image link is wrong... you have linked to your actual dropbox account folder, so unless you want to give out your dropbox credentials so I can log in and see it, you need to link it properly.

    The code I posted must have worked... because your variable is changing as expected. Obviously the problem is with how you are making the movement happen based on the the variable value.

    ~Sol

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi try this,

    -On left click + Variable = 1 > set 2 to Variable

    - On left click + Variable = 2 > set 1 to Variable

    - Left lick down

    -+ If Variable = 1 > move left

    -+ if Variable = 2 > move right

    This won't work either... it will set the variable to 1, then immediately to 2.

    -On left click + Variable = 1 > set 2 to Variable

    • ELSE > set 1 to Variable

    ^ That would work however.

    ~Sol

  • Change your screen resolution from the project properties menu. You can set the "window size" in there.

    ~Sol

SoldjahBoy's avatar

SoldjahBoy

Member since 2 Apr, 2008

Twitter
SoldjahBoy has 3 followers

Trophy Case

  • 16-Year Club
  • Email Verified

Progress

17/44
How to earn trophies