BenH's Recent Forum Activity

  • 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.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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.

  • 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

  • <img src="http://photos-a.ll.facebook.com/photos-ll-sf2p/v73/89/12/635396240/n635396240_64512_4891.jpg">

    Taken in 2007 I believe

  • Yeah it does, but performing a collision check is a pretty expensive operation, so it soon adds up in a large loop like that.

  • Nice, can still get ~250fps out on my 8800GT. You might be able to hack in opacity without a shader by importing semitransparent PNGs to the picture editor for the cube textures.

    The textures are already PNGs with transparency, but the cubes needed their opacity changing individually so that the texture fades out as the cubes get larger. Is there anything preventing the 3d Box object from having normal opacity?

BenH's avatar

BenH

Member since 9 Nov, 2007

None one is following BenH yet!

Trophy Case

BenH has no trophies yet!

How to earn trophies