LittleStain's Recent Forum Activity

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

  • Try Construct 3

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

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

  • 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

LittleStain's avatar

LittleStain

Member since 26 Apr, 2011

Twitter
LittleStain has 4 followers

Trophy Case

  • 13-Year Club
  • Email Verified

Progress

14/44
How to earn trophies