LittleStain's Forum Posts

  • It's more important to choose if you want 16:9 or 4:3..

    C2 has multiple scaling options.

    Read This

  • If you want to use a different input method for mouse and touch i suggest making a mouse group of events and a touch group of events. If on touchscreen disable mouse-group and if mouse is available disable touch-group.

  • You could just use the touch object if you're only going to use left mouse-button input.

    Touch object is set on use mouse input in the start.

    On touch is the same as on mouse left button down in that case.

    You cant use mouse-pointer in touch.

  • What would you like the program to do? generate the random numbers, have a scorecard that you can click on when the numbers are called or have the program just stripe away the numbers for you?

    You're talking about a server sending out the balls, so what would the program have to do?

  • From the manual

    Request fullscreen

    Request that the browser enter fullscreen mode. Note the browser may ignore this request unless the action is in a user-initiated event, such as a mouse click, key press, touch event or button press.

  • Also enabling and disabling groups with events can come in handy. If menu is visible - enable menu group and disable game groups/events or other menus goups/events

  • You are probably setting the bullet direction every tick, so when your player changes direction so does the bullet. Just set the direction once on bullet spawned.

  • Bl4ckSh33p

    depending on how you have your sprites set up, this is fairly simple.

    Sprite - set angle toward position - mouse.x,mouse.y

    or

    Sprite - set angle - angle(eye.x,eye.y,mouse.x,mouse.y)

    if you are using two sprites (one for the eye and one for the iris) it gets a bit more difficult.

    You could just set the origin point for the iris at the middle of the eye-sprite and use above events, but if you want more realistic eye-movement, being able to go to the center of the eye-sprite, more calculating is needed.

  • Updated example. For preview purposes scale in browser is off to make it look more like the size on mobile phones while playing on desktop. All tests are ofcourse done on mobile with scale activated.

  • You can play it as an html game through the browser, but not export it to native app without a license..

  • There is a plugin for this purpose.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • That would probably be as easy as

    set player angle - angle(thumbstick.x,thumbstick.y,touch.x,touch.y)

    where thumbstick is the circle-sprite your touch should be over.

    Ofcourse you should only set this angle if distance (thumbstick.x,thumbstick.y,touch.x,touch.y) is less than the radius of the thumbstick sprite.

  • narasimha = v2k

    and posting the same question with the same capx about 30 minutes apart?

  • narasimha = v2k

    and posting the same question with the same capx about 30 minutes apart?

  • Construct 2 compresses images on export, so you wouldn't need to do that. Compressed images only help for downloading purposes. While playing all images are used decompressed.

    This manual entry might help solve some problems:

    performance tips

    Or else this might help:

    tutorial on performance