sprite

How's everybody

i've been fiddling with sprites and it's real exciting....there is some stuff that I
cannot get my head around.
I meant to ask how do I make the whole GameWindow grassy (zip attached).
I tried to stretch the "grass.bmp" in paint but it don't look right...
Thanx.
 

Attachments

  • mySprite.zip
    11.3 KB · Views: 182

Bassaidai

Member
Licensed User
Longtime User
hi Nicolas,

thats what the NoCollisionMouse Event is for. Thats the "no sprite has been clicked (hence the background has been clicked) event" )

If "gw" is your gamewindow-object you do

B4X:
Sub gw_NoCollisionMouse
   my_x = gw.X
   my_y = gw.Y
End Sub

to get the click-coordinates.

Hope that helps
Joerg
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…