lionz's Recent Forum Activity

  • You're talking about a No Man's Sky type depth of game right with unique planetary systems and then you go to the planets and they contain unique objects. It's quite complex so you're going to have to get used to the fact that it won't be too easy to make.

    Whatever method you used to generate the planets, I'm saying if you give the object 'Persist' behaviour then it will retain its values when you return to it in a layout. Somewhere along the way I guess you would have to use arrays though.

  • If the planets are in different layouts you can use the persist behaviour on objects so they are retained when you return to the layout. If you save the game using system save I think it remembers all persist objects as well because it just saves the current state of the game.

  • Usually we would require more information than this but I'll go with use 'Create object' with 'repeat' condition.

  • Hmm still difficult to understand the game as I cannot see it but maybe you can push character name with the phrase, so name is at 1,0 and phrase is at 1,1 ? There is probably an easier way to do what you are trying to achieve. if you're saying some notifications get pushed to a main array specific to a character then you could identify this in some way outside of the phrase. If you have very few characters maybe you could call from several different arrays?

  • Hiya,

    Is there a definite need for the whole phrase to be in the array? You could possibly structure your game so that you have phrase + variable and the variable is always a single word from the array, but I don't know your game.

  • What you have there is all you need. The idea is that you have one object to handle the collisions and the animations do their own thing. You only need to detect player collision with the one box object. In 2D side scrollers you are not checking collision right down to the shape of the body of the character however if you are using a melee weapon for example you could spawn this with its own collision to detect an attack.

  • Well if the gameplay is specifically 'until the object is used', you can do what you have now the variable >= 25 with condition system compare 2 values : object.count=0

    This means if variable is greater than or equal to 25, and number of this object that exists is 0 then create the object. It will only trigger again if you use/destroy the object.

  • It looks like you assign the object an ID and position based on enemy UID on start of layout but not when it's created there. Did you check that the object is created?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Probably not true. The conditions, not your post.

  • You don't need to use 'for each' every time. The reason your other logic is working is because family objects are picked by prior condition from the object themselves i.e. family.x = something or family.var = something or family is on screen etc. You need to use it in this scenario because the system condition is more like a true or false without picking all the family instances where that distance check is true.

  • Yes it picks one instance, the one with lowest UID. If you don't add a 'for each family' then what this event is saying is - I am true if the family object with the lowest UID is this distance from the player, then if this is true, apply the 'actions' to every instance of family. It picks only the one instance of family, with the lowest UID and compares the distance, if it's true then it runs the action against all family members since nothing was initially picked. If false i.e. the family object with lowest UID is outside that distance then nothing will happen.

  • Did you use system compare two values to calculate distance? The system object doesn't pick instances. When you add the 'for each family' it runs that distance check for each instance of the family.

lionz's avatar

lionz

Member since 5 Aug, 2013

Twitter
lionz has 73 followers

Trophy Case

  • 11-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

24/44
How to earn trophies