Matei511's Recent Forum Activity

  • Use "For each bee"?

    Also, you need to organize your events a bit, there are too many small events, it will very soon become hard to keep track of them.

    Move some of them under "On every tick", others under "Every 0.1s", create functions etc.

    Something like this:

    since we're at it, what does this do: bee.dtp<=200 ? 0 : 150. i don't get it after 200...

  • I made an improvement - each bee now has its own random timer when it turns around while "patrolling territory" <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    https://www.dropbox.com/s/tvibytynqy997 ... .capx?dl=0

    You can do a similar thing with bees movement speed - create an instance variable on bee or bee_box object and assign each bee a slightly different speed, at random or manually. Then use this variable when you Set Platform Speed.

    Oh, and one more thing - I combined your bee and bee_box into a container.

    wow thanks a lot mate, didn't even know "timer" exited. and i used the for each wrong, i just made a for each and out all the events containing bees in. thanks a lot.

  • Well you probably moved some event that can't be executed on every tick or did something else wrong. Just try again.

    so i stopped getting the error but still the bees act exactly the same. for example every bee is supposed to face towards the player, but they all take into acount if the player has the X coorinate smaller or larger than bee 1. All bees turn around like bee 1 is supposed to.

  • Use "For each bee"?

    Also, you need to organize your events a bit, there are too many small events, it will very soon become hard to keep track of them.

    Move some of them under "On every tick", others under "Every 0.1s", create functions etc.

    Something like this:

    Thanks for the tips. I tried for every bee but i got anerror at the beginning. The game still worked but the enemies didn't work...

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • So i managed to make an enemy AI that meets all my requirements (certain range makes him follow you, certain range makes him shoot, etc.) This works great on 1 instance. How can i apply this to more instances? Here's the capx: https://www.dropbox.com/s/k5bn3ywk6apnw ... .capx?dl=0

    Thanks in advance !

  • how do i make a player move and colide with a wall? wall is solid, checked the collision box, it's fine. object is solid, checked the collision box, it's fine. i want my player to always go towards the mouse. i have tried setting bullet but it passes through unless i use the bounce, which create san effect i don't want. and i tried move forward event. nothing works. note: i want him to always walk towards the cursor so 8 direction won't work. help would be appreciated

  • Does it do whats needed ? I coded that without testing it on a mobile device.

    not quite, but it is what i needed since the only thing i needed was that one section always controls one player. Although i don't really understand what you did there... Is there any other way to do this? where can i go to learn more about the stuff you used in there?

  • Do i have to blow in your nose to get noticed ?

    I did download your capx and i am in the process of figuring it out, since i have never used basicallt anything you have in there. It's still highly appreciated

  • I don't think I've ever heard of someone trying to do that, 4 players on the same mobile, not taking it in turns but playing at the same time? Sounds crowded. if i were to do it i'd split the screen into 4 and have 4 invisible sprites over each section, when you touch anywhere on sprite A, player A can move to any x,y within that area, touching sprite B only moves player B to any x,y within sprite B etc

    But how do i get the touch id? I tried having an instance variable called touch_id andwhen is touching area set touch_id to touch id. But i don't know how to setup touch controls that are diffrent for every player

  • I'm assuming this is based on an existing game, do you have an example video?

    the players move like they do in pikes.io (on the google play store) I am trying to make it so that 4 players can play on the same mobile device (the screen isn't supposed to move, it's the same big screen for every player it's split in 4 just so everyone knows which side of the screen his controls are in

  • It's for mobile. screen split in 4. Every section acts like a gamepad for 1 character. Characters have bullet and the "gamepad" only sets the angle .

  • ID in XForID is a number assigned by the system. You can not change its value to anything you want to.

    You can of course change that value by touching screen.

    The expression Touch.TouchID is holding the value of it.

    Write Touch.TouchID to a textbox under a 'On any touch start' event. Watch it evolve to understand it.

    so how can i make the following game : screen split in 4. Every section acts like a gamepad for 1 character. Characters have bullet and the "gamepad" only sets the angle .

Matei511's avatar

Matei511

Member since 30 Jun, 2017

None one is following Matei511 yet!

Trophy Case

  • 7-Year Club
  • Email Verified

Progress

8/44
How to earn trophies