0 Members and 3 Guests are viewing this topic.
If an hex code is done, I think it might be best that someone writes a binary to hex converter or something else it will be hard to add 300+ sprites in a game
To be clear I just meant the Appvar as storage to hold the sprites. When Axe compiles the program the sprite data would be copied from the Appvar to your new program. You'd only need the Appvar if you wanted to "build" the program. That way it wouldn't need to remain on calc after you complete your program. Although, If you release the source with your program, I'm sure you'd want to include the Appvar as well (so it would be buildable)
Back on topic...I'm going to get to the sprite stuff soon, but I don't know quite how the user will define a sprite. I think I will offer multiple methods for different purposes, but I'm not sure what they will be exactly.My first idea was to do something like this:Code: [Select]StorePic 1A[--****--][-******-][**-**-**][********][*-****-*][**----**][-******-][--****--]It looks better on the calc. This would store a happy face into Pic1A. The problem with this, is that it uses a lot of space in the Source file, but the advantage is that you can make the entire program without needing any external tools and it becomes very easy to make sprites.
StorePic 1A[--****--][-******-][**-**-**][********][*-****-*][**----**][-******-][--****--]
Quote from: Quigibo on February 05, 2010, 04:03:53 amBack on topic...I'm going to get to the sprite stuff soon, but I don't know quite how the user will define a sprite. I think I will offer multiple methods for different purposes, but I'm not sure what they will be exactly.My first idea was to do something like this:Code: [Select]StorePic 1A[--****--][-******-][**-**-**][********][*-****-*][**----**][-******-][--****--]It looks better on the calc. This would store a happy face into Pic1A. The problem with this, is that it uses a lot of space in the Source file, but the advantage is that you can make the entire program without needing any external tools and it becomes very easy to make sprites.In your original post you mentioned that using Picture files would take up alot of space, so I was trying to find an alternate workable solution. Perhaps I misunderstood and you just meant the picture files themselves were large? If that's the case, I don't mind. Picture files don't take up that much space in my opinion. Additionally, if someone wanted to make a really large game they wouldn't have to worry about having to use hacked picture files. An Appvar can also be named whatever the user wanted. If using hacked pictures isn't a problem then picture files would be a much better solution.