Posts by darkmanx_429

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 Random Multipool object would work well for this. It lets you choose a random number from a list (you would then use this random number to select from your actual item list).

    You could use something like Joshtek's second method, where you add multiple entries of the numbers you want weighted. Then once you choose your random number, you can use the "remove all occurrences of number" action to prevent duplicate results.

    Hmmmm interesting. Lemme look into it!

    One way is to have multiple lists and it first generates random number to determine whether it gets an item from the common list or the rate list. For example it uses random (10) and only picks from the rare list if the value is 9. If one list is empty it could automatically get something from the other list.

    If you don't care about duplicates you could alternatively have a list which lists the item IDs of everything you can get and you just have multiple entries for items that are more common.


    Well it would all pick from the same list of items that I have which consists of 6 items.

    I do have multiple lists but they are in sub-categories such as weapons, items and specials. Each list is assigned to it's own individual random generator.

    I followed this tutorial in order to creates a random item that is randomly generated from a pool (item 1 - item 6) when the player destroys the active object.

    Please login to see this link.

    Using this tutorial, how would I increase the probability of a certain item to appear more frequently over another? (i.e. common, rare etc.)

    I have jus tryed to adapt this shader first time to DX9 ;

    so ; the xml file : Shockwave.xml is like so ;

    and the Shockwave.fx is like so ;

    After the two files are saved;
    create windows project for DX9 and insert ACTIVe object with image texture
    do that on event ;

    every 0.05 sec change effect parameter t_timer to timer*0.0002
    and run the project normally the ripple fx is working;
    Regards

    Can you make this into an mfa for me?

    I have jus tryed to adapt this shader first time to DX9 ;

    so ; the xml file : Shockwave.xml is like so ;

    and the Shockwave.fx is like so ;

    After the two files are saved;
    create windows project for DX9 and insert ACTIVe object with image texture
    do that on event ;

    every 0.05 sec change effect parameter t_timer to timer*0.0002
    and run the project normally the ripple fx is working;
    Regards

    Thank you, lemme try this.

    Hi,
    There is more ripple fx shader here , you can choise one of them and after that port this to fusion ;
    Please login to see this link.

    Thank you.

    How do you import it into Fusion? Just copy the code over?

    From what I figured I make an active object then go to Properties - Effect and then Lens?

    And then from Lens to the Editor and copy the code from the browser to the effect editor under FX file or XML file?

    Never done this before so figuring it as I go.

    I want to make a special effect in my game where it makes a Matrix Ripple to the background, similar to helicopter scene in The Matrix where it smashes against the building and creates that ripple effect.

    How would I go about doing this?

    Please login to see this link.

    Can someone explain to me how I would go about coding a seamless auto scroll? In my example, I would like to assign my active object (an image of clouds) to a background layer and have them scroll and loop in the background. It is merely for an effect purpose.

    What I have been doing is giving a pinball movement to the active object in the direction I want it to go in and then making a 2nd active object that is a duplicate of the first also giving it the same movement pattern.

    I then just add an always function to create endless duplicates that meet at the action point of the first object. I then assign another timer condition to destroy the duplicates after a set number of seconds to avoid endless duplications. I added a fade to the 2nd duplicate upon destroy so it looks seamless.

    Just curious is there an alternate way to have seamless auto scroll?

    Try making your Rectangle different colors for each animation.
    I.E. Red = Stopped
    Yellow = Walking
    Green = Running
    Black = Falling
    Blue = Jumping

    Maybe your Rectangle is stuck in the Jumping position and is allowing the player to walk through the platforms. You will know if that is the case if the color is stuck on Blue.

    I use Actives for Platforms as I find the Background Platforms always seems to cause issues.

    That is a good idea for debug. I will get to that. Thanks!

    EDIT: Figured it out, I had Whole platform against Whole Object checked on my Jump through platform collisions. Changing it to top pixel to platfrom against bottom of object fixed it!

    Is it possible to use directional presses to actually click a button instead of with the mouse cursor?

    I feel like this is possible with Key Binding. Like assigning right arrow to click a button you made and that button can activate or deactivate a group of events in the editor...I am not sure though.

    This is how I am thinking about going on to make a double tap function with the same directional arrow. I.E. 1 tap for walk 2 taps for run

    EDIT: Figured it out. I was able to Key Bind it to directional presses. Now I am working on assigning those button presses to being able to activate and deactivate my walk and run cycles.

    That is how I am doing it. I have a " player sensor" rectangle invisible while in game. Right now the rectangle is only used for movement, any other animations are used with the sprite not the player sensor.

    I do have an always event that sets the position of the sprite position to the player sensor but that was specifically for jumping through platforms.

    I am using the PMO object for my platform game and have created a player sensor for my character. I have several single blocks I have created for the character to also stand on long side the obstacle type for collisions. The issue is that my character can walk through these single block platforms as well as stand on them. What could be causing this and how do I fix it?

    EDiT: Figured it out! What I did was I did a key bind to a button, enabled it by using a directional press and then used a new counter to keep track of the directional press in either direction and then just assigned that animation to a new PMO object.

    I then added a timer value to reset the counter for the duration of the sprint animation to cycle through.

    Everything works great!

    I'm not a hundred percent sure what you want, but at least on the meat you set the counter to -3, not add.


    Good catch. That actually helped me figure out the issue with the player pickups, I had to actually set the counters to "set to counter" and the value according to the lifebar graphic frame not the actual lifebar counter values.

    EDIT: Fixed. The issue was my lifebar frames were in the wrong order corresponding to what the value of my counter was compared too. I wasn't inputting the graphics frames counter clockwise to my 8 directional movement.

    I am a bit confused using the Health Bar Example by Marvin Hull (Nivram) for my game.

    The first thing that threw me off was, I originally had my custom life bar segmented into 10 slots for the status icon but then the slots for stopped frames only went up to 8 and then the next up was 16. (Which was too much to deal with) so I resprited my lifebar for only 8 segments.

    I made a lifebar counter with the initial value of 100 (full life) and the maximum value of 100 with the minimum value of 0. (Death)

    I then assigned damage events to the lifebar in the Event Editor. I wanted to go into powers of 10 in regards to the player being damaged or whatever numbers I wanted but it doesn't seem to be working that way.

    I made a spike hazard with only one action when event loops and when the player hit's it subtracts -1 from the lifebar counter and shows the appropriate lifebar graphic damage frame.

    I am confusing myself because under the damage events for my lifebar counter I just a used a compare the counter to the value and assigned 1-9 to each of the corresponding frames of animation. I don't think that was right though because when I try to use some player life pickups I have to input negative numbers in the life bar counter for them to work.

    Then the issue comes with say I hit the hazard and it takes off 1 life bar block and I grab a 50% life pickup. The pickup won't actually register to the player unless I hit the hazard again and then instead of dealing damage it will give life instead!

    I am so confused.

    the tap is just a counter; when the counter = 2 ( for 2 taps) - perform your move. otherwise its moves as normal, and the counter will reset every 1 second ( or whatever you want for the speed of doubletap )

    Interesting. It didn't think of counters actually being used that way for the game in regards to directional tap. I am going to experiment today with that and get back with you! Thank you.