newt's Forum Posts

  • I've been meaning to make an enum plugin. I really miss them from other languages.

    I end up having a lot of global variables such as UPGRADE_MOVESPEED, UPGRADE_SCOREMULT, etc so that I can then do things like upgradeData.At(UPGRADE_MOVESPEED, UPGRADE_PRICE) without having to remember which entry in the array the upgrade I want is at.

    There's many more examples of cases where I find this approach is useful but I end up with 834239012093 global variables that I treat as const's cluttering up my variable list.

    The plugin would let you do something like this:

    - action -> create enum "UPGRADES"

    - action -> add "PRICE" to enum "UPGRADES"

    - and then you can use expression UPGRADES.PRICE

    Any thoughts / advice before I start this in the next few days?

    That actually sounds a lot like rex's hash table plug

    http://www.scirra.com/forum/plugin-hash-table_topic47637_post298284.html

  • Haven't played with physics much, but if its not set up to click a button to choose the object, IE you can type in the object. Then you can use a for each sprite sprite add joint to sprite(loopindex+1)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Have you tried the Platform behavior?

    Also the Custom Movement behavior would work as well.

  • Variables are a bit buggy for families. Might try the system "for each" applied to the enemy family.

  • If you're using the bullet behavior just set the bullet's angle to the player's angle.

  • I stumbled across a random video game title generator a while back, bookmarked it for use later. Not a bad tool if you're looking for some random inspiration <img src="smileys/smiley36.gif" border="0" align="middle">

    Thanks, but .... eww

    "Tiger Woods' Turtle Uncensored"

  • It wont change the the jumping, etc. The main use is to reduce the size of the file.

  • You might try a larger amount of tiles on top of a background.

    <img src="http://dl.dropbox.com/u/666516/bittemplate.png" border="0">

    If you look at that image you'll notice you can split it up into a lot of tiles, and each of those tiles has a border that you can think of as your wall.

    Also take a look here:

    It shows a really nice method for auto-sorting your tiles.

  • I think its working as it should.

    Mirror would scale the image to its width in negative, then flip would scale it to its height in negative.

    Keep in mind that's the image, not the angle, so if you were to make an image with the arrow pointing to -45, and then mirrored it, it would appear as if it were 225.

  • Considering all the things CC can do, this feature is pretty much pointless anyway.

    Honestly with Rojohound's resource plug you can export files, create directories, and even update the registry.

    Need an uninstaller?. Yeah that too.

    Besides there are tons of free install makers out there.

  • Lets just pretend there's actually 366 days this year, and add an extra day to February.... oh wait.

  • Thanks.

    Cool, planning on a major upgrade soon with touch screen monitor, so definitely looking forward to that Ashley.

  • The usual method of set x,y to mouse x,y, always moves the object to its hotspot.

    This method gets the offset from the hotspot, or basically gets the relative coordinate from where you clicked, and moves it there.

    Ie click a corner, drag that corner, not drag from the hotspot.

    Demo here:

    no offset drag and drop

  • If you wanted to do something like a line of flight, you could use Rojohounds canvas plugin using a curved path.

    For example if you were using a bullet, you could have the bullet set angle towards a position, and you could use that position to set the offset for the curve.

    That with the gravity setting for bullet should work pretty good.