Posts by falkon

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.

    for the collisions, you have one event that says
    collison with backdrop> movement stop

    since you made the bad and table and such out of actives they are not considered "background" objects by mmf.

    In order for this to work you need to make a bunch of

    Smiley collides with bed > smiley, stop.

    I'm new to extension making, and have been working very hard to try to make a worthwhile extension, but first i need to know what a few functions do...

    Code
    (1) rdPtr->rHo.hoImgWidth
    (2) rdPtr->rHo.hoImgHeight
    (3) rdPtr->rHo.hoImgXSpot 
    (4) rdPtr->rHo.hoImgYSpot

    if (3) and (4) return X,Y coordinates of an object, where would they be located ( for example the top left corner?)

    What i am trying to do is to calculate the X of the right edge, The X of the left edge, The Y of the top edge, and the Y of the bottom edge, after the user picks an object with PARAM_OBJECT ( I know about all the stuff dealing with PARAM_OBJECT)

    If i cant do that with these functions please list some that would work for that purpose.

    Also, i change rdPTR to the string where the object name is kept, correct?

    whilst trying to develope a quick game i came acroos a problem when setting an angle, scaling the active then testing collisions...

    In the example there are a few buttons in the upper tool bar, the far left buttons are the only ones that work atm.

    Click the button with a line through it, it will create a line with an angle of 0 ( unless you changed it) on your mouse, now use the mousewheel to resize it and place it in the frame somewhere...

    now reapeat the process but this time change the angle of the active by clicking either the up or down button, now if you try to scale this piece you will notice that the piece will stop scaling, this is because the collision points get messd up over the active...

    I need to find a fix for this without disabling fine detection because that screws everything else up that i am trying to do...

    yes you would, the way i structured it it got the last two things, which is what he wants

    if the filename was C:\hi\my\name\is\bob\and\i\like\polka\dot\hippos\yay.mp3

    it would return hippos\hey.mp3

    if the filename was c:\hi\oh.mp3

    it would return hi\oh.mp3


    Edit wait i see what you mean

    And i havent been clicking for 4 yers for nothing. :)

    i believe what your trying to say is that if you want to return more than the last two file/folder you can but you cant change it dynamically. WELL you are wrong :)

    loops, magical things they are.

    so the code would be.

    start loop "file name" number of subfolders time
    and set counter to number of subfolders.

    than on loop "file"> set string A TO
    global string A+"\"listGetAt$( "String Parser", listCount( "String Parser" )-value( "Counter" ))

    and subtract 1 from counter.

    i realise this will create an extra "\" at the first loop, but can easily be worked around. or used, i believe with the Appath$ function

    this will return all the subfolders you would like

    rhis can be very easily don using the string parse object

    firstly add the delimiter "\"

    then

    (something happens here)> set alterable string A to

    (copy and paste code if you like)
    listGetAt$( "String Parser", listCount( "String Parser" )-1)+"\"+listGetAt$( "String Parser", listCount( "String Parser" ))

    we cant help you because we do not have the image files that are supposed to be in the game.

    to load images, you need to use the $appath command, this gets the application pathname.

    an example if your game's path is C:\documents\game.mfa

    than using $appath will return C:\documents

    than you can do
    Load image> $appath+"\background.png"

    as long as the image is in the same folder as the game it will work.

    Well i already answered in gwerdy but i figure someone else might need to use this


    use special conditions, click on the execute program

    Then execute the program explorer.exe (evaluated pathname)
    for the command line type in the folder path (the full path)
    then press ok on the next thing.(without changing it)