Lamp extension v0.01

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • Hi,

    I know I've been away, just working and stressing out, and between that I try to also relax. :)

    Here is a small extension which goes out to all newbies.

    Actually, there are two extensions:

    * Please login to see this picture. Lamp Extension
    * Please login to see this picture. Lamp sheet extension

    One lamp sheet needs to be put in the frame for the lamps to have any effect.

    When done this, you can easily place several lamps:

    Please login to see this picture.

    And this is the effect:

    Please login to see this picture.

    Here is the link to the extensions:

    Please login to see this link.

    And this is the link to the extension INCLUDING an example of Risky Waters, night edition (including EXE and extension MFX files):

    Please login to see this link.

    Please login to see this picture.

    ---

    Please note that the extension is still in a very early stage, so I can use feedback.

    Any ideas?

  • Quite interesting, could be useful for lighting effects. Does the extension support alpha channels? (So the edges can fade away/anti alias/smooth out.) Would be cool to shade the lamp objects with a colour also. Just some ideas.

    Making games at Please login to see this link..
    Please login to see this link. on Twitter.

  • Just question is there availability to add 'Lamp room' extension which would show chosen objects and background as grayed?

    If yes it would be great extension used for example as fog of war in shooters or strategies.

    End is near.

  • And also I would suggest to give opportunity to declare shape of lightening because for example torch isn't giving circle light. And it also would be useful in cooperation with War Game object.

    End is near.

  • DizzyDoo: The easiest and I think most powerful way of enabling alpha channels, is to make the Lamp Sheet extension load a PNG image that is blitted on screen, and not a color, maybe... and also add alpha support in the color that is filled as well. Good suggestion.

    Also, enabling the alpha channel would allow for lamp color.

    Fanotherpg: I've thought about the ability to change shape, but how would one specify a shape? Polygon, number of edges? Dot matrix (please no)?

    Regarding Lamp room, I didn't understand what you meant, please specify... Is it not possible to do through making the Lamp Sheet use a grey semi-transparent color? (not possible now though)

    Any ideas?

  • Bornemix, about changing shape I think that editing/loading picture (Like in active object) or giving availability to use polygons (from Properties tab and/or Event Editor) would be great. The best option would be to use both.

    And about lamp room. I mean to specify zone (for example again shape or polygons - where shape could be used as background of the room) where after leaving lamp objects are leaving gray semitransparent shadow which overlaps specified objects and some of them make invisible, and others semivisible). For example in Starcraft the background after we discovered fog of war (the black zone) and return with our units. The background was grayed. And not like now back Black. But we didn't see enemy units in this zone (like also in not revealed black one).

    I hope that you understand me now clearly. Because way in which you are proposing it would be ehm a bit memory consuming because I would have to have a lot of lamp objects in a frame to use it with for example war game object.

    End is near.

  • Oh right. You mean a replenishing fog of war.

    I think it's a bit out of scope of a LAMP extension.

    BTW, I hope you don't have too many lamps in your game, as it would be memory consuming just as you stated.

    I'd recommend maybe 5-10 in order to have good speed.

    Any ideas?

  • I think this could easily be condensed into one object. Just the lamp sheet extension, similar to the overlay object.

    You should be able to draw lights onto the surface from position data (ex. Draw circle light at (50,50) ), and specify a blending amount for softer looking lights.

    You shouldn't make a separate object for the lamps, that'll just eat memory.

    EDIT:If you don't add an alpha channel this is basically a glorified overlay object.

    SoapCow's first iPhone app! Available now!
    -> Please login to see this link. <-

    Please login to see this link. <- Flash portal with a focus on Clickteam made games!
    Please login to see this link. <- A cool MMF made flash game!

    Twitter:
    Please login to see this link.
    Facebook:
    Please login to see this link.

  • Hi,

    Yes, it's like the overlay object in many respects, only that you can create lamps to draw circles directly :)

    This extension (suite?) is meant for the newbies, that's why I press the separating of the extensions... But I'll try to make some alpha stuff and also maybe release the source code.

    Any ideas?

  • Yes, this is correct, I'm just saying that I can't REMOVE the Lamp object, just keeping the Lamp sheet :)

    On the other hand, adding functionality to manually draw a lamp won't hurt.

    Any ideas?

  • Nope that wouldn't hurt at all, and if this is more optimized I would use it. Noob or not.

    SoapCow's first iPhone app! Available now!
    -> Please login to see this link. <-

    Please login to see this link. <- Flash portal with a focus on Clickteam made games!
    Please login to see this link. <- A cool MMF made flash game!

    Twitter:
    Please login to see this link.
    Facebook:
    Please login to see this link.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!