Jase00's Recent Forum Activity

  • Hey rexrainbow, this plugin is awesome!

    I have been trying to make a ray system for lasers for a while now, but I could never produce something that didn't kill performance whilst maintaining high accuracy. My final attempt involved setting the laser to it's "maximum width", then dividing the width until it no longer collides, then multiply the current width a little bit blahblah, it didn't work too well and performance was bad. But then you bless us with this beast of a Behaviour!

    Before I attempt to even begin to interpret how you made this plugin work, could you tell me how you done it in pseudo-code? Would this behaviour essentially be possible to recreate in events?

    I would think the most accurate but CPU-intensive way is to increase the width +1 in a loop until it hits a wall then -1 width and done. I'm very curious about how done this

  • Hello!

    Sorry for not making bug reports but I don't currently have time to look deeply into this and have tried to recreate it but failed, and there is a workaround. I wanted to see if anyone else is running into a similar situation.

    So in my scenario, I have a powerup that creates a shield that gets positioned onto the player.

    In the event where the shield spawns, it sets it's instance variable "PlayerUID" to the player to stick it to, and in another separate event, it positions at the player as long as the "PlayerUID" matches the Player's UID.

    This works fine, until a recent update (can't pinpoint when, but past 2 updates? ). Now the shield gets created but doesn't position at the player.

    So you might be thinking "Maybe it's a ForEach problem?" or maybe it's my own code error somewhere else? Well... here's the best part. the shield will begin to stick onto the player the next time there is a "Wait 0" command. I can literally create a new event like "On K pressed" (knowing I do not use the key anywhere else in my events) and put "Wait 0" as an action, run the game, spawn the shield, see that it isn't sticking to me, hit K, and boom, the shield begins sticking to the player all the time like it should be.

    Another Workaround is to put 2 "Wait 0" actions at the end of the "Create Shields" event, the shield spawns and sticks to player as it should.

    [NOTE: I have not used "Wait for signal" at all in my project]

    I can't replicate this in a separate capx but man I really thought this was my own error but the fix literally throws me off completely.

    Hope this reaches someone in a similar situation if they are stuck. Wait 0 is your friend.

  • You do not have permission to view this post

  • Have you tried making the host forward their ports? Usually if it works via Hamachi, port forwarding will help with not using Hamachi.

    It's probably better to Google this but I'll run down the basic gist of what you need to do.

    • Find out the ports your game uses (I haven't touched the Multiplayer plugin in a while so I don't remember if it lets you choose the port but yeah)
    • Go on the host's computer
    • Login to your router (open up a web browser and type in something like "192.168.0.1" into the address bar to get to your router)
    • Enter your Username and Password (This is probably located on a label on the actual physical router).
    • Hunt around the web interface for a section called "Port forwarding". (It may be under "Advanced Settings" or something, it varies on every router.)
    • This is where I'm more hazy in remembering what to do, but it might be as simple as typing in the Port numbers and clicking "Add" or something, maybe having a tickbox of "TCP/UDP".

    That should be all. Google is definitely your friend, my explanation is just from memory from years ago when dabbling with networking.

    Hope this helps

  • As of right now, if you check Ashley's profile, you will see that he has "Visited" for 1 day, and also "Consec days posted" for 19 days. That is pure evidence

  • Looks awesome!!

  • When you do "Set bullet angle 180", make sure that, in the same event, you are creating the bullet before you set the bullets angle, so that Construct 2 knows which bullet to pick to change the angle of.

    So lets say "Space" shoots a bullet, it should look like:

    "Space" is pressed

    Is Mirrored

    Create object "Bullet"

    Set Bullet angle to 180

    "Space" is pressed

    Is NOT Mirrored

    Create object "Bullet"

    Set Bullet angle to 0

    [You could make this into sub events to be efficient but it's not important ]

    What this does, is when you create the "Bullet", Construct 2 then focuses on that particular bullet and WILL NOT affect other bullets.

    If you did this as an event instead:

    "Space" is pressed

    Is Mirrored

    Set Bullet angle to 180

    Create object "Bullet"

    Then it will first detect all bullets and set their angle to 180, THEN create a new bullet and not even set its angle!

    Hope this helps.

  • This came up in this thread recently. I have still been logging on and visiting every day since I made that thread but lost my streak multiple times The only things I can recall doing or suspect is Arcade or the new Shop, but I haven't been able to trigger it.

    I should have reported this sooner into this section of the forums

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Nice! Can't wait to hear more! Subbed

  • Hello,

    Set the animation speed to 0, then go into your events and go on the "On click" event and make an event for the Sprite that has these frames, and choose "Set animation frame" and when it asks you to enter a value for the frame, you will want to type in "Self.AnimationFrame+1".

    That's about it

    When it reaches its final frame (10th frame) and you click again, I think it will remain on the 10th frame. But yeah, hope this helps.

  • I've not managed to solve this and not quite sure what to do

    Does anyone have any good reading material for GLSL? I remember looking at a PDF file I found but I couldn't figure much out.

  • Awh man, hopefully there's a solution to this

    Edit: Oh wow mine is at 0 again! It's either the Arcade (which I visited for sure today), or perhaps maybe the concept of logging on in multiple locations maybe? (I have 2 browsers I login to Scirra with, and a phone browser, and others)

Jase00's avatar

Jase00

Member since 5 Jan, 2012

Twitter
Jase00 has 11 followers

Trophy Case

  • 12-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • Unrelenting Visitor Visited Construct.net 180 days in a row
  • Continuous Visitor Visited Construct.net 365 days in a row
  • RTFM Read the fabulous manual
  • x15
    Quick Draw First 5 people to up-vote a new Construct 3 release
  • x7
    Lightning Draw First person to up-vote a new Construct 3 release
  • x7
    Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

26/44
How to earn trophies