Historical forum-msg-id-133943-edit, Revision 1

Original date:2019-06-08 21:52:21 Edited by: euphoric Subject: Re: Can't Get Sprite To Stay In Screen Bounds

Should be something like this:

if slGetKey(SL_KEY_LEFT) = 1 then 
    x -= 2 
    if x < 0 then 
        x = 0 
    end if 
    slSprite(spr,x,y,32,32) 
end if 
Not Categorized, Please Help

Search



Quick Links

User menu

Not signed in.

Misc Menu