YetiSeekingYeti's Recent Forum Activity

  • That's exactly what I was looking for, thanks .

  • So, a simple (I hope) question, but one which I can't find the answer to anywhere:

    Is there a way to tell the File object to start looking for a file in the directory my exported EXE is in, instead of always providing it with a full file path?

    Right now the argument I'm using is:

    File.LoadFileToString("C:\Users\John\Documents\pkg2.txt")

    The obvious problem being that this will only work for people called John who run the game from their Documents folder . I really need to replace it with something like:

    File.LoadFileToString("Current Directory\pkg2.txt")

    But I just don't know how . Anyone have a clue how to do this?

  • Alright, I'll try that. Thanks .

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I've tried adding the physics behaviour to all the other solid objects, but that makes the player slide slowly to the left for reasons I don't hope to understand.

    I've heard (read) mention of people faking platform behaviour with physics and events, would that be doable/easier than faking the bouncing itself?

  • I'm a little hesitant to post a new topic, 'cause my problem seems simple enough that I'm surprised I haven't found a solution in the forums. It doesn't seem to be here yet though, so:

    My game involves a hammer being thrown around by the player, which works fine using the physics behaviour and some "add force" events, but my problem is that the hammer passes straight through solid objects.

    The only solution I can think of is to destroy the hammer on impact and replace it with a static sprite, but what I really want is for the hammer to bounce around a little before coming to rest, which I can't figure out how to do with the physics behaviour.

    Any help / suggestions would be great.

  • Heh, that'd be cool, but since I've just been learning Construct for about a week, I haven't a clue how it would work.

  • This also helped with a little tree-growing application I'm messing around with. I had the same problem, but instead of shooting bullets I was shooting... shoots.

    So thanks for that .

YetiSeekingYeti's avatar

YetiSeekingYeti

Member since 21 Mar, 2010

None one is following YetiSeekingYeti yet!

Trophy Case

  • 14-Year Club

Progress

14/44
How to earn trophies