DeadDamsel's Forum Posts

  • 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.

  • Hello, I'm trying to make an effect that will cut hole through objects that are in front of my character. The idea is to have the player go behind a wall and still see the player and some stuff around. A similar effect to what I'm looking for is like the original Fallout, where the ceiling and walls get "cut through" by a bubble of sorts.

    Like this ^

    Hope I explained exactly what I'm looking for, I'd appreciate any help you could give me! :)

    Tagged:

  • Hi, as far as I can tell the Scirra.com store is still up. I'm unsure if it let's you complete a purchase though which I feel might be your issue. https://www.scirra.com/store If this doesn't work, then yes, the store is likely down and moving to the new Construct.net domain. Many of the features on Scirra have been buggy and going missing for years due to them migrating the site.

    Hope this helps!

  • Hello, I would love to try and help solve your issue, but you need to give a little more information. For starters, is the issue with your spawn point that the object is not spawning, or is it not properly setting up?

    Also, my hunch right off the bat would be that you haven't destroyed the other object of the same type before trying to spawn another one. Try destroying the object in the action you spawn it, but before the new one actually spawns.

    Hope this helps!