Register    Login    Forum    Search    FAQ

Board index » Everything




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post Posted: June 18th, 2017, 8:00 pm 
 

Joined: June 17th, 2017, 5:46 pm
Posts: 8
Location: Sweden
Hello friends. Today, I've been working on my project. The main thing I added was a drag and place feature for some building blocks. (The gray blocks have this feature) What I need help with now, is how I should handle the collision, so that the player cant walk into the same tile as the block. I would be capable of doing it on my own, but then I would have to do it by actually checking the position of the player and all the boxes, and if the player is next to a box, make it impossible for the player to walk into that tile.

Here is the GitHub link: https://github.com/BerlingSwe/GridGame

And here is the actual project:
Attachment:
GridGameV1.rar [2.32 MiB]
Downloaded 12 times

:)

NOTE: The gray blocks are drag and place blocks.


Last edited by BerlingSwe on June 18th, 2017, 8:19 pm, edited 1 time in total.

Top 
 Profile  
Reply with quote  
 Post Posted: June 18th, 2017, 8:05 pm 
User avatar

Joined: March 31st, 2015, 10:10 pm
Posts: 67
Location: Florida, United States of America
Forgot this -> ] :)

_________________
Broc W.

Sole Member of Sledgehog Software, trademark and LLC status pending.


Top 
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
 
Post new topic Reply to topic  [ 2 posts ] 

Board index » Everything


 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for: