Search found 8 matches

by Cammar
Fri Apr 28, 2006 10:50 pm
Forum: Coding Questions
Topic: arrays/lists with animsprite
Replies: 3
Views: 631

Right...so a new problem regarding the AnimSprite lib has appeared. I have a sprite with 4 directions, when it moves I want it to animate (easy enough) and when it's not moving I want to display the first frame only, easy enough again just have to se set the frame manually each time. When I set the ...
by Cammar
Mon Apr 24, 2006 8:46 pm
Forum: Coding Questions
Topic: arrays/lists with animsprite
Replies: 3
Views: 631

Both seem to work just fine, thanks for the help. Any one have any semi-advanced examples using animsprite lying around that I could get a look at?
by Cammar
Sun Apr 23, 2006 10:38 pm
Forum: Coding Questions
Topic: arrays/lists with animsprite
Replies: 3
Views: 631

arrays/lists with animsprite

I am using the animsprite lib for my animation (kicks ass by the way), its saving me lots of time but I want to load my sprites a little more dynamically. As far as I know the only way to create animsprites is to use unique variable names


CreateAnimSprite(Name.AnimSprite, 1, 75, 75)


What I'm ...
by Cammar
Thu Apr 06, 2006 2:46 pm
Forum: Game Programming
Topic: Sliding Sprite Collisions
Replies: 4
Views: 1861

Aha Success! Simple enough really no need for real physics in my situation at least. Thanks Captain "dagcrack" Pedantic anyway for the offer :D
by Cammar
Mon Apr 03, 2006 11:42 pm
Forum: Game Programming
Topic: Sliding Sprite Collisions
Replies: 4
Views: 1861

When I said box I meant a 2D box/square :D (Not used to 3D terminology). Time for a google crawl for rigid body physics and that glorious stuff!
by Cammar
Mon Apr 03, 2006 5:22 pm
Forum: Game Programming
Topic: Sliding Sprite Collisions
Replies: 4
Views: 1861

Sliding Sprite Collisions

I'm trying to setup simple bounding box collisions with 4 directional movement. I have a sprite with a bounding box on it, the sprite moves around the screen in 4 directions. I want to setup a series of box's on the screen that the sprite bounding box can collide against. That part is easy enough ...
by Cammar
Mon Mar 20, 2006 5:02 pm
Forum: Coding Questions
Topic: Drawimage not working
Replies: 3
Views: 694

Thanks for the quick reply, it's all become so clear now. I guess I'm still used to the blitz way of doing things. I take it the ID/handle thing is universal for all things in purebasic? i.e. sound, gfx etc
by Cammar
Mon Mar 20, 2006 3:12 pm
Forum: Coding Questions
Topic: Drawimage not working
Replies: 3
Views: 694

Drawimage not working

Hi everyone, just starting out in purebasic after using blitz based products for the past few years. PureBasic seems very powerfull and intuitive. I was just trying out some simple things to get to grips with the syntax, structure etc. I've hit a small problem which I'm certain is something small ...