[solved] A weird opoint problem - Printable Version +- Little Fighter Empire - Forums (https://lf-empire.de/forum) +-- Forum: Little Fighter 2 Zone (https://lf-empire.de/forum/forumdisplay.php?fid=7) +--- Forum: Data Changing (https://lf-empire.de/forum/forumdisplay.php?fid=11) +---- Forum: Solved Problems (https://lf-empire.de/forum/forumdisplay.php?fid=14) +---- Thread: [solved] A weird opoint problem (/showthread.php?tid=6711) |
||||||
[solved] A weird opoint problem - A-Man - 07-11-2011 I needed to split up my sprites because they are big, after doing this I encountered an opoint problem: I have some opoints that stopped working after they where actually working before splitting. Why did this happen? note: it's activated by a next frame. please help. RE: A weird opoint problem - Azriel - 07-11-2011 check the bmp part of the data for the object that is opointed. the file: lines of the split spritesheets have to replace the original ones (and make sure the row: and col: values are correct) Azriel~ the width and height must be correct as well ~ Marshall RE: A weird opoint problem - A-Man - 07-11-2011 (07-11-2011, 04:54 AM)Azriel Wrote: check the bmp part of the data for the object that is opointed. the file: lines of the split spritesheets have to replace the original ones (and make sure the row: and col: values are correct) No, there is no problem with the height ,width ,col and row. I checked many times for that. I tried the dimensions with your frame maker and it showed correctly. I even tried to replace the centerx and centery, or find any dc mistake but couldn't. I am sure that I spelled the picture name correctly. I think that is the weirdest problem that happened to me ever.Thanks after all. RE: A weird opoint problem - empirefantasy - 07-11-2011 Post the dat file here and we can see which is the problem.Maybe you have put the number of pic wrong,or the action wrong in opoint tag. First see,what opoint tag have (oid: and action: ).Then see if frames are correctly in the dat file which is opointed.Then see if pics are correctly in these frames.Do so for all. RE: A weird opoint problem - A-Man - 07-11-2011 (07-11-2011, 10:17 AM)empirefantasy Wrote: Post the dat file here and we can see which is the problem.Maybe you have put the number of pic wrong,or the action wrong in opoint tag. Thats the move,
that is the opointed object:
and here is the sprite hope U can help. RE: A weird opoint problem - empirefantasy - 07-11-2011 (07-11-2011, 12:57 PM)A-MAN Wrote: that is the opointed object: Here is not any sprite. Are these 3 frames after each-other? Maybe the problem is that you have let next: 12 in frame 12.While next in frame 12 should be 13. Maybe the correct
RE: A weird opoint problem - A-Man - 07-12-2011 (07-11-2011, 01:17 PM)empirefantasy Wrote:(07-11-2011, 12:57 PM)A-MAN Wrote: that is the opointed object: Sorry for the late reply, I don't think that is the problem or it would at least show pic: 12. and here is the sprite: RE: A weird opoint problem - Marshall - 07-12-2011 h: 159 that's wrong the image's height is 478, which can't even be divided by 3 (col: 3), obviously the sprite won't show >No, there is no problem with the height ,width ,col and row. I checked many times for that. check carefully and you'll only need to do it once RE: A weird opoint problem - Silverthorn - 07-12-2011 w: 158 h: 159 row: 10 col: 3 So estimated dimensions of the image would be: Width: (158+1) * 10 = 1590px Height: (159+1) * 3 = 480px Always remember the extra-pixel-row/column that is reserved for separating sprites. That is also the reason why the neon-green lines in Template's spritesheet don't show up in-game. So yeh, guess that'll fix it RE: A weird opoint problem - A-Man - 07-12-2011 GOD, DAMN IT!!!!! IT WORKED! How in blazes can this simple thing cause the problem,I have been trying to fix it for hours and hours. Thanx to U guys, you are awesome!!! off topic: why can't I give a reputation. |