lionz's Recent Forum Activity

  • If it is basic one message per object then the easiest way is to set the object instance variable (computer.variable) to the text to be displayed. Then when you collide you can say set text to ""&computer.variable.

  • This gets asked a lot and unfortunately you can't do it. It's possible to do something with variables/time to compare how long has passed since you closed it but other than that it will just be suspended.

  • Remains where for 3 seconds, overlapping the object?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Add button : set unfocused to the click button event.

  • You can do it with 2 global variables for up and down movement that start at 0

    Then you number the locks across with matching var1 and var 2 instance variables as if it was a grid, so top left is 0,0. The second one across the top row would be 0,1 etc.

    Then you have logic, on right pressed, add 1 to var1. On left pressed, subtract 1 from var1. On down pressed add 1 to var2, on up pressed add 1 to var2.

    Then you need the final bit of logic set hand position to lock where lock.var1=var1 AND lock.var2=var2

  • Looks like on the normal shooting you were setting the bullet to the position of the gun and firing. If you want to fire more bullets you have to create them with the create action, or you can use gun spawn bullet at image point 1.

  • It's because you cannot set a boolean to a value, it's either true or false, those are the 2 options you have.

  • The food=0 event is a little messy and it won't be picking the things you want. I would try having an event on enemy created, enemy spawns food detector. That will create a detector at each enemy.

  • You kind of answered your own queries there near the end, families are good for minimizing redundant code in some scenarios like when you have the bullets hitting all 'enemies' as one family, but sometimes they are not useful for picking. If you create a family it will create a random object not one of each, you'll need to do something outside of the families such as set a variable to a random number and each number corresponds with spawning an individual enemy object type.

    I'm not sure about the detector logic, are you saying enemies detect all other enemies but not themselves? You could do something where each enemy(family) has an ID, it's an instance variable set when they are created, assign it to the detector they have and say that the detector detects all enemies besides the one that matches its instance variable ID.

  • Think about the design of the game. How can you set the paddle to the mouse cursor while at the same time moving it freely away from the cursor with arrow keys?

  • If you're talking about something that shows damage taken then I guess you create it above the enemy on hit yes, I had a health bar in my mind.

  • Way to set latest would be to push 'correct' to front of X, so the row is 'correct', then set 0,1 to 'incorrect'. Everything else moves down in line with this.

lionz's avatar

lionz

Member since 5 Aug, 2013

Twitter
lionz has 79 followers

Trophy Case

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

25/44
How to earn trophies