Microbex's Recent Forum Activity

  • Hi again fellow constructors.

    I want to make a power grid using an array. I kind of made the initial setup and it works fine.

    But I have a hard time to figure out how to disconnect parts of the power grid from the generator.

    I really could use some guidance from a pro on how to make it work properly.

    I would love to hear some inputs from you on how to make this baby to happen.

    Link to CAP file

    drive.google.com/open

    Thanks! :)

    Tagged:

  • What should I do without you Plinkie. Thanks. :-)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I did this.:

  • I came to the same conclusion. Well i will give it a good try to figure it out then.

  • hmm, yes. It seems way easier that way. But I am keen on learning arrays. But yes i probably have to run each cell in the array every time i place a new tile.

  • Sure plinkie. That is the next logical step of course. But thanks. :-)

  • Using distance could surely solve the problem, but I am hooked on the idea of using arrays as I want to master it.

    I was thinking that if I was to place a TileAt(curX /curY) - I would also have to check TileAT(curX-1,curY) / TileAT(curX+1,curY) / TileAT(curX,curY-1) / TileAT(curX,curY+1).

    If any comes up true, I would have to make a check on any if they are themselves connected true/false, and if they are powered true/false?

    Am I being too simple here?

  • So my thoughts are to use a tilemap to create the level and put the tiles ID to an equal size array.

    The two will be linked to each other, so if I do changes to the array the tilemap will be updated and verse visa.

    So I want to make a power grid in the game to be able to power up torrents and so on, like in 'Mewnbase'.

    Video link to the game:

    youtube.com/watch

    Before I ask a whole lot of questions..

    Is there any tutorial or topic that already has been discussed this? I have been searching like hell but did not found any.

    Cheers mates. :-)

  • Thanks Pinkie, you are running the Pac's errands.

  • I need to have pacman to continue moving in the direction he is facing until his path is stopped by a wall. That is what i recall he is doing in the arcade game.

  • We have probably all tried the pacman template and was a bit disappointed over the blocky movement.

    I am doing a little puzzle game and want a steering just like the pacman arcade game. I tried serval approaches but to no luck. Has anyone made a nice workaround? Cheers. :-)

  • Thanks. I was just afraid that i lost that search function for good. Cheers

Microbex's avatar

Microbex

Member since 6 Dec, 2016

Twitter
Microbex has 1 followers

Trophy Case

  • 7-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

11/44
How to earn trophies