Posts by Machart_Studios

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.

    The GET object does send the request as POST, so this is not your problem. The object only sends key/values as form data, you need XML. Even if you set the header to application/xml, you cannot put your XML content behind withount the equal sign of the "Add POST data" key=value structure. I also didn't work to glue the content to the "Set custom header"

    We had a similar problem here.
    Please login to see this link.

    So the closest you can get is setting the header to "Content-Type: application/xml" and setting the KEY of Add POST data to your XML, but it might be to complex. In the end you have what you want with an extra "=" behind ...


    It would work with an extra infrastucture inbetween, a small PHP script on a server which receives the malformed request and send a repaired one to the Indesign Server or you pay someone coding an extension?

    The Windows icon cache works very simple, it uses the same icon for a file with same name in the same place. So if you rename or move your file, you will see the actual uncached icon - or you reboot your system or use one tweaks to delete the icon cache: Please login to see this link.

    My wish to Microsoft would be to base caching on file size as well.

    I know it's always stupid to get a counter question or even the statement "you don't want that"... but I can't recommend you to program an installer either. There are changes in every Windows version that you have to take into account and whoever makes an installer actually also needs an uninstaller and has to register his application in the list of installed applications.

    I've been using InnoSetup for 20 years, it's still maintained today and has everything you need. If you have questions about InnoSetup, you can also get help here.

    Of course, if your goal was a fancy UI, no 3rd party installer will help you.

    Unfortunately I'm afraid it doesn't work with Fusion, not with the Get object and not with other objects that I found.

    This would help, if anybody wants to code a new Fusion object:
    Please login to see this link.

    Before you need to prepare everything with InternetOpen, InternetConnect, HttpOpenRequest and HttpAddRequestHeaders and read the response with InternetReadFile

    I just posted an answer to a similar question here:
    Please login to see this link.

    Fusion only handles key/values with the Get-object. So it puts an extra "=" behind your JSON if you add it in the key. I tried a lot with the headers but it doesn't work. In the end every POST is just a piece of readable text with some line breaks and syntax in it but when it's not possible to remove predefined "mistakes" in this generated string, then you're stuck.

    You can use my debug script for testing: Please login to see this link.
    It shows all header vars and the raw post data. I also added my testing mfa-file.

    Please login to see this attachment.

    So, the headline says this is a response object, something you receive as answer after you sent something. You can send this JSON structure if you want and you don't need the JSON object, it might become useful for next steps.

    You can test http posts here:
    Please login to see this link.
    You can send send your test structure to Please login to see this link., using POST, then click the content button and set the type to JSON (application/json).


    Please login to see this attachment.

    This request gives a success so I configured the header data correctly.

    But I cannot say, if the correct JSON data structure was received. The get object wants two parameters, normally for key and value of a "FORM URL Encoded" Post. What we want is JSON so I left the key empty and put all in the value. If the Get object is stupid, it puts everything together as form encoded: key=value&secondkey=second value, ... so maybe it puts an "=" beofore my json... don't know.

    Please login to see this attachment.

    You can have a look at example source codes at reqbin, some wrap the JSON with this:
    <<<DATA

    DATA

    You have to test it with the right target URL. If it's not your server, you can write an PHP-script which reads the POST from fusion, then you can analyze if it's valid/readable and possible debug it.


    Update:
    Fusion DOES add an = bewteen every key and value and does BASE64 encode every value. So the best you can do is to put you JSON ind the first parameter, the key and then you have a valid JSON-POST with an extra = at the end. Maybe it works but I guess it doesn't.

    I also tried to put things in the POST header or manipulate the header length, both doesn't work.

    We should start a off topic video game and hardware collection thread ;) I mostly buy games I loved as a kid and lost the big box or couldn't afford the game at that time.

    You can download both versions directly from clickteam.com:

    Please login to see this link.
    Please login to see this link.
    Please login to see this link.
    Please login to see this link.

    Just like for the newer products you need a pro licence to sell games or remove the splash screen.

    Thanks for your reply! I like collecting video games, too but I will not buy sealed or even graded games, I want at least theoretical play them. The auction on ebay is $180 for an used product WITHOUT a licence - this is insane! The whole retro video games market became very sick the last years, driven by WATA and VGA spreading the stupid idea, video games would be a good investment for speculations.

    I don't know if the CD version of TGF doesn't need a key and works with the physical disk as a proof of licence. I really like my big boxes of Quake, Day of Tentacle, Klik&Play and even MS-DOS and Norton Commander but this copy of TGF doesn't look very collectable for me. So what I'm searching for is a licence for about 30 Euro or Dollar with or without a CD.

    I often have trouble picking the right objects myself. Sometimes it doesn't work at all, sometimes unreliable. I have some code here that has worked reliably so far. Player can be your enemy and the hat is the hitbox.

    creating loop
    Please login to see this attachment.

    pick objects with same instance value
    Please login to see this attachment.

    Compare instances is a good method and in my case I added a loop for each Player. Loops can fix things which work mostly but not always (when two events happen at once maybe??)

    My code is just for picking, the overlapping can make things more complicated. I documented some strange overlap behaviour in this thread:
    Please login to see this link.

    If it doesn't work, try to separate the code like.... Set variable A to 1 when things overlap and 0 if not. In another line ask for instances and objects with variable A at 1. I'm just guessing, it's hard without seeing your code.

    I'm working with PHP nearly every day.

    It looks like it is not even PHP 7 compatible. All mysql_... should be mysqli_... (with an i) and some need the database connection in the first parameter ($db) but not the ones you added them ;)

    Everything should work fine now. Please let me know if not.


    The Physics Ball Movement has everything you need, it works great with Physics Grounds.

    Please login to see this attachment.

    You can finetune everything with ball density, elasticity and background friction, the only event you need is "stop" on background collision.

    Shooting the ball needs some more events, I didn't manage to do this with real physics from the rotation so I use the x-position within a flipper to set angle and speed.

    Moving in the ramps up and down works great. To get the ball under a ramp you'll need different layers and objects to detect when the ball leaves a ramp.

    Please login to see this attachment.