Jump to content

Ground like FF


TrulaBanana
 Share

Recommended Posts

Instead of using a big image for your map, you should make use of tilemaps. They use small pieces put together to create a map. If you notice in FF games, these small reusable tiles are what make up the maps.

objects are placed relevant to the game screen x,y and not to your map, so an object you place at 0,0 will be in the top left corner.

Link to comment
Share on other sites

But if i place obj on -100,-100 i will never see it?

Most games, especially RPG games like Final Fantasy, include a camera system that follows the player, which basically means: When the player moves, you move all objects except the player in the opposite direction and keep the player in the middle of the screen.

At some point you will then be able to see an object placed outside of the screen.

Link to comment
Share on other sites

What framework or program are you trying to make your game in?

 

Generally to change the speed of a sprite, you would want it to move fewer x or y per game update. 

function someUpdateFunction() {this.x -= 1;this.y -= 1;}//Slowerthis.x -= .5;this.y -= .5;
Link to comment
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...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...