espace

search documentation about player who move in a grid

Recommended Posts

hi,

i'm searching documentation about grid who give the illusion that the player move.

I have found a lot of article about create a grid and move a player in a static grid but not about a "moving grid".

By moving grid : i wonder a grid who delete and add line and column each time the player move in a direction, so it give the illusion that the player move on this grid.

i could do alone but i have an interrogation for how to translate the data grid each time i'm add or delete line or column in my grid. 

second interrogation, i move my player on for example grid[3][5] but in the same time my grid move so grid[3][5] become grid[3][6] (vertical movement) how to make this ? 

thanks for your help.

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.