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.
A-Engine: A new beat em up game engine inspired by LF2. Coming soon
07-11-2011, 04:54 AM (This post was last modified: 07-11-2011, 05:51 AM by Marshall.)
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
(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)
Azriel~
the width and height must be correct as well ~ Marshall
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.
A-Engine: A new beat em up game engine inspired by LF2. Coming soon
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.
(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.
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.
Thats the move,
DC-Code:
<frame>255 finger_shot
pic:72state:3wait:2next:256dvx:0dvy:0centerx:37centery:158hit_a:0hit_d:0hit_j:0mp:90bdy:kind:0x:21y:18w:43h:62bdy_end:bdy:kind:0x:15y:65w:39h:93bdy_end:<frame_end><frame>256 finger_shot
pic:73state:3wait:2next:251dvx:0dvy:0centerx:37centery:158hit_a:0hit_d:0hit_j:0bdy:kind:0x:21y:18w:43h:62bdy_end:bdy:kind:0x:15y:65w:39h:93bdy_end:<frame_end><frame>251 finger_shot
pic:74state:3wait:2next:252dvx:0dvy:0centerx:37centery:158hit_a:0hit_d:0hit_j:0bdy:kind:0x:21y:18w:43h:62bdy_end:bdy:kind:0x:15y:65w:39h:93bdy_end:<frame_end><frame>252 finger_shot
pic:75state:3wait:2next:253dvx:0dvy:0centerx:37centery:158hit_a:0hit_d:0hit_j:0bdy:kind:0x:21y:18w:43h:62bdy_end:bdy:kind:0x:15y:65w:39h:93bdy_end:opoint:kind:1x:38y:80action:12oid:233facing:1opoint_end: Problem is here
<frame_end><frame>253 finger_shot
pic:76state:3wait:2next:254dvx:0dvy:0centerx:37centery:158hit_a:0hit_d:0hit_j:0bdy:kind:0x:21y:18w:43h:62bdy_end:bdy:kind:0x:15y:65w:39h:93bdy_end:<frame_end><frame>254 finger_shot
pic:77state:3wait:20next:999dvx:0dvy:0centerx:37centery:158hit_a:0hit_d:0hit_j:0bdy:kind:0x:21y:18w:43h:62bdy_end:bdy:kind:0x:15y:65w:39h:93bdy_end:opoint:kind:1x:43y:77action:0dvx:0dvy:0oid:221facing:0opoint_end:<frame_end>
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
Silverthorn / Blue Phoenix ~ Breaking LFE since 2008 ~
07-12-2011, 11:27 AM (This post was last modified: 07-12-2011, 11:29 AM by A-Man.)
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.
Marshall edited this post 07-12-2011 11:55 AM because:
you're welcome. And the rep system has been removed
A-Engine: A new beat em up game engine inspired by LF2. Coming soon