roracle's Forum Posts

  • I re-imported the music and sounds I had changed but it still will not export.

  • As the title says, HTML5 or Desktop exporting is directly crashing my system. Is there something like this which others have encountered, and if so, what was done to rectify it? I did try to not use minify script, too, and it's still crashing.

    Edit: added "desktop" to the equation. As a heads up, there were times where I needed louder music, so I would edit the music, save the project folder, close C2, replace the music with the new export, reload C2 and project, and the main (only) layout's UIstates seemed to be messed up (all locked layers are now unlocked, all hidden layers now showing) but everything else works fine. This means Run Layout and Debug both work fine. I can play it and it works as is, but exporting is an issue.

  • I have it set up when something is destroyed, it plays a sound. The issue is when I destroy two of those things at one time, things work properly, the sound plays (for each destroyed) but it seems to increase the volume of that sound. I know others have had this issue, so please if anyone can point me to the solution of this, it would be mighty helpful! Thank you!

  • I'll look into your example more closely. I did try physics but my character kept sliding around. when colliding with square collision objects, and I don't know why. But I'll see what I can gain by looking at your stuff there, I'm sure I can figure something out.

  • It involves finding the angle of the spot on the polygon the player hit and canceling the speed moving against the object. You can look here for a few examples you may be able to use in your game.

    Umm, which of these would best suit a player moving around objects that are on a tilemap? You have like five hundred examples </exaggeration>

  • Thank you!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Maybe I'm missing something, but how do I have a collision box at an angle, and have my player walk directly into it, but it pushes him the correct way he needs to move? For example, if he's moving up, and he hits an angle, he should move up still, but at the angle of the collision.

    How can this be accomplished smoothly in C2?

  • You might want to run through some tutorials before going on. I'm not trying to be rude but you do have 3 posts and they are all on this particular thread. It is beneficial to do a number of tutorials and get to understand the logic behind game development in Construct 2. Otherwise this will be an everlasting thread of us telling you how to build a paperboy clone.

    Remember, this is all math, so without understanding math it might be hard to do what you want. Algebra is the most basic and most used of all in any programming environment (eg: Set movement to Variable+Variable/2). So again, go do the tutorials and you'll understand more about how C2 works, and if you need, there are plenty of algebra tutorials (and more) online in various resources like math.com or watch videos on YouTube.

    Good luck!

  • Interesting, might be useful in the future. I'll try it out in mine, too, could make things cleaner.

  • Yeah that's how I normally do it, I just thought by now the Tilemap would have been updated to support it. But I've already edited my map to using two Tilemaps. The issue I had was time, because it's such a big map and I didn't want to waste too much time re-drawing everything.

    I think animated tiles and collision-per-tile would be a good thing for an update in the future. Is this even being discussed somewhere?

    But I did find an easy way to save time without hand drawing or hand erasing everything I'd already done:

    https://www.scirra.com/forum/viewtopic.php?f=147&t=168371

  • Oh I see what you mean, no there are wall graphics and floor graphics and they're never the same.

  • It's the same graphics, but the walls are always walls, and the floors should always be floors. My issue is there are a lot of tiles that will be solid and a lot that are not, so it's a bit easier to just edit them manually (in notepad++). I can't stand things being out of order lol. Things just get too complicated when I make games, so I try to make it easy on myself for later, even if in the moment it's long and tedious.

  • I'm also going to point out that changing tiles (in my case I needed solid tiles on one Tilemap and floor tiles on another) is as simple (yet tedious) as opening the XML in Notepad++, copying the tile data string (the long line of numbers and commas), then paste them into a new file. Replace solid numbers with "-1". IE: if your wall tile is "45", in Notepad++ open "find and replace, and look for ,45, and replace with ,-1, (include the commas in case the tile numbers are super high, this way lower numbers will not change when you don't want them to).

    Do the same with floor tiles in the OTHER string.

    When done, copy the string back to the main XML file, save, and load your project file.

  • Solved, easy solution:

    1) Clone the Tilemap

    2) Save using "Save As Project"

    3) Go to the XML file where the original Tilemap is (the "Layouts" folder)

    4) Copy the entire <instance> block

    5) Find the new Tilemap <instance> and write down the name and UID

    6) Paste the block you copied in it's stead, and change the name and UID back to what it should be

    7) Enjoy

  • Is there a way to "clone" a tilemap object and keep every last piece in tact? It seems pointless to redo everything when I'm trying to just get a solid and a background going, especially with how large the map is that I'm working on.