Jonathan5's Recent Forum Activity

  • Can Construct 2 open or launch .exes from a user's desktop? I'm inclined to think this ins't possible, but are there any workarounds or hack-y bypasses?

  • As Trevor mentioned, it would be wise to use boolean operators such as:

    if findpath == True:[/code:1siuge8w]
    
    or
    
    [code:1siuge8w]if findpath == 1:[/code:1siuge8w]
  • help yourself to a slice

    <img src="http://i54.tinypic.com/30mqvd3.png">

  • If you haven't already, I suggest you make a prototype or demo. Then, you can get a hands on feel and base your decision from that.

  • As RomanCenturion has suggested,

    Every 7000 milliseconds

    Generator: Is on-screen - System create Monster on layer 1 at (gen x, gen y)

    or you could assign a private variable to the generator (we'll call it 'Alive')

    Ever 7000 milliseconds

    Generator: Value 'Alive' Equal to 1 - System create Monster on layer 1 at (gen x, gen y)

  • How far have you gotten?

  • If no one's said it yet, I thinking getting Construct to work with general PC controllers, not just the 360 control type, is a must. If you want this to go bigger and more public with a solid release, people are going to be expecting being able to use their generic PC controllers.

    If I'm not mistaken, there's two control types, right? XBox 360 has its own type, so it's good that got out of the way, and then there's a universal type for all the rest? 360, and PC? I can't remember what the non-360 control type is called though...

    But seriously, if anything, getting Construct to work with general PC controllers should be a top priority for 1.0.

    Would this work?

  • Age of Empires is a great game. It would be cool to play a similar game made in Construct. Anyways, good luck on your project and keep us updated!

  • ya, I know, I get the comment sign mixed up with other programming languages. I believe "//" is java, right?

    Yes and many other languages too.

    That's probably a good idea. Could this be used to substitute for an array? I wouldn't be using it to save the game, but it would store values with 3 keys (ex. (x,y,z) or (1,2,1)).

    I'm not entirely sure, but I'd presume so.

  • Just in-case you didn't know, "#" is how you make a comment in Python, not "//". I'm not too familiar with Python, but you might be able to save sometime by using a dictionary to store your global variables.

  • Nice. I might use this for my game. Just a heads up, I know this is pseudo code, but I'm pretty sure it would go like this:

    1 # Level[/code:opv9c5ma]
    
    instead of:
    
    [code:opv9c5ma]1 // Level[/code:opv9c5ma]
    
    # = comment in Python.
  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • For the problem with Sysinfo.. have you added the SysInfo object to your project and if you have multiple layouts, is it global?

    Doh! Can't believe I missed that. Thank you! I knew it was going to be something silly

    For the myserver problem.. are you accessing "myserver" before you set the value of myserver?

    This is no longer a problem now that I have Sysinfo working.

    I had another question (if you don't mind) and it could quite possibly be irrelevant with the network code, but I wanted to allow the client to press the Enter key as well as clicking the 'Send' button to send a message to the server. I thought a simple solution would be using the OR event in between: On talk button pressed and Enter key pressed. So it would look like this:

    On talkButton clicked

    OR

    On key Enter pressed

    connection.Send({"action": "message", "message": chatBox.Text})

    But that seems to cause an infinite loop because the message continually sends. I know I could just make pressing the Enter key a separate event, but I was just curious about this OR operator. Sorry if that has nothing to do with this. I appreciate the help.

Jonathan5's avatar

Jonathan5

Member since 10 Dec, 2009

None one is following Jonathan5 yet!

Trophy Case

  • 14-Year Club

Progress

14/44
How to earn trophies