Posts: 1,430
Threads: 90
Joined: Mar 2010
i want to made a bg so i have how the BG looks like i mean i have the sprite
i made a onw sprite that i want it to be in the game one by one i mean one after another
the sprite size is 533x403
how should the data be?
i dont know how to write a BG data frames so i need help XD
Thanks given by:
Posts: 1,430
Threads: 90
Joined: Mar 2010
thanks man but it didnt help me i mean
i have a BG like this:
XXXXXXXXXXXXXXX
GGGGGGGGGGGGGGG
GGGGGGGGGGGGGGG
GGGGGGGGGGGGGGG
(G - floor , X - wall )
now i need to make it in the game like this:
XXXXXXXXXXXXXXX,XXXXXXXXXXXXXXX,XXXXXXXXXXXXXXX,XXXXXXXXXXXXXXX...
GGGGGGGGGGGGGGG,GGGGGGGGGGGGGGG,GGGGGGGGGGGGGGG,GGGGGGGGGGGGGGG...
GGGGGGGGGGGGGGG,GGGGGGGGGGGGGGG,GGGGGGGGGGGGGGG,GGGGGGGGGGGGGGG...
GGGGGGGGGGGGGGG,GGGGGGGGGGGGGGG,GGGGGGGGGGGGGGG,GGGGGGGGGGGGGGG...
hope u understand it XD
i found i neet towrite loop: X
but when i write loop: 1 i see the BG smudge on the game and when i write 533 (the width of the image) i see only one copy :\
oh and when im runing on the map the bg move slow and stay on he screen (one copy) but i want it to look like i run there not run on the place :\
Thanks given by:
Posts: 2,594
Threads: 260
Joined: Feb 2008
maybe enlarge the width in the head of the bg so there`s room for more then one copy...
www.lf-empire.de
Once I had a fortune, it said: "Leave now. Life is short. Time is luck"
Don't dream your life, live your dream!
Posts: 1,430
Threads: 90
Joined: Mar 2010
06-06-2011, 07:32 PM
(This post was last modified: 06-06-2011, 07:38 PM by Ariel.)
THANKS!!!!!
now its working!!!!!
only last problem XD
the chars can move on the walls and even out of the screen like they fly XD
how can i say "there is a wall there , cant move on walls" ? XD
AND THANKSS!!!!!
EDIT:
NVM
WORKING!!!!!!!!!!!!!
Thanks given by:
Posts: 228
Threads: 16
Joined: Mar 2008
change the "zboundary". First one is lower limit, second is upper
Thanks given by: