Sir LoLz's Recent Forum Activity

  • hmmmm I am not sure whats going on here.

    So I am playing around with my world and for some reason if the 3d actor goes a certain distance the screen goes black. any idea? it seems to be around a radius at the 0,0 coordinate

    youtube.com/watch

    UPDATE: hhhhhhhrrrrrrmmmm...... so I loaded the last version of the project and for some reason it works fine. no idea why this is happening all of a sudden. This is so weird as it worked fine one second and then the next it started going black regardless of resets and reverting code.

    I guess I don't have a choice but to revert to the old build and use the changes in the latest one as a reference to build back up to the current version. whatever happened must have been something inside the plugin that broke. it's the only thing I can think of.

    UPDATE 2: huh so the project file itself must have become corrupted somehow. because I copied the code from the newest build to the second oldest build. and despite the game working exactly the same as it did in the latest build that issue of the screen going black went away. ok then

  • how complex do you need the physics to be?

    I know you can use the raycast object to get the angle of a face and it's height. provided you don't need super realistic physics you could make a raycast above the car down to the ground. you could then compare the change of height and add to an upward momentum. and then if it lowers apply a gravity to this same value. and if the car falls below the raycast (below the level)then set the cars height to the level. (this is just the idea of course) It's not the ideal solution. but it's better than nothing.

  • wow your right. that's kinda disappointing.

  • I have not messed with 3d collision yet. doesn't Q3D let you use the object as it's own collision shape? or are you talking about separate data that was bundled with the object that Q3D does not load?

  • So by default the multiplayer object will smooth out a moving player to remove jank. I wish to keep this.

    however I seem to have found an issue that I can't seem to get around. I have teleporters in my game that should immediately pop a player to a position. However even if manually placed by game logic the peer will go back to their last position the next frame and then smoothly slide over to the position the host sees them now. despite the fact that just last cycle they were already there. Is there a way to override the smooth out?

    I created a teleporter in the multiplayer demo for a demo. as you can see in the video the peer will still smooth out from it's last position despite the fact i created an event that should instantly relocate the peer.

    thanks.

    youtube.com/watch

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • alone? you wish....

    Space Isolation is a 4 player online maze game that sees one player try to outrun the other three who are hunting them down. First player to reach the score limit wins!

    youtube.com/watch

    http://andyshat.com/spaceisolation/index.html

  • oh dang that stinks. is a fix in the works? or is .js a dead format?

    wasn't their a blender plugin?

  • Hello. my arcade game is stuck at a black screen.

    link to game construct.net/en/free-online-games/space-isolation-11660/play

    it gets these fatal errors that don't seem to happen in other arcade games.

    c2mp.js:1 Failed to load resource: the server responded with a status of 404 () index.html?ott=a590009e-8420-436d-97f2-78e2a571ee34:1 Uncaught (in promise) Event

    thanks.

  • I am not sure if I need it but it seems to be working without.

    no doubt there is a cleaner way of doing this but my solution is to get the dot product for both the front and side. this way I can see how forward and how sideways facing the entity is. I then compare the front dot value to see if it is front or rear facing and then compare the side dot to see what side is facing.

    Video of the effect in action. I am not sure if it's perfect but it seems ok to me.

    Subscribe to Construct videos now
  • oh ok that makes sense. and yes after some more test you are right it does return a positive number or negative number even if it's high.

    I might normalize later but I seem to have found another way? I either am normalizing the vector unintentionally or my math is only working in this isolated case. But either way it's working in the range of -1,1

    by multiplying the distance between the enemy and player by 3 and then dividing the dot product by that it seems to be returning a value between the range 1,-1

    as you can see in the photo when the only thing that has changed between the two snapshots is the distance the manipulated dot product has not changed (roughly as I manually placed the instances so it was not moved on a straight line)

  • mmm I am trying my hardest but I must be overlooking something.

    after digging this was the simplest understanding of dot product I could find. ( (a1,a2)•(b1,b2) = a1b1 + a2b2 )

    but the code is not working as implemented (is not returning a number between 1 or -1)

    It might be looking me right in the face but I am stuck right now. any input?

Sir LoLz's avatar

Sir LoLz

Member since 1 Oct, 2014

Twitter
Sir LoLz has 58 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