BenH's Forum Posts

  • i have another idea

    this little draggy is hungry and its momma gave it an egg to eat. but the draggy likes tobe a vegetarian so it is trying to search spinach ( remember popeye i dont thing he is a relative of some .....eye). so to find spinach the draggy left the castle in the night . but after some time it realizes that it is in era 2991 as he is having some mechanical body. so it has to find some thing which would help it to go back to era of popeye.

    thats it na.

    I think this might be even better post-of-the-year material

  • I think stuff like that is probably too specific to be included as a feature

  • This will work for pressing the letter keys, just change "k" to whatever letter key you want to check.

    if MouseKeyboard.KeyDown(ord("k")-62):

    Sprite.Angle += 1

  • JPG is working fine for me, too. It must be the compression you're using on it.

  • I think they're conjoined

  • Nope, that'd be Romanesco broccoli

  • Have you tried changing the condition to "if Ball is overlapping brick" ?

  • off topic, but how did you manage to put an expression into the 'set color filter' action? it defaults to a colorpicker ...

    After you've chosen "Set colour filter" as the action, right click where it says "Filter", and you can choose to use an expression from the menu that appears.

  • Scaling a sprite shouldn't affect it's rotation, are you sure it's not rotating because of the movement behaviour it has?

  • That's really cool! The little puffs of smoke that come off the tank are a nice touch, too. I was doing a similar normal-finding engine thing the other day for a sonic-style movement engine.

  • Oh yeah, I forgot to mention that timelines in Game Maker generally attach to an object, and then the code in the timeline executes as if it were dealing with the object itself. Therefore, you can create generic timelines which might make an object shake or spawn explosions around it and then that timeline can be used on any object you attach it to.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • what would a seed do? random is random (i think... )

    Computer generated random numbers aren't truly random and are generated using an algorithm (there are lots of different methods), but that algorithm needs a starting number to generate all the others from. If you put in the same seed number, you'll get the same results each time, so often people use the current time in milliseconds to seed the generator so that it appears different each time. However, like Broo said, it can be useful to set the seed number, especially if you want everything to happen as it did the first time like in replays for example.

  • The game maker timeline uses steps (basically ticks) as it's time scale, and when you add a point in time you can then directly add actions and code that should execute when that time is reached or passed.

  • Is it possible to set the seed for the random number generator? That kind of thing can be pretty useful, especially if you're doing procedurally generated stuff.

  • 24