j0schi's Recent Forum Activity

  • I ralized this only works if the player is left oft the object, if he is right of the object you have to subtract 270degrees, but it still sounds of with above and below. It patitially works correct now, but my thinking must be still somewhat wrong. Does any one have an idea how to solve this? There must be a solution in playing sounds relative to the player? Am i missing something?

    Kind regards

  • So i realised i can calculate the position of the sound somehow. because, i know xy of the player, the looking angle, and xy of the sound source. So with this i should be able to calculate the same position of the sound based on the player angle... I am sure it has something to do with cos and sin but shool was long ago :D Any help on this? :D

    How does the engine actually handle position changes, so what if the player moves or turns arround while the sound is playing? lets say there is a looong zombie moan, i think when the player moves it changes position while moving, but when the player turns, it should not change position, correct? That might be another porblem. I am thankfull for any suggestions, but according to the missing feedback it might just not be possible with constrcut just yet to do it correctly? After all the 3D features are quite new :(

    Something like this might be correct...

    Edit: Solution by newt from discord:

    just reverse the direction and you should get the right sound position:

    visualized result:

    gyazo.com/d77774aa40b01f6b76885747d459fd53

  • Tomycase, i think then you have to regenerate the obstacle map very often, i dont think this will work :(

  • Hi, currently iam working on a fps game. The audio design in constrcut is realtivly streight forward, if the player is left of a sound source i hear the sound from the right speaker and vice versa. But how can i make it relative to the player angle? for example if the player looks down the chanels should be switched, as left is now right and right is now left.

    In an old post i read, that the sound is rotated with the layer, so i did the following experiment:

    which unfortunatly did not work. Do the sound sources also have to be on this layer?

    my last resort would be to reduce the volume by distance to the player, which would be a somewhat unsatisfying solution for an FPS :(

    Kind regards

    Joschi

    Tagged:

  • That with the one missle is ok, but the next should shoot without having to press space again :) I missed the manual tho 😂

  • Nice little game, i would suggest 2 qol changes, for once i would like to hold down the space bar for continuess shooting. 2ndly there seems to be no way to restart the game ater death, thats a bit odd...

    Kind regards

  • Thats what i am working on currently, a fast paced dungeon crawler with simple loot and levelsystem roughe light (keep xp, loose items) while the items are not yet implemented. Dungeons are generated randomly. This basically started as a test of the new 3D features. I know, there are many games out there like this but i might continue developing this as the flow is quite good :D

    Subscribe to Construct videos now

    all assets are placeholders. Its mostly free stuff from itch.io

    Feedback and ideas are appreciated! And in return i gladly answer some questions, how this works, if there are any...

  • klabundee figgured it out! Thanks for your help. Problem was, that at the start of the layout "walkerdirection" was 0 so none of the conditions where true at the beginning, so the while could not finish :D

    Thanks again!

    J0schi

  • Thanks, but where do i put the while loop then? I had it with else but it did not work, so i changed it to how it looks now... The thing is i cant use if, because the direction is set in an event before, and it could be that the walker is on the top left corner, so he has to change directions till he is not going to the left and not going to the right... I just dont get it how this can be an infinite loop, maybe i am doing something in the wrong order?

    Kind regards

  • Jea sorry, i thought i posted them but somehow the picture did not get uploaded :D

    gyazo.com/c3385ad83a455a4d0a5e28f1da398ebc

    Kind regards

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • My while loop never ends so i am clearly doing something wrong, but i do not understand what. It doesnt even end when i call the system expression stop loop. it only stops when i enable the disabled event you can see at the top. Does while not execute subfunctions? How do i do this correctly? :)

    The loop must be executet in this tick, as it is a levelgenerator.

    Kind regards

    J0schi

    Edit: i got a request time out while uploading the picture so here is a link :)

    gyazo.com/c3385ad83a455a4d0a5e28f1da398ebc

    Tagged:

  • Thank you for pointing this out! I must have overread this...

j0schi's avatar

j0schi

Member since 8 Oct, 2014

Twitter
j0schi has 23 followers

Trophy Case

  • 10-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Popular Game One of your games has over 1,000 players
  • Famous Game One of your games has over 10,000 players
  • Viral Game One of your games has over 100,000 players
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

17/44
How to earn trophies