ResidentevilLeonfan Posted January 21, 2013 Share Posted January 21, 2013 Everything works fine and compiling works like a charm. However, when i run my game and Stella opens up, i get a blank screen as opposed to viewing my sprites. Did i do anything wrong? rem Generated 1/17/2013 9:42:28 PM by Visual bB Version 1.0.0.548 rem ********************************** rem *<filename> * rem *<description> * rem *<author> * rem *<contact info> * rem *<license> * rem ********************************** playfield: XX.............................. XX.............................. X..XXXXXXXXX.................... XXXXXXXXXX.XXXXXXXX............. XXX.X.XX.XXXXXXXXXX............. XX.............................. XXXXXXXXXXXXXXXXXXXXXXXXX....... XXXXXXXXXXXXXXXXXXXXXXXXX....... XXXXXXXXXXXXXXXXXXXXXXXXX....... XXXXXXXXXXXXXXXXXXXXXXXXX....... XXXXXXXXXXXXXXXXXXXXXXXXX....... end COLUBK=$38 COLUPF=212 hero player0x=50:player0y=50 player1x=20:player1y=20 player0: %00000000 %00000000 %00000000 %00000000 %00000000 %00000000 %00000000 %00000000 end villian player0: %00000000 %00000000 %00000000 %00000000 %00000000 %00000000 %00000000 %00000000 end drawscreen_loop drawscreen goto draw_loop Quote Link to comment Share on other sites More sharing options...
+Random Terrain Posted January 21, 2013 Share Posted January 21, 2013 Everything works fine and compiling works like a charm. However, when i run my game and Stella opens up, i get a blank screen as opposed to viewing my sprites. Did i do anything wrong? Do you see anything wrong with this: drawscreen_loop drawscreen goto draw_loop Take a second to look at it. I'll wait . . . Do you see the problem? There are actually two problems. Your goto isn't pointing to a label that exists. The second problem is that you don't want to start a label or variable name with a keyword. A great way to avoid that is to use an underscore. I start labels with two underscores and variable aliases with one underscore. Example: __Main_Loop drawscreen goto __Main_Loop Check out this thread to learn more about posting code: http://www.atariage....les-and-images/ Quote Link to comment Share on other sites More sharing options...
ResidentevilLeonfan Posted January 21, 2013 Author Share Posted January 21, 2013 You Do you see anything wrong with this: drawscreen_loop drawscreen goto draw_loop Take a second to look at it. I'll wait . . . Do you see the problem? There are actually two problems. Your goto isn't pointing to a label that exists. The second problem is that you don't want to start a label or variable name with a keyword. A great way to avoid that is to use an underscore. I start labels with two underscores and variable aliases with one underscore. Example: __Main_Loop drawscreen goto __Main_Loop Check out this thread to learn more about posting code: http://www.atariage....les-and-images/ You sir...are a lifesaver! It works perfectly! I don't know how to thank you! Quote Link to comment Share on other sites More sharing options...
+Random Terrain Posted January 21, 2013 Share Posted January 21, 2013 I don't know how to thank you! Cash and prizes. 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.