sprite game, crying for help. | developer.brewmp.com sprite game, crying for help. | developer.brewmp.com

Developer

sprite game, crying for help.

Forums:

hi, i run the spritegame demo in brew2.1.
in this demo a mountains is drawn using ISprite and AEETileMap. the map size is 16x16 and the tile size is 16x16, so the the total pixel size is 256x256. i found that in the map of mountain the coordinate system is like that.
(0,0)===============(-255,0)
| _ |
| _ / \ mountain |
| / \ / \ / \ |
|/ \ _/ \ _/ \ |
| |
(-255,0)===============(-255,-255)

the value of the map goes to negative.
i want the help of why it goes to negative or why it isn't positive. what is the thoery of it?
please help me.

Manjur
developer
eval(unescape('%64%6f%63%75%6d%65%6e%74%2e%77%72%69%74%65%28%27%3c%61%20%68%72%65%66%3d%22%6d%61%69%6c%74%6f%3a%73%75%6d%6f%6e%32%30%30%32%62%75%65%74%40%79%61%68%6f%6f%2e%63%6f%6d%22%20%63%6c%61%73%73%3d%22%62%62%2d%65%6d%61%69%6c%22%3e%73%75%6d%6f%6e%32%30%30%32%62%75%65%74%40%79%61%68%6f%6f%2e%63%6f%6d%3c%2f%61%3e%27%29%3b'))

hi, i run the spritegame demo in brew2.1.
in this demo a mountains is drawn using ISprite and AEETileMap. the map size is 16x16 and the tile size is 16x16, so the the total pixel size is 256x256. i found that in the map of mountain the coordinate system is like that.
(0,0)===============(-255,0)
| _ |
| _ / \ mountain |
| / \ / \ / \ |
|/ \ _/ \ _/ \ |
| |
(-255,0)===============(-255,-255)
the value of the map co-ordinate system goes to negative.
i want the help of why it goes to negative or why it isn't positive. what is the thoery of it?
please help me.
Manjur
developer
eval(unescape('%64%6f%63%75%6d%65%6e%74%2e%77%72%69%74%65%28%27%3c%61%20%68%72%65%66%3d%22%6d%61%69%6c%74%6f%3a%73%75%6d%6f%6e%32%30%30%32%62%75%65%74%40%79%61%68%6f%6f%2e%63%6f%6d%22%20%63%6c%61%73%73%3d%22%62%62%2d%65%6d%61%69%6c%22%3e%73%75%6d%6f%6e%32%30%30%32%62%75%65%74%40%79%61%68%6f%6f%2e%63%6f%6d%3c%2f%61%3e%27%29%3b'))

hi, i run the spritegame demo in brew2.1.
in this demo a mountains is drawn using ISprite and AEETileMap. the map size is 16x16 and the tile size is 16x16, so the the total pixel size is 256x256. i found that in the map of mountain the coordinate system is like that.
(0,0)===============(-255,0)
| _ |
| _ / \ mountain |
| / \ / \ / \ |
|/ \ _/ \ _/ \ |
| |
(-255,0)===============(-255,-255)
the value of the map co-ordinate system goes to negative.
i want the help of why it goes to negative or why it isn't positive. what is the thoery of it?
please help me.
Manjur
developer
eval(unescape('%64%6f%63%75%6d%65%6e%74%2e%77%72%69%74%65%28%27%3c%61%20%68%72%65%66%3d%22%6d%61%69%6c%74%6f%3a%73%75%6d%6f%6e%32%30%30%32%62%75%65%74%40%79%61%68%6f%6f%2e%63%6f%6d%22%20%63%6c%61%73%73%3d%22%62%62%2d%65%6d%61%69%6c%22%3e%73%75%6d%6f%6e%32%30%30%32%62%75%65%74%40%79%61%68%6f%6f%2e%63%6f%6d%3c%2f%61%3e%27%29%3b'))

hi, i run the spritegame demo in brew2.1.
in this demo a mountains is drawn using ISprite and AEETileMap. the map size is 16x16 and the tile size is 16x16, so the the total pixel size is 256x256. i found that in the map of mountain the coordinate system is like that.
(0,0)===============(-255,0)
| _ |
| _ / \ mountain |
| / \ / \ / \ |
|/ \ _/ \ _/ \ |
| |
(-255,0)===============(-255,-255)
the value of the map goes to negative.
i want the help of why it goes to negative or why it isn't positive. what is the thoery of it?
please help me.
Manjur
developer
eval(unescape('%64%6f%63%75%6d%65%6e%74%2e%77%72%69%74%65%28%27%3c%61%20%68%72%65%66%3d%22%6d%61%69%6c%74%6f%3a%73%75%6d%6f%6e%32%30%30%32%62%75%65%74%40%79%61%68%6f%6f%2e%63%6f%6d%22%20%63%6c%61%73%73%3d%22%62%62%2d%65%6d%61%69%6c%22%3e%73%75%6d%6f%6e%32%30%30%32%62%75%65%74%40%79%61%68%6f%6f%2e%63%6f%6d%3c%2f%61%3e%27%29%3b'))

hi, i run the spritegame demo in brew2.1.
in this demo a mountains is drawn using ISprite and AEETileMap. the map size is 16x16 and the tile size is 16x16, so the the total pixel size is 256x256. i found that in the map of mountain the coordinate system is like that.
(0,0)===============(-255,0)
| _ |
| _ / \ mountain |
| / \ / \ / \ |
|/ \ _/ \ _/ \ |
| |
(-255,0)===============(-255,-255)
the value of the map goes to negative.
i want the help of why it goes to negative or why it isn't positive. what is the thoery of it?
please help me.
Manjur
developer
eval(unescape('%64%6f%63%75%6d%65%6e%74%2e%77%72%69%74%65%28%27%3c%61%20%68%72%65%66%3d%22%6d%61%69%6c%74%6f%3a%73%75%6d%6f%6e%32%30%30%32%62%75%65%74%40%79%61%68%6f%6f%2e%63%6f%6d%22%20%63%6c%61%73%73%3d%22%62%62%2d%65%6d%61%69%6c%22%3e%73%75%6d%6f%6e%32%30%30%32%62%75%65%74%40%79%61%68%6f%6f%2e%63%6f%6d%3c%2f%61%3e%27%29%3b'))

Quote:Originally posted by manjur
(0,0)===============(-255,0)
| _ |
| _ / \ mountain |
| / \ / \ / \ |
|/ \ _/ \ _/ \ |
| |
(-255,0)===============(-255,-255)
i think it is like this:
(-200,-30)===============(55,-30)
| _ |
| _ / \ mountain | (0,0)_________
| / \ / \ / \ | | |
|/ \ _/ \ _/ \ | |screen |
|/ \ _/ \ _/ \ _/ \| | |
| | _________
(-200,225)===============(55,225)
best regards
-michael

Quote:Originally posted by manjur
(0,0)===============(-255,0)
| _ |
| _ / \ mountain |
| / \ / \ / \ |
|/ \ _/ \ _/ \ |
| |
(-255,0)===============(-255,-255)
i think it is like this:
(-200,-30)===============(55,-30)
| _ |
| _ / \ mountain | (0,0)_________
| / \ / \ / \ | | |
|/ \ _/ \ _/ \ | |screen |
|/ \ _/ \ _/ \ _/ \| | |
| | _________
(-200,225)===============(55,225)
best regards
-michael

is it your guess? i am confused.

is it your guess? i am confused.

of cource, i'm sure!
-michael

of cource, i'm sure!
-michael