Tokinsom's Forum Posts

  • Got it working by removing some unnecessary conditions ^^;

  • Trying to figure out the best way method for ledge-grabbing. Currently I'm using a 2x2 detector and when it overlaps a solid, yet isn't overlapping a solid at 0,-2, the player grabs the ledge. Problem is it doesn't work well when falling at high speeds and sometimes activates when falling along a wall. I understand why..just not sure how to fix it :L

    I've looked at some examples around the forums but they seem to have the same issues.. Any ideas?

  • For C2 you'll want to use RexRainbow's .tmx importer to make your rooms/areas individually and dynamically load them via AJAX and project files (while destroying old rooms), then code triggers/doors and transitions in between. The minimap can also be created using Tiled. There are numerous ways to do it but this made the most sense to me..

    In CC you're probably just going to have to make your own editor, save rooms to an array, .ini, hashtable, etc. then load them dynamically as above.

    Sorry I don't really have any examples lying around...it's very complicated to set these up ^^

    Btw is that you, Mario?

  • Aha. I'm using a custom bitmap font so that would explain it. Not sure how that's supposed to work with the spritefont plugin though..What would the arrows be on the charmap?

  • Ashley Thanks for fixing this in r125. There still aren't any strings for the arrow keys, however. Could you please add those in the next build?

  • To avoid performance issues from lots of tiles I paste the tiles into a canvas, then load the image to a large empty sprite, then destroy all the tiles & canvases..not sure you'd be able to do that for a minecraft clone though, since tiles are destructible. Might look into chunks. Disabling off-screen solids might help too.

  • Ah. I didn't try it with anything other than letters and the arrow keys. Not really sure how to go about that without an event for every key :

    Ashley would it be possible to add the rest of the strings at some point?

  • I'm using Keyboard.StringFromKeyCode(Keyboard.LastKeyCode) to retrieve the name of the last key pressed, for my control config.

    For whatever reason it works perfectly for everything but the arrow keys; up, right, and left return a blank string and down returns "(".

    Same results in 2 projects. Anyone else have this problem?

  • I've gotten numerous crashes from changing multiple instances' initial visibility (and sometimes other properties), then previewing the game immediately after. Hasn't happened in a while though. Maybe it's related?

  • So..Adding a new file to your project files folder outside of C2 does not add the file to your project inside C2, nor does updating a file outside of C2 work.

    However, if you add the file to your project inside C2, save, close, and re-open..then from then on you can modify it outside of C2 and it'll work.

    Why is that? It may seem like a minor inconvenience but it's a pretty big deal if working in a team. Either each member needs a C2 license and the .caproj to add new files in C2, or the one member with the .caproj has to be responsible for adding everyone's project files himself.

    Imagine 3 people making hundreds of rooms for a 'vania, each one a separate project file..no way I'm adding/managing all of them myself!

    Anyway..That said, could we maybe have a button to add/update project files in a C2 project if changes have been made outside the editor? Better yet, could they just be synced at all times?

  • <img src="https://dl.dropbox.com/u/105711543/Images/errors.png" border="0" />

    Link to .capx file (required!): Any of the platformer examples.

    Browsers affected:

    Chrome: yes

    Firefox: yes

    Internet Explorer: yes

    Operating system & service pack: Win7, 1

    Construct 2 version: r123

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • +9999

    The player in one of my projects has 200+ frames, 2 parts, and 3 image points. For the love of god, please add this!

  • Project files, server, XML, CSV, JSON (array, dictionary, etc). Take your pick :) There is info on all of this in the manual.

  • Bump.

  • Er..Pretty sure you'd get the same results in CC or anything else. 1 particle per tick simply isn't enough for a seamless trail.