jojoe's Recent Forum Activity

  • I am curious how to do this too, every test I have done with it has failed so far. I would love for someone to post a working example.

  • Oh! I see what you are trying to do now @BlACKMASKCEO.

    You can do that with 1 block like this:

    <img src="http://img5.imageshack.us/img5/1060/vu7c.png" border="0">

    here is a file you can try to test it:

    https://docs.google.com/file/d/0B7p8-X5UMeryS1hObGRGWVZxVWs/edit?usp=sharing

    I really wish Scirra would add a "ON destroy Kill children" to the pin behaviour.

    Doing all this elaborate testing for a simple task like this is really asinine.

  • This looks really cool:

    http://www.gooengine.com/

    3D looks pretty smooth. I am going to give it a try I think.

  • Make a 3 piece rig... one for the legs, and one for the arms and head and one for the collision sprite.

    spawn collision sprite.

    spawn legs sprite +pin to collision sprite

    spawn arms and head sprite +pin to collision sprite.

    Use the collision sprite for your AI's movement routine. (give it the pathfinding behaviour if you re using pathfinding)

    use the arms and head sprite as a turret. (give it a turret behaviour if you want to make it easy.

    The legs are there just for the visuals.

    not going to be perfect, but this will get you going. I would make my own turret routine, but the pathfinding AI seems to work really nice, so I would keep that.

  • Here ya go,

    1-

    scirra.com/manual/153/websocket

    2-

    I really have no idea. I think you can do both peer to peer or everyone talks to a server. Ajax, and Sockets are where you need to look. You can also pass things to the commandline with node-webkit so you can probably issue SSH and FTP commands too, if the firewall lets you through.

    3-

    scirra.com/tutorials/421/how-to-talk-to-the-page-your-game-sits-in

    Compliments of Goolge, and using the search term Scirra rather than Construct 2.

    Looking forward to the day we can start using the built in forum search again.

    If you think finding multiplayer info is hard, try finding a regex tutorial with google. Seems like every OS and programming language in existence uses it. None of them use it exactly the same way it seems.

  • Sure, just pass the commandlines and scripts to this:

    github.com/rogerwang/node-webkit

    you can build your own node webkit builder too :)

  • Think I am going to buy this.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Not sure exactly what you are trying to do.

    You can use collision-overlaping to select which it is overlapping. You can also anso do a "select nearest"

  • I was watching this thread, I have been sort of baffled about this too.

    Thanks newt, that is a great tip. <img src="smileys/smiley1.gif" border="0" align="middle" />

  • A common practice is to make a �collision� sprite, and pin an animated sprite to it.

    I have a better idea.

    Animated spites could have a �collision hull� behavior. When the user enables the collision hull C2 automatically will spawn a collision sprite, and pin the animated sprite to it.

    This way we will only have to code 1 object, and not have to worry about containers, pining, picking the nearest instance...etc.

    User just makes their spites, and immediately starts coding them... No need for elaborate rigs or setups.

    I would imagine this would cut down on the amount of events needed too.

  • Yeah there are a few Snafu's like this.

    Use the Containers for the sprite and the sprites "trolly" they will spawn and destroy in sets.

  • The array will help keep things tidy. You might want to use an array for your entire character sheet. You can save and load an array really easy.

    For single values Webstorage would be the thing to look into. Then in your game rather than changing and checking variables, you can change and check web values.

    You can load and save arrays to webstorage too.

    If you are using node webkit you can write and read text files.

jojoe's avatar

jojoe

Member since 29 Dec, 2012

None one is following jojoe yet!

Trophy Case

  • 11-Year Club
  • Coach One of your tutorials has over 1,000 readers
  • Email Verified

Progress

13/44
How to earn trophies