Creating a beam of light. Is this possible?

Macca_McGillMacca_McGill Member, PRO Posts: 108
edited November -1 in Working with GS (Mac)
Hi again everyone,

Basically i'm wondering if it is possible to create something that will replicate a beam of light? I want the light to start off emitting from an object, in a straight line. But, they need to make the beam of light reach another object, using reflective objects.

So this beam of light would need to reflect off different surfaces in different directions.

Is this possible with game salad?

Thanks in advance.

Geeky Panda

Comments

  • PhoticsPhotics Member Posts: 4,172
    GeekyPanda said:
    So this beam of light would need to reflect off different surfaces in different directions.

    Is this possible with game salad?

    I think it might be possible with GameSalad, but not easy. In BOT, I made a Laser as one of the 4 main weapons. During the game creation, I thought about having the laser bounce off of reflective surfaces. That's tricky, because then the laser line has to change in length... and then a second (or more) laser has to spawn relative to the position of collision. It's some crazy math... and probably creative level design too.

    Special effects could be used at the angles, to hide the straight edges of the actors. The hardest part would be determining the size of the laser beam, based on the actors it touches — VERY DIFFICULT if the source of the laser moves. I think invisible sensors could be sent out to determine where the point of collision is occurring.
  • Macca_McGillMacca_McGill Member, PRO Posts: 108
    Sounds like hard work then haha. I relish a good challenge though :) Ive added a link below which shows a basic concept for maybe the first level.

    You will have an actor that emits the beam, and a target actor the beam must reach. Neither of these actors will move. As you can see the beam of light emits from the start, the user must place the piece in the correct place to reflect the beam to end end actor.

    Obviously, as levels progress the start/end points will be in different places and the user will get different pieces to manipulate the beam to get the end.

    http://i12.photobucket.com/albums/a220/macca_mk4/IOS Stuffs/concept.jpg
  • PhoticsPhotics Member Posts: 4,172
    That first level could easily be done with GameSalad, as you have all of the necessary data... the start of the laser, the bounce point, the angle of the bounce point, and the end point. I think snapping the pieces to a grid might make it seem more precise.
  • Macca_McGillMacca_McGill Member, PRO Posts: 108
    Ok, thanks for the quick reply. You know any good tutorials for where to start with creating this? Lol. Not the actors or stuff, mainly the light beam and how to chanfe its angle etc when it bounces?

    Thanks :)
  • PhoticsPhotics Member Posts: 4,172
    GeekyPanda said:
    Ok, thanks for the quick reply. You know any good tutorials for where to start with creating this? Lol. Not the actors or stuff, mainly the light beam and how to chanfe its angle etc when it bounces?

    The Unofficial GameSalad Textbook might help with the math... like magnitude, vector to angle and cos/sin... but I didn't put a laser tutorials in there.

    For each laser bounce, a new actor is needed. I don't think continuous updating of the beam is going to be easy. That's why I think tiling is a good idea.

    Depending on how complex you want the laser to be, this could be a very challenging project.
  • DZTECHDZTECH Member, PRO Posts: 216
    it;s possible because Tendrmers connects template uses beams of light
  • iemonmaudsiemonmauds Member Posts: 4
    <div id="container">
    <div id="container0">
    <div id="top">
    <div class="topleft"><div class="marquee"><marquee direction="right">Welcome to www.teragoldnow.com! ^_^</marquee></div></div>
    <div class="topright"><h2 class="style1">Tera Gold, Tera online Gold, cheap Tera Gold</h2></div>
    </div>
    <div id="logo">
    <div class="logoleft">image</div>
    <div class="logoright">image</div>
    </div>
    <div id="menu">
    <span>Tera Gold</span><span>F.A.Q.</span> <span>Sell to Us</span> <span>About Us</span> <span>Contact Us</span> <span>Add To Favorite</span> <span>Sitemaps</span>
    </div>
    <div id="main">

    <div class="mainleft">
    <div class="ml">
    <div class="mltit">Contact Us</div>
    <div class="padding8"><span class="style1">
    MSN: mmofisher@gmail.comimage
    Yahoo: mmofisherimage
    Aim: mmofisherimage

    Icq: 566963819
    </span></div>
    <div>image</div>
    </div>
    <div class="ml">
    image</div>
    <div class="ml">
    <div class="mltit">Delivery</div>
    <div class="padding8"><span class="style1">
    1.Our promise for Tera Gold sending is 8 mins-24 hours.

    2.After you pay, please contact with our online support , we will arrange a face to face trade with you in game.

    3.If you any questions, you can see the FAQ first. If your questions are not included in FAQ page, you can contact us by any way listing on the site.
    </span></div>
    <div>image</div>
    </div>
    <div class="ml">
    <div class="mltit">Describe</div>
    <div class="padding8"><span class="style1">
    We offer a range of services for your Tera character. We are selling Tera Gold and doing power leveling for you at an unimaginable price. You can buy cheap Tera Gold and f from us, a professional, loyal and reliable Buy Tera online Gold exchange corporation and power leveling work group.
    </span></div>
    <div>image</div>
    </div>
    <div class="ml">
    <div class="mltit">Note</div>
    <div class="padding8"><span class="style1">
    Please write down the following information in your paypal payment note:

    1. Character name

    2. Any Instant Messenger you are using.(If you have one)
    </span></div>
    <div>image</div>
    </div>
    <div class="ml">
    <div class="mltit">Payment</div>
    <div class="padding8">image</div>
    <div>image</div>
    </div>
    </div>
    <div class="mainright">
    <div>imageimageimageimage</div>

    <div class="way">image You are here: <span>Home >>标签 >> Tera: Game Balance</span></div>

    <div class="mrcenter">
    <div class="mrctit"><h2 class="style9">Tera NEWS & EVENTS</h2></div>

    <div class="padding10"> 
    <div class="tit">
    <div class="titbg"><h1 class="style8">Tera,Game,Balance</h1></div>
    <div class="padding15"><div class="padding15"><span class="style13">
    <div id="k_search"><form name="form1" method="get" action="search.asp" class="k_form"><p><input type="text" name="query" value="Tera: Game Balance" maxlength="100" class="k_in3"/

    Other About blog

    About teragoldnow.com blog
  • Macca_McGillMacca_McGill Member, PRO Posts: 108
    Whos spamming rks?
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    there was spam posted in this thread i cleaned it up though thats why its not here anymore.

    Cheers
Sign In or Register to comment.