|
Post by Darkjester on Jul 13, 2009 0:36:37 GMT -5
no there is no size limit that i can come up with but i wouldnt make one giant strip and use it for all animations i would use a strip for each animation like take pacman for example do his animations in each of the directions he travels and you would have 4 different strips, and make them powers of 2 such as 32,64,128,256,512 etc and they dont have to be square i use 32x128 pr 64x256 quote often(you see how it works though when you make image strips as long as its power of 2 it doesnt have to be square, and also you can add alpha to the strips, and for your other question regarding the spaces between the sprites dont put them their, for example look at caverntiles.png for how its put together. and lastly loadimagestrip() and imagestripframes() are what you use on the basic level read the spritelibraryguide that comes with basic4gl or look Here for the sprite library guide. Need more help just ask -darkjester
|
|
OW
Posts a bit
Posts: 100
|
Post by OW on Jul 13, 2009 7:49:01 GMT -5
When I glanced at it (the sprite library guide) for the first time I didn't see the section on tilemaps, sorry!
Thank you for your help, and for helping me help myself. I'll probably be asking many more questions in the future.
EDIT: Thanks to your words, I now understand exactly how sprites work and how to use them. Just felt like telling you that.
|
|
OW
Posts a bit
Posts: 100
|
Post by OW on Jul 13, 2009 10:37:20 GMT -5
How can I move, or give the illusion that a tilemap is moving?
I want to create a top-down shooter, not on rails like that demo with the airplane, but I want to be able to move in all four directions.
|
|
|
Post by Wayne Rayner on Jul 14, 2009 23:31:36 GMT -5
You can move the sprite map with player moving is that what you would like use that function dj linux knows about in the I need felp question
|
|