rafaelloest's Forum Posts

  • Thanks. Done (almost perfect).

    Now I am having problem when exporting. If i export to exe (and HTML when opened with Firefox) 2 things stop working, one of the back buttons and the OK (in the stage selector). When i open with Chrome, it bug in the menu screen, it doesnt leave.

    Here is the new version:

    dropbox.com/s/2vjv1kgbmd73uht/MiniCrazyRacersV2.capx

  • First error:

    Window Size is the size of the screen (how much can you see on screen)

    Layout Size is the size of the level.

    Add the behavior Scroll to to the objects you want the camera to focus between them.

    There are different implementations for the enemy car AI, but the most logical and simple one is that the enemy car should follow a specific track/route. The behavior Pathfinding should come in handy here.

    I alredy tried pathfinding, coulnd make it work.

    Is there a way to make the camera zoom out if the players(cars) get too far from each other?

  • I made window size the size of layout because while i didnt had the camera, i wanted the game to be playable.

  • Hi guys, i am making a racing game and because it has 2 players mode, i need a camera that keep both in view, but i cant do it. (alredy tried some things that i found here, but none of them workded.

    Also, i need a "AI" for the PC controled car.

    Here is the link: for the capx

    dropbox.com/s/r4nw653yc4677ou/MiniCrazyRacers.capx

  • Guys, i think i found the plugin, is one createded by rexrainbow but i still cant open the example. I think i found, because when i open a new project and go in behaviors, there is a behavior there with the name Text. If rexrainbow (or another person) can give some help to us.

  • Anybody?

  • vee41

    Hey vee, I am with a problem. I am trying to make the collector go to a selected Oil pool, because if i can do this, i will be able to make it go to Oil or Food (the other resource). I was able to make it go, but, once it drop the resource, it goes crazy, he simple stay in the same place, "dancing".

    Also, if you guys have some tips, leave them there.

    Here is the link to the "game" version:

    Battleships

  • vee41

    Thanks, a lot.

    Now i will try to add the select unit functionality (alredy have it, but need to implement the harvesters in the game and see if it works. If I have any problem, i will post. Thanks again.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • vee41

    Thanks, it worked. But I want to make it every GatherSpeed -> add 1 to goods.

    I tried, it works, somewhat. After de first one reach his goods capacity, the 2 one stops and when the first one get back, it also stop.

    Here is the updated:

    dropbox.com/s/roqhfuvjapoylye/Miner.capx (same link :))

  • vee41

    I see what you did, tried to do it, but doesnt work with pathfinding.

    here is updated:

    dropbox.com/s/roqhfuvjapoylye/Miner.capx

  • Yes, it helped, a little, but the main problem i have is that the second miner does not collect all 15 resources it should, and after that is just goes crazy...

    I tried adding a sprite for overlap(to see when it was collecting, since just putting it to stop while "isCollectin=true" stoped the game (crashed, i think), and, worked, somewhat, but the second miner pass the mine, THEN stop, and both start ignoring walls and dont find the path to the base.

  • Come on guys, no one knows how to do it?

  • This is what i want to do:

    youtube.com/watch

  • I need it to work with multiple "miners", Mines, and bases. The miners need to find the nearest base, find the nearest "mine" (with a max of miners alredy in it of X, if miners in that mine is X, then find another, the same way the workers in Starcraft 2 do). If i put 2 mines and 2 miners, the 2 miner will go crazy. Also, i cant make it that i can select it, chose a mine and it will go there (tried applying this in the game that i have that has unit selection). Understand what i mean?

  • Hi guys, I am creating a RTS game and now I need to create a "AI" for the resource collector (like in Starcraft, Age of Empires and others) where the collector, after selected, if you click in a resource it go there, collect then go back to base and so on until it deplet the resource.

    Here is what i was able to make:

    dropbox.com/s/roqhfuvjapoylye/Miner.capx

    Sorry if there is a english error, not my mother language.