linkman2004's Forum Posts

  • There definitely are libraries for networking around - you could have a look at SFML for example, which has an OOP layer over TCP and UDP sockets, which should make things a bit simpler. You'll probably still be working with raw bytes and addresses though - might want to find a higher level library.

    I've been messing around with the SFML network library lately and it seems solid. It's definitely easier than straight up Winsock, and its Packet class greatly simplifies data transmission.

    However, it gets really wonky whenever I try using it within a Construct plugin, which leads me to believe that something within the SDK is screwing it up to the point that it's useless.

  • Hey guys, you showed us the 3d object progress, but maybe you upload source for it?

    It's already up on the SVN for your viewing pleasure.

    3D Object Source

  • Your blue tank image doesn't have a collision mask, so there's no way for the M&K object to know if the mouse is over a tank when you click it, or for your units to know if they're overlapping each other.

    To add a collision mask, open up your blue tank sprite; now click on the "Collision mask" button on the top toolbar(it's the green icon second from the right) - As you can see, the collision mask is empty; now, just fill in the area with a solid color for the collision mask and you have working collisions again! Just press the "Collision mask" button again to close the editor for it.

    Hope that helps ya.

  • I'm assuming that you probably upgraded your version of Construct to a newer version. Global variables are now in the "Global variables" folder in the "Project" bar on the right. You can see all of your global variables there and add new ones by right clicking the folder and clicking "Add global variable".

  • For the first question, you can use the function object to do what you're asking. I don't have time to give a rundown of how it works right now, but it should be pretty easy to figure out.

    As for the second question, you're going to have to rewrite all of the code you did. While it may be a pain in the butt, Construct's abilities in that regard are somewhat limited, so there's not a whole lot of choice.

  • Your file is borked over here too, and since all my drivers and what-not are up to date, it seems that either your file got messed up, or it's a problem in Construct.

  • Moved to "Help / Tech Support".

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • There are movement plugins on the forum, just look for them.

    I don't think we're at the point where whatever plugin you want exists, especially behaviors.

    How do you mean for a behavior like this to work? Like the 8-direction movement but with more directions? If somebody were to take this on, they'd need more info.

    Also, welcome to the forums.

  • In the project bar, just click and drag whatever layout you want to open first to the beginning of the layout list.

  • Technically yes, but I'd recommend against including the full install file. Just include the web installer; no point in inflating the download size of your game especially in case people already have the latest runtime.

    DirectX Runtime Web installer

  • Upload your CAP file so we can see what you're doing. It's hard to fix something if you can't see it.

  • It's a problem with triggering at the start of the layout. Try using the "Compare time" condition in the system object and setting the wait time to 1. This seems to work fine.

  • Just right click this folder in the "Project" bar and click "Add file(s)":

    <img src="http://dl.dropbox.com/u/917406/yeshere.png">

  • The resource folders are all under the "Project" bar on the right side, which should be on by default. If not, you can toggle it on by going to the "Home" tab at the top and clicking "Project" in the "Bars" section.

    Sounds need to be placed in the "Files" folder for the XAudio2 plugin to find them.

  • You can also do it in one line of code using string concatenation, which has the added benefit of letting you use properly named animations:

    Death animations

    Press the "space" key to trigger a random animation.