Headbang Games's Recent Forum Activity

  • Save your score as a global var, you can access them form every layout of the game.

  • That's pretty basic,

    Add an event:

    on A key is down, player simulate platform pressing left.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • anyone tested this with crosswalk?

  • You can use a text box object, it automatically opens the virtual keyboard for you and you can choose if you want the field to be used for username/password/email input.

  • There is nothing built in that does that, but you can change the image of a tiledBG object using load image from url, just import the files into the files directory in your project and load them by name.

    You can load them into an array and loop it with a wait delay between frames.

  • Instead of using set angle, use physics torque, then it will react to other physics objects in the game.

    To reduce bounciness and reduce/increase turret speed, play around with the turret Angular dumping and the torque magnitude values.

    https://googledrive.com/host/0B3JLq-yXZ ... /Tank.capx

  • R0J0hound

    Here is a little update for your plugin, Export canvas into an animated gif.

    First use action Set Delay between frames.

    Then use action Start Recoring Animation to start a new animation.

    Then use action Add Canvas As Frame (repeat as many times as you want).

    To close the animation use action Export Animated GIF.

    Now you can access the file for download or for saving with the expression canvas.encodedGif

    http://badpadgame.com/canvasGif.zip

  • TextBox/List/Button and all other Html objects are not rendered inside C2 canvas, they are displayed in the html on top of the canvas.

    So you can't draw anything above them.

  • I usually make a function that reads the data from an array with loopindex-ed position.

    Or you can use the board plugin:

  • It might be a 3rd party plugin your using.

    If so, try removing them 1 by 1 and test it again.

    When the game is loading you can press F12 then ESC to see chrome console, check it and look for any browser errors.

    If one file is missing, it will not load properly.

  • If the collision mask is not important and all you need is to split the graphics, you can use a mask object.

    Create 2 mask objects (color the unwanted parts in black the rest leave transparent) and set the blending mode to Destination out

    On the layer settings where the object is on set:

    1. Transparent YES

    2. Force own texture YES

    Now create 2 instances of your object and the 2 masks and pin them to the object.

    If the mask is the same on both sides you can just mirror the same mask.

  • try this:

    onTouch canvas - begin path

    isTouching canvas - draw path with color, line width

    lineTo touch.x touch.y (if you got the canvas hotspot in the middle)

    lineTo touch.x-canvas.x touch.y-canvas.y (if the hotspot is in the top left corner)

Headbang Games's avatar

Headbang Games

Member since 5 Dec, 2012

Twitter
Headbang Games has 1 followers

Connect with Headbang Games

Trophy Case

  • 12-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Popular Game One of your games has over 1,000 players
  • Coach One of your tutorials has over 1,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

21/44
How to earn trophies