salehkindy's Forum Posts

  • It could be better to make one object with different animations instead of 10 objects. You can use the Is playing condition if you want each of them to have different events and actions. If you do this you can set the animation to str(round(random(1,10))).

    For Each Placeholder -> Spawn another object (fruit)

    Also, do you want to use pin to just set position or is there another reason?

  • I've tried raycasting to the position of the mouse then setting the width of an object to the HitDistance expression, however if the mouse isn't over a solid the raycast stops at the mouse.

    Basically, I want cast a ray from a gun to the mouse without stopping until it hits a solid (instead of stopping when it reaches the mouse position), then set the width of the laser object to the raycast distance.

    Is it possible to raycast at an angle until it hits a solid? If not, how can I do this?

    I've tried following a tutorial and have seen others set the width to a number larger than the layout if the ray doesn't intersect but the laser acts inconsistently and I'm having difficultly making it work.

    Can anyone please help?

  • I think it could be possible using a drawing canvas after reading about it in the manual but I don't have any experience using the object.

    Is this possible without sacrificing too much performance?

  • Construct isn't very good for making most 3D games, even basic 3D games that use 2D collisions. It could be possible but FPS would most likely be low.

    You would probably need to use z elevation and z height in events and actions.

  • Is it possible to make only objects that are in the player's line of sight visible and all other objects black similar to the image above?

    I have attempted to use the Shadow Light object with no success.

    Tagged:

  • Thank you very much. I used F12 and found an error message a few days ago but was able to fix the issue after removing an addon that caused it.

  • Thank you.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'm creating a game with a gun in it and decided to use line of sight on the gun to check if it hits something. The issue is that it only checks if it hits an image point, not the entire object. How can I check if the gun hits the entire object?

  • I attempted to preview another file I had for my game that had the 16x16 textures that I had kept in case I decided not to replace my textures. Unexpectedly, I had the same issue. Here is a screenshot of it, note that I have the paid version of Construct 3.

    I am able to preview other games, even 3D ones, however they are smaller games. I also forgot to mention that there is no audio, and it does not work in all preview types.

  • It would be very difficult to make a 3D platformer on Construct. There are some other free game engines you can use.

  • Text -> On created -> Spawn another object -> Text2

    X: Self.X-10

    Y: Self.Y-10

    Layer: Under text but over everything else

    Then set its opacity to 50.

  • Although this won't reduce the noise you can add several different sounds that play to add more variety to the audio and make it less annoying. If you want to limit the amount of times the sound is playing at the same time you can use a variable that increases by one whenever the sound is played and decreases by one after the amount of time it takes for the sound to play. If the variable is greater than for example five, the sound does not play. You can also play the sound using a signal to prevent it from delaying any other actions in the event.

    Variable = 0

    On signal "Shoot" + Variable < 6 -> Signal "Sound"

    On signal "Sound" -> Play "ShotAudio"&choose(1,2,3) -> Add to Variable 1 -> Wait (amount of time sound takes to play) -> Subtract from Variable 1

    The choose(1,2,3) will only work if you have three audio files, one named ShotAudio1, another named ShotAudio2, and another named ShotAudio3.

  • I am creating a 3D first person game and am having issues with only a black screen showing when I try to preview my game while using high resolution textures (I have not had this issue before, likely due to me using only 16x16 textures for the 3D objects).

    I use two devices to develop my game; one a Chromebook and the other an Alienware 15 (a powerful computer although it's close to 10 years old). When I try to preview the game on my Chromebook, the framerate is low but the game can still be previewed whilst when using the Alienware, only when the textures are high resolution the screen is black. I tried to use remote preview on the Alienware, but the results are the same.

    Does anyone know how to fix this issue? Is there a specific resolution that the computer is unable to preview with? If it matters, the textures were downloaded on the Chomebook.

    Tagged:

  • You do not have permission to view this post

  • You do not have permission to view this post