First Spear Posted July 13, 2018 Share Posted July 13, 2018 (edited) hm Edited July 13, 2018 by First Spear Quote Link to comment Share on other sites More sharing options...
+Gemintronic Posted July 13, 2018 Share Posted July 13, 2018 I think you can set up some constants to help set the proper values when using the SPRITE command CONST MIRROR_X = $0400 ' Horizontal reflect CONST MIRROR_Y = $0800 ' Vertical reflect But, I'm new to this too so I can't give you a complete answer 1 Quote Link to comment Share on other sites More sharing options...
carlsson Posted July 13, 2018 Share Posted July 13, 2018 If one uses constants.bas, these already exist: CONST FLIPX = $0400 ' Flip/mirror the sprite in X. CONST FLIPY = $0800 ' Flip/mirror the sprite in Y. CONST MIRROR = $0C00 ' Flip/mirror the sprite in both X and Y. 2 Quote Link to comment Share on other sites More sharing options...
First Spear Posted July 13, 2018 Author Share Posted July 13, 2018 I deleted my question and was moving to get the admins to delete the thread, as I found the bits in constants.bas about 2 minutes after I posted. Thanks dudes. 1 Quote Link to comment Share on other sites More sharing options...
+Gemintronic Posted July 13, 2018 Share Posted July 13, 2018 I deleted my question and was moving to get the admins to delete the thread, as I found the bits in constants.bas about 2 minutes after I posted. Thanks dudes. I'm learning this myself and have similar questions. It always helps to ask. Even better to explain what your solution was. Someday soon other newbies will have the same quandary Quote Link to comment Share on other sites More sharing options...
+DZ-Jay Posted July 13, 2018 Share Posted July 13, 2018 I deleted my question and was moving to get the admins to delete the thread, as I found the bits in constants.bas about 2 minutes after I posted. Thanks dudes. Perhaps it warrants putting back the question so that other less experienced programmers can learn from it. (As a side note, not remembering the specific bits myself, I was just going to respond "check the constants.bas for it." ) Quote Link to comment Share on other sites More sharing options...
+DZ-Jay Posted July 13, 2018 Share Posted July 13, 2018 If one uses constants.bas, these already exist: CONST FLIPX = $0400 ' Flip/mirror the sprite in X. CONST FLIPY = $0800 ' Flip/mirror the sprite in Y. CONST MIRROR = $0C00 ' Flip/mirror the sprite in both X and Y. Yeah, but on which register? . . . . On the Y register 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.