emoaeden's Forum Posts

  • Do you have a CAPX ? As I think I may be able to help.

  • This should be what you're after. Bit messy, but it will get you out of trouble. I'm sure you can clean it up, because if I did it, you'd not learn anything <img src="smileys/smiley36.gif" border="0" align="middle" />

    dl.dropboxusercontent.com/u/108799982/Capx%20Demos/RandomSprite.capx

  • Got the same thing here, only noticed it in the latest build (r147)though. Also when I export to my Galaxy Note 8.0, the effects stop working, but they work fine in Chrome (31.0.1650.16 beta-m), but still give me the error message.

  • Me thinks you need to use a For Each EnemyBatBox command, to prevent them from all going at the same time.

  • You're a genius. [:-)]

  • So I'm working on an RTS at the moment, and I am finding that everything is working when I run it as a preview through C2. Though, when I export it and run it either as an APK, EXE, HTML, etc it seems to create some sort of error.

    Specifically, when I click on the map, it returns an X & Y co-ordinate that is directly related to the mouses X & Y co-ordinate, but the characters seem unable to move any further than the top right hand corner of the map.

    I have attached a dumbed down version of the game, so you can see what I mean, and hopefully lend me a hand. <img src="smileys/smiley1.gif" border="0" align="middle" />

    dl.dropboxusercontent.com/u/108799982/Capx%20Demos/Movement.capx

  • I'm trying to set up a condition that tests to see if any of the instances of a sprite has a certain value, then affect all of them.

    The use is for an upgrade button on an RTS, so that if one of the town halls is upgrading the UnitSpeed, then no other town hall can upgrade that ability.

    What I'm needing is to see if there is a simple IF ANY INSTANCE condition can be made. This is a stripped back version of the code dl.dropboxusercontent.com/u/108799982/Capx%20Demos/Upgrade.capx so hopefully someone here can help. <img src="smileys/smiley1.gif" border="0" align="middle" />

  • I'm down in Victoria, and would be more than happy to discuss working on such a project. Inbox me if you're still looking for Aussies <img src="smileys/smiley1.gif" border="0" align="middle" />

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Simply put, is there an easy way to do this, with multiple characters, like in an RTS, or will I just have to wait until the chaps over at Scirra come out with an update that includes it?

  • I'd say you're trying to implement a loop inside a loop. Have you a copy of the CAPX ?

  • Having a look at it, line 5 is the way to go for what you're trying

  • You may need to use

    For each Textbox

    If Mouse is overlapping Textbox >>> Do something

    Have you a CAPX I can play with, and see if I can fix ?

  • keepee

    I was going to do it with variables, but from the look of the original CAPX, it seemed as if Annisa12 mightn't have known how to use them, and the changes I made were already vast, so I didn't want to add confusion <img src="smileys/smiley1.gif" border="0" align="middle" />

  • I think this CAPX will be more towards what you're after.

    The WarmBlood animals will rotate right when you drag them on the day, and the ColdBlood animals will rotate left when you drag them on the night. And if you drop them anywhere else the will return to their original positions which are set at the start of the layout.

    Note : That I have used families to make the code smaller, as well as put in conditions so you can't switch from day to night or move animals until the animations have finished.

    If you have any questions, feel free to ask me <img src="smileys/smiley1.gif" border="0" align="middle">

  • So I've been searching all over the forums here for a tutorial or example of such a game, but alas I can not find one that either does not require a plug-in or in actually going to suit my purpose.

    The premise of my game, is for an RTS, but I would like it to be playable against humans on other machines, and not just the computer on the same machine.

    As it stands I can use the WebSocket for text, but not co-ordinates of players. Though I was thinking of maybe using it to send large blobs of text relaying the x,y co-ords and UID of enemies, but feel there must be a better way.

    Any help, ideas, or plug-ins that may help (though I prefer to do the work myself) would be apreciated <img src="smileys/smiley4.gif" border="0" align="middle" />