Prominent's Recent Forum Activity

  • Yes you can as far as I know. Try it and see for yourself.

  • My guess is that because your game environment is circular, the character becomes airborne randomly as it moves, which may make the platform behavior think that the character is not on the ground. You could probably fix this by checking if the character overlaps a platform with an offset of +1 or +2 pixels(or whatever amount helps) in the y axis, and if so when pressing up to make the character jump.

    It might cause the character to jump twice if the character is already on the ground, so you can add another condition that checks if the character isn't on the ground(but is overlapping with an offset)..

    Also, if you don't want to check via an offset, youcould use another sprite pinned to the character and check if it is overlapping the ground. or you can check if point is overlapping ground and use player coordinates..

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • So there's another thread that talks about the same issue:

    The problem is that I never ask to clear the temp files, it does it randomly on its own. How do I prevent it from clearing the temp files while I'm using them?

  • > Just curious if it would be feasible to have c2 extract capx files to another location other than the temp folder when editing? Or I wonder if there's a way to block them from being deleted while the project is open.

    >

    This problem comes up from time to time and I don't really know what to do about it. If you have a bunch of programs open and you wipe your temp folder, is it really surprising to then find out you wiped files that were actively in use by the currently open programs?

    C2 stores a lot of project information in temp because changes shouldn't be saved to your project until you click "save". With .capx files, which are really an entire project folder in a zip, it extracts the entire project to temp and works with everything there until you click save, then it zips the whole temp folder again and overwrites your .capx file. This is essential: nobody wants their file on disk to be modified until they click "save".

    I don't want to make it save anywhere else because the operating system "temp" folder is the correct place to put this. If you do something like open a .capx and then forcibly close C2 (or it crashes), its temp files are all left behind. These kinds of leftover files can accumulate for various reasons, and then you may want to legitimately clean them all up, which standard tools/OS functions can do - just I assumed you'd always do this without any programs actively open!

    So it seems some people run these utilities while their projects are open in C2, and it goes ahead and wipes their currently open work in temp. I think C2 can lock the files to prevent other tools trying to delete them, but I never thought people would try to do this, so now there's all sorts of bits of code scattered all through the C2 codebase which accesses various parts of the project in temp. If I forget just one file, the project will still get corrupted by cleaning temp. So... don't clean temp when apps are using temp files?

    I'm having a problem where the temp files are being deleted randomly without me choosing to do so. I'm not sure why this is happening, but it is annoying when my project suddenly stops working and I find out all the files are missing. What should I do about this?

  • It looks like the platform is outside the layout area. You don't show us the layout in the editor to see where the boundaries are, so that's what I'm guessing is the issue.

  • Anyone run into a situation where you try running the project and it says it can't find a shaders.js file?

    And when you reload the project is says it can't find some image so it fails to load? And when you check the capx, it has become stripped of its files, etc?

    I've ran into this occurrence twice now. The first occurrence, the backup file was still working, but the second time, the backup file was even missing its resources. I had to go back to a previous saved file.

    Now I'm making sure to save multiple files constantly since I can't rely on my project not being wiped clean.

    Anyone have this issue? I can't report it because I don't know how to duplicate the issue.

  • You don't need to use dt for platform behaviour since it already takes that into consideration.

  • It is difficult to discern what the issue is by looking at only one event. There could be something else causing the issue elsewhere in your project.

  • IE and Safari play M4A audio files while Chrome and Firefox play OGG audio files. You'll need to include both types in your project to support all browsers.

  • When importing audio files ogg, and m4a format, with the same filenames as ones that are already been used in the project, the new files aren't the correct file when previewing the game. You have to use a new filename that hasn't been used before to get it to work.

    So if I have jump.ogg in the project. If I delete it and then import a new jump.ogg that is different sound, it will still use the sound of the old jump.ogg, even though it was removed.

    Same with simply replacing the file without removing, it has same issue.

    I have to import the file as jump2.ogg for it to sound correct, even if jump.ogg isn't even in the project.

    r206

    I'm not sure if this is a caching issue or what, but thought I'd make a post reporting it since it is a bit confusing when you're replacing audio files and expecting them to sound different.

  • I tried playing it, and I didn't experience the glitch. Looked fine when the jaguar went off the screen.

  • yea, it's at bottom of this page under Download, stable release r206

Prominent's avatar

Prominent

Member since 28 Apr, 2012

Twitter
Prominent has 9 followers

Trophy Case

  • 12-Year Club
  • Popular Game One of your games has over 1,000 players
  • Famous Game One of your games has over 10,000 players
  • Email Verified

Progress

15/44
How to earn trophies