Bertie Booster's Forum Posts

  • then use either:

    block => on Created

    or

    block => Is on-screen

    Trigger once while true

  • Have you tried doing what Digitalsa suggested, it should work.

    Without the code I can only guess that you are either:

    Not setting the text to the value of the score var correctly.

    Resetting the score var to zero at an inappropriate time eg before the restart button is pressed.

  • Tbh Flary that's a very simple game, if you took a little time to learn C2 you could make that game yourself from the original artwork in just a few hours.

  • Why? Because years ago I found it softened the staccato syntax of several languages and now I'm older because it's a habit and easier to read without my glasses. <img src="smileys/smiley1.gif" border="0" align="middle" />

  • <img src="http://s8.postimg.org/5wj1587lh/ransom.jpg" border="0" />

    This would do it.

  • Create a new layer, set the layer parallax to 0,0 put the controls on this layer and they will stay in place.

  • On my 5 year old PC   <img src="smileys/smiley19.gif" border="0" align="middle" />

    FPS-60

    Object Count 82

    Mem used 26.94

    Spec Q6600 Core2Quad , 3GB Ram,2 X Radeon HD4870 in Crossfire, 3 year old Win 7 X86 install.

  • Your event Pin is pinned is checking to see if the logo is pinned. If it is pinned then it pins it...... If it isn't pinned then it doesn't pin it.

    Can you see what you've done?

    Setup another event such as System -> on start of layout instead of the Pin is Pinned and it should work fine.

    An alternative is to simply "invert" the Pin is pinned event (right click it/select invert) then if the logo isn't pinned it will pin it.

  • You might find this article useful:

    scirra.com/tutorials/67/delta-time-and-framerate-independence

  • Why don't you simply populate your array with the desired values and then use n=floor(random(100))to select a random value from the array at n,1?

  • <img src="http://s16.postimg.org/lowgyjtk5/textbox.jpg" border="0" />

    (I've only put the webstorage thing in as a placeholder, don't try and replicate that part).

    With the System/Create Object action you can create anything that's in your game at runtime then once you've created it you can assign it whatever properties you choose.

    In the above example I created a textbox you could just as easily create text or better still spritefont text it's all the same process System/Create Object.

  • <img src="http://s22.postimg.org/4zq0mxjdd/css.jpg" border="0" />

  • bertie Booster

    Thanks for all of those! Curious about a couple:

    > A 32px square with collisions set to bounding box causes much more stress on the fps rate than the same square with the collision boundary set to (1,1),(31,1),(1,31)(31,31).

    ???

    > Try rotating a square 45 degrees if it doesn't affect the objects interaction it can reduce collisions.

    Why would this be? Maybe because there are generally more vert/horz surfaces than diagonal, and rotating the square means you touch most objects with just the tip of your col poly?

    Collisions really do eat up a lot of cpu. Col cells really help, but if you have a lot of moving objects in a small space, it can still get very laggy, very quick. However, with some thought, there are usually optimizations that can be done (many involving checking cols less often).

    Ah this wont always be the case, but in certain types of games such as grid based games, bringing the coll polys in from the edge has the effect of stopping them from colliding with adjacent cells.

    Again rotating 45 deg wont always work but it can reduce the contact points/area of contact on a face which can help reduce collision count.

    I'm advocating being creative and spending time playing with the coll polys to see if you can optimise, the results can be dramatic.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • That is a very very nice solution RojoHound, I'm a lover of nailing grid positions with arrays this works very well indeed.

  • I assume that when you created the CD you immediately pinned it to the sword?