lionz's Recent Forum Activity

  • Probably the hp bar doesn't relate to the enemy in any way. Check out 'Containers' where you can create an enemy and an hp bar together and it will always pick its associated instance. Other conditions may also work such as pick hp bar overlapping enemy or hp bar nearest to enemy.

  • Upgrade to Construct 3 for an easier life :D

  • Move the trigger events, the ones with the green arrows, into their own individual events to see if that changes anything. As for not moving left past a certain point there's no context I don't know how I can help with that.

  • Use distance expression distance(obj1,obj2)

  • In the other layout you have to think of it as a new and different object, what you applied before on those instances in the character select doesn't transfer over. Best fix in my opinion is to set the frame chosen to a global variable when you select a character, then for the Game events you can say on start of layout set player animation frame to global variable.

  • Every X seconds, pick a random instance of 'Square' (under System)

  • Hi Chris

    The on completed "tag" needs to be the same as the request. Should be on "GetHomeFields" completed as it is waiting for the "tag".

    Also the action is not system load game, you should pick the Array object and use Load action, remember you are loading data into the array. System load is for save game type stuff.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The expression before random also has an effect so in this case floor rounds the value down so it will never choose 10 for (1,10). If you use ceil instead of floor then it would pick 10 but not 1 because it rounds up. You could always just use choose() then you know the available values.

  • Add the Ajax object to the project.

    Events :

    On start of layout : ajax request project file (your file)

    Ajax on completed : array object - load action with value ajax.lastdata

    This loads the file into the array, you can then manipulate it with the events.

  • Well it's kinda easy, try it out :) it should fix the skipping issue

  • It's a little tricky but what I do for this is have the loop inside a function and stop the loop if the matching value is found and then run the function again.

  • I assume you're using the arrow keys which is default controls for platform behaviour. You need to untick default controls on platform behaviour for the enemy. For the player you can keep the arrow keys or make your own key press events.

lionz's avatar

lionz

Member since 5 Aug, 2013

Twitter
lionz has 79 followers

Trophy Case

  • 13-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Forum Wizard Made 5,000 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • Unrelenting Visitor Visited Construct.net 180 days in a row
  • Continuous Visitor Visited Construct.net 365 days in a row
  • RTFM Read the fabulous manual
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

26/44
How to earn trophies