RookieDev's Recent Forum Activity

  • In my Demo you can see that my grid of sprites are all individual sprites that are pinned to my objects position correct?

    Now that i have taken pin off my sprites nolonger stay together as a group of Cells but now there is just one single cell behind my player.If i use this method how can i keep my GRID TOGETHER.

    Hope that makes more sense.And i do not need a capX i just need you to explain it to me if you can.

  • Ok the only issue im having now is,I had my grid sprites sticking to my player with PIN now since i have it off i only have one single cell my grid of sprites will not stick together this way?

    I can only get one single cell to appear and how would i go about pinning this,If i cant use the pin function?

    Guizmus

  • Guizmus Thank you GeneratorX Thank you aswell

    Guizmus i was wondering how i went about that,I have that same code but i did not make it every tick and i also did not take PIN off.Thank you

  • Hi everyone I pulled an all nighter,No pain no gain

    I was wondering how i can make my premade Grid follow and snap to the grid ingame so i can place tiles more accurate,right now my tiles are going where ever they want and its looking horrible.

    Here is the demo to check out.

    Koolville DEMO

    arrows = movement

    hold left mouse to destroy

    left click an empty space to build is what im trying to achieve but also keeping it with the ingame grid.

    Im also not using arrays.

  • That is amazing shinkan I never seen anyone put it that way before,This capX should be showcased in the tutorials section! you would help alot of people understand.Thank you for showing me this,I can see the difference in each expression.

  • shinkan most people would maybe say thank you and just use this but i want to ask you what is happening there?

    I think i understand that "round" is rounding up the number correct?

    But where does the 16)/32)*32 come in im lost looking at this.

    Most stuff after i see it i can instantly tell how it works but this is alittle tricky.

    Thank you by the way.

  • Awesome i was trippin alittle when it broke,I have so much on my mind i could not even see that little aspect to fix this.Thanks I did manage to incorperate touch controls with your example and it works flawless.

    I want to know what you think about me using a premade grid to dictate where the player has the reach to set blocks? I figured it would be just as good as using arrays,the only issue i have is am i able to have the player place a block ingame but have it still snap to the grid? I dont want the player to go and lay a block but have it offsetting at an uneven position.

  • shinkan There is a bug in this capX,When i click one tile then the other a cracking sprite is left behind.It creates two cracking sprites and breaks the digging function.Is there a way to fix this?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Well you can have it all. I made this example especially for you.

    Thank you shinkan seeing this really helped me out alot.

  • shinkan   THAT IS EPIC!!! that looks awesome man do you mind if i mimic your style for the block breaking,I wont use your sprites i just want to learn from this.

    This is pretty awesome man.Thank you guys for helping,I have been getting alot of help as of late and i am very grateful to have people that care around.

  • ArcadEd Me and arrays dont get along the best,I have tried to learn them but fall short when it comes to making tiles appear.I am not the best at arrays thats why im looking for alternate routes.

    I think/Hope that i will be able to get around them since my world size is not as big as something like minecraft or terraria.

  • Thanks ArcadEd to wrap things up i wanted to ask you do you know where i can see a good example of UIDs in a sandbox type of game?

    There are very few sandbox/tile game examples on how things are done.alot of them are terrain generation,But none on drawing animations onto tiles and making them look like they are breaking.

    Thanks again for helping me out.Awesome Website Aswell!!

RookieDev's avatar

RookieDev

Member since 9 Apr, 2013

None one is following RookieDev yet!

Connect with RookieDev

Trophy Case

  • 11-Year Club
  • Coach One of your tutorials has over 1,000 readers
  • Email Verified

Progress

13/44
How to earn trophies