smitchell's Forum Posts

  • You can use the HTML_DIV to some extent. Think of things that never really need to programmatic be manipulated, Like backdrops. Those could be downloaded from the HTML_DIV.

    You can move things using the HTML_DIV, and make it jump i guess..

  • I have not looked at your capx but if i undersrtand what your saying then try this:

    Global var BombCounter[0]

    Global var BombHP[1] // only needs 1 hit

    Global var BombTimer[1.0] // add a timer for the bomb so you can increase the timer as the difficulty increases <img src="smileys/smiley1.gif" border="0" align="middle" />

    System.onStartOfLayout

         -> System.setVale(BombCounter[0]) // this will benefit you later when you want to restart the game.

    system.Every[BombTimer]Seconds

         -> System.CreateObject([Bomb], random(WindowWidth), -10)) // create a bomb at a random x position, and a y of - 10 so we dont see it spawn

    /* Im not sure how your destroying the bombs but i'll pretend there with bullets or something similar */

    Mouse.onClick[Left]

         -> System.createObject([Bullet], Mouse.X, Mouse.Y)

    Bullet.OnCollisionWithObject[Bomb]

         -> System.addTo(BombCounter[1])

         -> System.addTo(BombHP[1])

         -> Bullet.Destroy

         

    System.CompareVariable(BombHP > 1)

         -> Bomb.Destroy

    System.CompareVariable(BombCounter > 3)

         -> System.setValue(BombCounter[0]) // set it to 0 so we can count again

         -> System.SetValue(BombTimer[BombTimer - 0.2) // increase the speed the bombs spawn at Note, This was rushed and straight out of my head, If you need a example capx let me know

  • I don't see how 'Wait' can be hard to understand, Its pretty self explanatory <img src="smileys/smiley1.gif" border="0" align="middle" />

  • There is no official expression to get it.

    You will have to do some work <img src="smileys/smiley4.gif" border="0" align="middle" />

    Basically you need a global variable, name it appropriately.

    I named my LayerAngle

    Now make the event to handle the rotation, For this example i'll just do a mouse click.

    Mouse.OnClick[Left]

         ->System.addTo[LayerAngle(90)]

         ->System.SetLayerAngle([Layer], LayerAngle)

    System.CompareTwoVales(LayerAngle > 360)

         -> System.SetValue(LayerAngle(0))

    That should work, Let me know if you need a capx

  • Yes using the HTML_DIV 3rd party plugin. But you will not be able to enter the competition using any 3rd party plugins.

    Also if you load the image using the HTML_DIV, you cannot really do much to it, You wont be able to give it a behavior.

    You can move it around using its x and y position, I guess you could do quite allot with it, But it wont be as easy as your probably hoping..

  • Weishaupt, you know there is a 10mb limit to the arcade, And the comp entry HAS to be on the arcade..

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Tom, if we enter the competition are we allowed to put it on other places? Like I would have it on the arcade obviously but I would also like to put it on Facebook...

  • I agree with the Others.

    I plan on my game being HD so graphics will be pretty intense.

  • 1, not sure unless I see a capx or printscreen of some code.

    2, it's probably to do with his computer not having updated graphica drivers or something.

    3, yeah HTML pretty simple, I'll post an example in the morning.

  • septeven, Yeah definitely.

    Yeah I can imagine its huge!!

    Would it be possible when you have the chance to give a few feature's it will include?

  • If you need me to make a little capx showing some things you can do with Facebook, I'll be happy to.

    If you use the third party plugin(URL image) or div image (don't remember what it's called you can get the users profile picture quite easily, might be useful if you want in game avatars or something

  • Ok <img src="smileys/smiley4.gif" border="0" align="middle" /> Good luck! Nice game anyways <img src="smileys/smiley1.gif" border="0" align="middle" />

  • "Every game must make use of the system 'Rotate layer' or 'Rotate layout' actions. It must be an important feature of the gameplay and not just added on as an afterthought."

  • Didn't the competition state rotation must be the main functionality of the game? Meaning the game has to revolve some way around rotation?

  • Hi, nice game. But how are you planning on incorporating rotation into this?