CReyWillis's Recent Forum Activity

  • Ill try that out Jayjay, thanks for the tip.

    I found another way, not sure if its the best way, but it worked for me.

    At the start of the layout I generate a random number within say 1 and 100, and store it in a global variable.

    I set this number at the layout start because I use it to randomize other stuff too.

    At the end of the layout, if my number is between 1 and 10, go to layout 1. If its between 11 and 30, go to layout 2, between 31 and 100 go to layout 3, etc.

    Don�t know how practical this is, but it does the job and it also lets me decide how often a layout should appear by playing around with the ranges.

    In this example layout 2 would be used less than layout 3, but more than 1 because of the chances my number has to land on each range.

  • Nevermind, figured it out by thinking a little more, now i feel dumb.

  • I want to go to a random layout when a level ends. Random within a select group of layouts, so as not to go to the menu or whatever.

    I thought about spawning a random invisible tile at the levels exit that corresponds to a unique layout, but this doesnt seem to be the most practical way to achieve this.

    Any of you out there have a better, easier way?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Worked like a charm <img src="smileys/smiley17.gif" border="0" align="middle" /> Thanks buddy! I had set the cone angle to 180 but without setting the y randomness so high to equal the screen height and it looked like crap. All good now. I still have to put the emitter pretty far off so that i don�t get random particles going to steep up or down. It looks a lot more chaotic closer to the emitter but that�s not an issue. Thanks again!

  • Is it possible to have the particle object emit from a line rather than a single point? I want the resulting effect to look like flakes coming from the side of the screen going all the way across.

    I tried rendering a png sequence of particles in 3ds max that occupies the entire screen but its a little too heavy memory wise and i would rather avoid it if possible.

    Any ideas?

  • Will do. Thanks for the help buddy!

  • Hi! Im new to game making and i just ran into my first problem while trying out some animations i did for this ninja character.

    I got the standing, running, jumping, falling working ok. But i cant get the "ducking" one to work right.Its the only one that doesnt have one of those default tags. I can imagine i would have the same problem adding any other kind of action.

    I added a keyboard object and set an event for it:

    down key is down --> set ninja animation to "ducking".

    For some reason it only goes to the first frame of the animation.

    Can anyone take a look at this and point me in the right direction please?

    dropbox.com/s/rp2s597lt2jozbt/Ninja_01.cap

CReyWillis's avatar

CReyWillis

Member since 17 Jan, 2013

None one is following CReyWillis yet!

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies