1
2
I made my own character through paint but i do not know how to copy and past him to the game maker. Also i went thorough my game step by step and the mapping system was good but when i run my game i do not see it at all. can someone tell me what i possibly did wrong.
|
Animations are just the type of icon.
Animations: When an tile is in this state, that means that whenever the character is moving it should show this state. If you turn animation off, and have NO animation state, then the character will either just slide around, or constantly looking to be moving in place depending on the icon. |
ok well i got all that done and in good position. it is just when it says in chapter one of the guide after mapping hit run. I run the game and do not see my character nor what i mapped at all. I just see a black screen.
|
You need to locate the player and place them on the map.
Since I don't know what exactly your project looks like, add this to the Login() /mob/Login() |
There may be something else in your code that's interfering.
Are you starting with a clean slate project? You need to be way more descriptive than 'it doesn't work' |
Click on the little box next to the Map file you created in the File tab to make sure you're including it. Then run.
|
this is what i have so far
/* These are simple defaults for your project. */ world fps = 25 // 25 frames per second icon_size = 32 // 32x32 icon size by default view = 6 // show up to 6 tiles outward from center (13x13 view) // Make objects move 8 pixels per tick when walking mob step_size = 8 obj step_size = 8 turf grass icon = 'grass.dmi' wall icon = 'wall.dmi' density = 1 steel icon = 'steel.dmi' mob icon = 'person.dmi' mob/Login() src.loc = locate(2,40,1) that is in the environment file .dm |
In response to Disasterousclown
|
|
Disasterousclown wrote:
it is already in a DM tag he means <dm>CODE HERE</dm> |
turf like that |
This is because you did not call the inherited procedure.
mob/Login() Add a "..()" directly below the Login() proc. This calls the inherited procedure and allows Byond to set up your screen, and whatever. Feel free to page or MSN me if you have any other problems. [email protected] ~Xerif. |
1
2
Usually sprites and tiles are stored in what's called a DMI.
It's esntially a glorified PNG image.
To assign the player an icon, do this.
NOTE: // is the start of a comment, you don't need these.
Check out more here:
http://www.byond.com/docs/guide/
Specifically: http://www.byond.com/docs/guide/chap03.html