can you use a createimage image for collide?
BlitzMax Forums/BlitzMax Beginners Area/can you use a createimage image for collide?
| ||
I create an image like thisMethod makerocks(sizer,r,g,b) Cls SetColor r,g,b DrawOval 0,0,sizer,sizer SetColor 0,0,0 DrawOval 1,1,sizer-2,sizer-2 SetColor 255,255,255 Local a=CreateImage(sizer,sizer,1,DYNAMICIMAGE|MASKEDIMAGE) GrabImage a,0,0 Cls MidHandleImage(a) If gfxlist=Null gfxlist=CreateList() gfxlist.addlast a End Method can I use this image in ImagesCollide?or imagescollide2? I'm having problems getting them to collide and just making sure it's not my created image. Did you notice there is no preview for create topic? thanks mudcat |
| ||
For those of you who are wondering if you can,the answer is yes. I promise for now on to check my code for 6 hrs before asking for help. Here's me slapping my forehead<------- Thanks, mudcat |