Posts by yonmacklein

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.

    I've been stuck on this for a few days. In my game, there are platforming phases, where I use the "Platform Movement Object (PMO)", but in some levels, I am using the Eight Directions movement that MMF2 includes. The fact is that with a keyboard, no problem, but when I want to use the gamepad (I use the SDL Joystick), I can't see how to make my 8-way player move with the gamepad. Can someone tell me how the gamepad buttons are associated with an 8-directions player?

    Well, it seems that it was more complex than I assumed, so I think I'll use a simpler alternative solution (simply add a few more pixels in X to each sprite, even if they always remain displaced).

    I have tried to do this solution that Sergio gives, I don't know if I didn't do it right, but it didn't turn out the way I wanted. Although I will continue thinking about that idea because I think it should work (I tried copying XY values as alteredValues and then adding and subtracting them every 5ms, and positioning the object according to those values but I haven't been able to do it well either, but I think it could be... ), but for now, I will stick with what I said in the previous paragraph xD (which was what I was already using).

    Anyway, thanks everyone!

    I don't have much knowledge of MMF2, what you mention about the list, is it done with the array object? Do I save the position at 0?

    Always: Please login to see this attachment.

    and then... to my sprite, I tell it to load its position from the array like this?

    Always: Please login to see this attachment.

    I guess I'm doing something wrong (or very wrong), I certainly don't see my second sprite even on screen.

    Hi, I use PMO, an invisible rectangle is what defines the movement of the player sprite, I simply say "Always set position (0,0)" to my player sprite, all that is perfect.

    My question specifically, I would like a second sprite to follow the movements, with a brief delay. For example, something similar to what happened in Sonic 2, with Tails following Sonic (I don't need him to try to find new paths, just repeat the player's movement but with a delay). Any suggestions on an easy way to achieve this?

    Please login to see this attachment.

    Hello, look, I'm quite clumsy when it comes to development (i'm creating my first indie game), but the truth is that it's fun to move forward and solve problems. But I have one that I'm not sure where it can go... I have some events to do a double jump (with PlatformMovementObject), which work with the keyboard (using Control-X), and now I'm trying to make it work with the gamepad (I'm using the XboxGamepad extension) but it doesn't seem to work...

    Please login to see this attachment.

    What I show in the screenshot... the "Jump" event when pressing the B button, if the "doublejump" variable is equal to 0, and the player is on the ground... then I tell the player to jump, and that the sprite changes the "doublejump" variable to 1

    Then in the second "Double Jump" event, when pressing the B button, if the "doublejump" variable is less than 2, and the player is not on the ground... then the player jumps again and I change the variable "doublejump" to 2

    Finally, the reset, when the player is on the ground, his "doublejump" variable is 0.

    As I say, with a keyboard, it works for me, I attach another screenshot in case someone can see what happens better.

    Please login to see this attachment.

    By the way, I'm using the XboxGamepad extension, it's the only one I've managed to get to grips with, but does it work? I have read that some games were causing problems with the extension after a Windows or DX update... I have seen that they recommend SDL Joystick (or is it now SDL Object?) but I couldn't make my character move xD

    Thanks in advance.

    Edit: By the way, since I'm asking about this... another problem that I couldn't solve. The gamepad part, my characters move if I use the D-pad, but it seems that if I tell them to use the stick they don't move, any ideas? Do I have to try something different from the stick to the d-pad in the extension for it to work?