Ecernosoft Posted February 14 Share Posted February 14 On 2/4/2023 at 2:41 PM, Muddyfunster said: Whatever application you are using to draw your sprites, draw them as one image, rather than many smaller ones that you have to combine in 7800basic. It does mean that you can’t compress (Ex. Say you have a running animation but the head sprite doesn’t change, you can split the body off of the head and save on gfx data) graphics anymore though!!! Just a thought. I don’t see that sort of opportunity though here. Second of all you might wanna think about having 2 palettes for the character Sprite…….. one for the head, another for the body….. Just a suggestion!! Quote Link to comment Share on other sites More sharing options...
ZippyRedPlumber Posted February 15 Author Share Posted February 15 On 2/12/2023 at 7:31 PM, Ecernosoft said: Merry late christmas @ZippyRedPlumber!! I know it's almost Valentines but still. I'm coming back breifly...... for some reason. Keep up the good work! Hopefully, one day, Lua will become a reality....... It's Lyra, not Lua... lol X'D Quote Link to comment Share on other sites More sharing options...
Ecernosoft Posted February 15 Share Posted February 15 1 hour ago, ZippyRedPlumber said: It's Lyra, not Lua... lol X'D I should stop trying. Lol. Anyway, when do you think your game will be ready? Just asking. Quote Link to comment Share on other sites More sharing options...
+Muddyfunster Posted February 15 Share Posted February 15 12 hours ago, Ecernosoft said: It does mean that you can’t compress (Ex. Say you have a running animation but the head sprite doesn’t change, you can split the body off of the head and save on gfx data) graphics anymore though!!! Just a thought. I don’t see that sort of opportunity though here. Second of all you might wanna think about having 2 palettes for the character Sprite…….. one for the head, another for the body….. Just a suggestion!! This advice was specific to the question and technique demonstrated in the OP's code. Compression played no part in the question so I don't understand the context of your post. Did you review the OP's code? Maybe I'm missing something. 1 Quote Link to comment Share on other sites More sharing options...
Ecernosoft Posted February 15 Share Posted February 15 12 hours ago, Muddyfunster said: This advice was specific to the question and technique demonstrated in the OP's code. Compression played no part in the question so I don't understand the context of your post. Did you review the OP's code? Maybe I'm missing something. I was just making a suggestion..... And, Yes + Yes. I did. Just an idea. Not like it really mattered though, I just wanted to give @ZippyRedPlumber some options for his game. ok? 1 Quote Link to comment Share on other sites More sharing options...
ZippyRedPlumber Posted March 29 Author Share Posted March 29 Lyra's frame issue is fixed thanks to @saxmeister Currently having trouble trying to display the other sprites (enemies & gems.) Can anyone take a look a this for me? Enemy & Gem movement code are lifted from the 2600 version of my game. lyra7800.zip 2 Quote Link to comment Share on other sites More sharing options...
+saxmeister Posted March 30 Share Posted March 30 @ZippyRedPlumber one of the first things I see is that you have a subroutine called "drawsprites" that never gets called. You could call it just before or just after you call the subroutine "drawhero." But, the subroutine ""drawsprites" never has a "return" so once you goto that subroutine the program would just continue and start other game logic. So that will need to be restructured and cleaned up a bit to get it working. Quote Link to comment Share on other sites More sharing options...
ZippyRedPlumber Posted March 30 Author Share Posted March 30 Quote So that will need to be restructured and cleaned up a bit to get it working. I'm confused, what do you mean by this? Put the game logic in the subroutine? Also, enemies & gems are now displaying. Thank you once again. Quote Link to comment Share on other sites More sharing options...
+saxmeister Posted March 30 Share Posted March 30 (edited) Simply that the draw enemies routine didn't have a return and would continue going through the rest of the code. Adding a "return" and then moving the rest of the code to make it work as expected. gosub DrawEnemies DO STUFF DO STUFF goto MainLoop DrawEnemies DO STUFF DO STUFF ; the return is missing here ; once the return is added the rest of this code is ignored DO MORE STUFF DO MORE STUFF DO MORE STUFF Edited March 30 by saxmeister 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.