Ashley's Forum Posts

  • Family.Count should correctly be counting all objects in the family. Post a .cap showing what you mean.

  • lol

  • Thanks for the heads up, those links should be working now.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Argh, our host has disabled hosting of .cap files for no apparent reason. Uhhh... I'll get on that.

  • Well, it's fairly uncommon to write an application to control another application, especially if mIRC has built in scripts to do what you want to do already. To be honest the extra complexity of controlling mIRC from another application is probably about the same as just learning a bit of scripting and using that.

    As for actually controlling the application, you have lots of options, which range from sending network messages, sending window messages via Win32, or even simulating moving the mouse and hitting keys. I don't think any of your options are both currently possible in Construct and reasonably simple (eg. moving the mouse automatically will be incredibly complicated and will break if the window layout is ever so slightly different).

    You're using the wrong tool for the job really. Construct is a game creator.

  • How do you intend to send commands to another application? There are many ways to do that.

  • Have you tried one of the tutorials? http://www.scirra.com/tutorials

    Making an event to add text when pushing a button is very simple. I'm sure you'll get it after a tutorial. Also, Newline is in fact an expression you can use when dealing with strings. Did you try it? It's also listed in the system object expressions, which you can browse by double-clicking the system object icon at the bottom when entering an expression. You'd use it like this: "Text on first line" & Newline & "Text on second line"

  • Could you rephrase your question so it's a little more clear what you're asking?

    By the way, the correct syntax for a global variable is: Global('Lives')

  • You do not have permission to view this post

  • You do not have permission to view this post

  • I think you should read the wiki article on Conditions, it should help clear things up for you. The details may be confusing at first, but Construct actually has well-defined behavior in most situations involving object instances and object types.

    Does the "Cruiser" in "Create object Asteroid at Cruiser.X, Cruiser.Y)" refer to all cruisers, or the first/last one that was spawned?

    From the article:

    [quote:2nykc8o4]The Expression rule

    The expression Object.X will retrieve the X co-ordinate of the first instance of Object that is picked. If Object is unreferenced in the event, it refers simply to the first instance to retrieve the value. This is worth bearing in mind. See the examples for more information.

    (remember 'set X to .X + 1' will move all instances to the right because expressions which refer to the object owning the action refer to each object separately)

    [quote:2nykc8o4]A System:Destroy command for a given object destroys all instances, unless it is immediately after a spawn action that created a specific instance.

    That's right, the create and spawn actions pick the object created, and that is intended, so you can use events to modify that object.

    [quote:2nykc8o4]In other words, if I want the player to fly around in a spaceship, and the enemies to fly around in the same spaceship, would I want to create two separate Construct objects?

    Yes, but mainly because they are logically separate objects. The player spaceship is controlled by the player rather than AI and that's enough to justify making them separate.

  • Do you mean the pixel shader effects? Just apply them one by one, and see what it does. Some blending ones might make the text disappear though.

  • Not before Construct 2, and even then not before all the more prevalent platforms are covered.

  • Yes, when you're spawning an object of the same type. If you spawn an object of a different type, it can be picked.

  • That 'Copy event as text' glitch is fixed in 0.99.7 btw.