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: 4
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:

And here is the actual project:
GridGameV1.rar [2.32 MiB]
Downloaded 5 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.

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

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

Broc W.

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

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: