perraro's Forum Posts

  • 11 posts
  • I would like to control a hunter, like in ghost hunter example, using 2 virtual joysticks, one to rotate and another to move. How to implent the touch individually? Im trying, but one is crashing another.

    Se the example in construct.net/en/free-online-games/teste-joysticks-12130/play

    When i use 2 joysticks at same time, one that crashes.

    The project is in downloads.construct.net/uploads/120/12130/37b7960d-57de-4be3-97e5-bcb1bf506c7c/teste_2_joys.capx

    The touch behavior is new to me. Thanks.

  • You need to request permission before using motion/orientation.

    It only will work exporting to Cordova? Im exporting to Scirra Arcade unsucessfully. Do not show any permission request in start of layout.

  • Do note Works in Samsung j6 mobile too

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I tried, but not work.

  • I am frustrated. I'm trying to make a game controlled by the tilt of the phone (touch.beta and touch.gamma) and it's not working. I make an app by the MIT Inventor and it recognizes the orientation sensor in my smartphone. Im using a Samsung Q6 to test. It´s really working fine?

  • I have an animation exported to html5. Its working fine in desktop. When i run with android / chrome in my mobile phone, the comands of mouse and touch do not work. What can i do?

    http://www.pbpropaganda.com.br/abelhas

  • Im developing a game based of war with gangs, top view based.

    The instances are:

    * cops: controled by IA. Moves in randomic direction over a map of a caotic street.

    * gangster: moves in randomic direction. Shot controled by player.

    * Molotov: bomb fired by gangster.

    * Pathfire: instance (bullet) with a image of molotov moving.

    Engine:

    When the gangster animation with 60 frames reaches #50 frame pin a molotov in the hand of gangster and set a variable to molotv with the same id (variable id) of gangster. The engine controls to loop for last position to #51 position to avoid create multiples molotovs to same gangster.

    When clicked first time the gangster stop and turn to mouse position (target).

    When clicked the second time spawn a pathfire (bullet) from gangster to hit the cop + destroy the molotv in the hand of ganster

    .

    Here is the trouble: When i destroy the molotov instance from a gangster ... all the molotovs in the scene, from other gangsters are destroyd.

    I would like to destroy only the molotov in the hand of gangster that fired.

    action - gangster clicked > spawn a pathfire to (moouse.x,mouser.y)

    | > set animation frame to 1 ans start again

    |

    ------- molov.id = gangster.id > destroy molotv

    Its not working. (Sorry my bad english)

  • I used dt but still have the same error.

    Pls, play the game in fuscaextreme.clay.io and look the error in the end of race. The cars are in different position but the time calculated is the same.

    I use TIME to get the initial time when the last lamp of semaphore is turned on and TIME to each car when they across the final line. The time of racing is the final time less the initial time.

  • I will learn about it. Its my second game and im still a rookie.

    Thank you.

  • I developed a game about racing cars (http://fuscaextreme.clay.io) and im having a trouble with the timecompare.

    The system: When the green light in semaphore is turned on the time since the beginning of game is registered in a variable. When each car cross the final line (on collision with the final line sprite) the system subtract the time from the variable from the actual time. This is the time of race of each car and it is showed in a score screen. A screenshot of the final race shows the difference between the cars in the final line.

    The problem: The difference of time of the cars dont match with the image. Sometimes the screenshot shows the cars in different position and same time of racing. It happens when the difference between the cars is short.

    Why it happens and how can i to solve this problem?

    (Sorry my bad english. I dont speak english)

    Anderson Paulino Perraro

    perraroqir@pbpropaganda.com.br

    Ararangu� - SC - Brazil

  • Hi, i have a new version of my game. I upload it but not happens. A message talking about less than 24 hours isn't true. What can i do to change my game to a new version?

  • 11 posts