DeadDamsel's Recent Forum Activity

  • You do not have permission to view this post

  • Your solution in the other thread worked perfectly, and it was easy to implement! Thank you very much. I'm developing an FPS template for anyone to use, and this was a major road block. I made sure to credit you in the project files as well!

    If you're interested in checking out the template, here is the download link!

    https://miasmageek.itch.io/1st-person-example

    Hard to say what you’re trying to calculate with the angles and how.

    If you are just turning you could just set the bullets angle to the cameras angle.

    If you look up and down too you can use spherical coordinates to get the orientation from two angles. But your math doesn’t look like that.

    Here’s a way to just shoot in the direction the camera is facing. Maybe something like that is what you’re after?

    https://www.construct.net/en/forum/construct-3/how-do-i-8/bullet-fire-center-screen-3d-166334?kws=3dcamera#forumPost1060482

  • Hello all, I have managed to hack together a pretty decent 3D FPS template, but I can't seem to get my 3D bullets to match the angle the camera shoots at. Can anyone spot what is wrong with them? If you're good at geometry, it may help a lot! Thank you for any assistance!

  • After further investigating, it seems that the requests are simply blocking .json and certain other file extentions from being requested. .txt files work perfectly fine with AJAX. I guess if I hosted my own website it might work with .json files, but it may actually be a security feature in browsers to protect users, rather than the website itself, but I'm not sure about that.

    Basically, don't use AJAX to request .json if you plan on hosting your game as HTML on a site you don't run. Use .txt instead, if you can.

  • The HTTP 403 is an HTTP status code meaning access to the requested resource is forbidden. The server understood the request, but will not fulfill it.

    I looked it up after that last quote. I don't know how to get around that. I'm just trying to make a simple io game that pulls a giant list of names to use for bots. Does anyone know another way I can easily write up a list of bot names in an array without manually setting it with events?

  • check that all the files from the export are getting uploaded to the server. check the console (f12) to see if there are any errors - probably 404 (file not found)

    I also rewrote some of the code to make the request again if it failed, and it just kept failing.

  • check that all the files from the export are getting uploaded to the server. check the console (f12) to see if there are any errors - probably 404 (file not found)

    This is what it says in the console. I don't know what the issue would be here, but I'll look into it.

  • Please post a screenshot of your code. It takes more time to request files from web, so if you are not using AJAX correctly, this may explain why it doesn't work.

    I think this might be it, I didn't even think of that. Thank you.

  • check that all the files from the export are getting uploaded to the server. check the console (f12) to see if there are any errors - probably 404 (file not found)

    I'll check that now.

  • AJAX works 100% perfectly until I export it to HTML, then it just doesn't pull the .json files it's supposed to, even though the files are in the build. It doesn't work on Itch.io, or the Construct Arcade, and it doesn't matter if I use the Scirra Arcade export option or not either.

    Has anyone had any issues with this, or maybe some insight that could help me figure out why it isn't working. I checked to make sure that both sites had HTTPS as well, which they do.

    Tagged:

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You can do this with blend modes:

    > https://editor.construct.net/#open=blend-modes
    

    Dang, just figured it out too. I knew I had to use blend modes, but I wasn't sure exactly what to use.

  • HA, not even 10 minutes late and I figured it out. You need to make a sprite shaped in how you want to cut the hole. Set the blend mode to destination out. Finally, set the sprite's z order above the objects you are trying to cut through. Anything you don't want to cut through needs to be below the sprite.

    Hope this helps you.

DeadDamsel's avatar

DeadDamsel

Member since 13 Dec, 2017

None one is following DeadDamsel yet!

Connect with DeadDamsel

Trophy Case

  • 6-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

10/44
How to earn trophies