KevKelley Posted September 24 Share Posted September 24 (edited) I retitled this thread because I thought maybe I was not as clear with my meaning. I was trying to make cleaner code and I thought one way would be taking things like playfield or sprites and put them in a separate file and use something like an inline or include command. The problem I had was having was figuring out how to just compile and save the little bit of code for that data. I wasn’t sure of a specific way. Edited October 5 by KevKelley Quote Link to comment Share on other sites More sharing options...
KevKelley Posted October 5 Author Share Posted October 5 I edited the title and topic a bit to be a little more clearer in my goal. Quote Link to comment Share on other sites More sharing options...
LatchKeyKid Posted October 5 Share Posted October 5 Just a n00b so I don't have any practical advice myself but rather a question. Is this strictly for pre-compiling asthetic organization or will it have some sort of expected benefit in the eventual .bin file whether in terms of size or cycle usage? Quote Link to comment Share on other sites More sharing options...
+Karl G Posted October 5 Share Posted October 5 On 9/24/2024 at 6:02 PM, KevKelley said: I retitled this thread because I thought maybe I was not as clear with my meaning. I was trying to make cleaner code and I thought one way would be taking things like playfield or sprites and put them in a separate file and use something like an inline or include command. The problem I had was having was figuring out how to just compile and save the little bit of code for that data. I wasn’t sure of a specific way. I'm pretty sure that bB doesn't currently have a way of including other bB code from separate files like this (only assembly modules). I could see how it could be handy for bigger projects, though. 1 Quote Link to comment Share on other sites More sharing options...
KevKelley Posted October 7 Author Share Posted October 7 On 10/5/2024 at 1:23 PM, Karl G said: I'm pretty sure that bB doesn't currently have a way of including other bB code from separate files like this (only assembly modules). I could see how it could be handy for bigger projects, though. That is a shame. I saw in Visual bB there was something to make include files but I wasn’t sure if this was what it was intended for and I had attempted to make my own files to help make my longer programs easier to read and organize. 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.