0 Members and 1 Guest are viewing this topic.
Quote from: ASHBAD_ALVIN on November 03, 2010, 04:17:23 pmI meant predominate as in most BASIC games are ASCII ASCII and text-based are not the same thing. ASCII counts as graphics. Yes, a lot a BASIC games are ascii.ASCII is one of the only options for graphics in pure BASIC. (in fact, if you want any sort of speed at all, you have to use letters and numbers and stuff).
I meant predominate as in most BASIC games are ASCII
Quote from: Qwerty.55 on November 03, 2010, 05:14:03 pmQuote from: nemo on November 03, 2010, 04:15:32 pmstoring 40 cards wouldn't be too difficult. for each card you need:-String name-attack-defense-# of stars-type. [trap card, monster card, etc]attack and defense need about 2 digits of information each, # of stars can be modified for one, otherwise two. type can be one digit. that's 7 digits of information to be compressed into a list entry, and then the String name can probably be compressed into under 28 digits, which will fit into 2 list entries. then you'll just need a 300 element list for 100 card data, and at the beginning of the program decompress everything but the string names, which you can decompress on the fly. at least, that's my idea. would be infinitely more efficient in axe though. good luck with it!If he wanted to include pictures, he could also have a separate string with all of the pictures using RLE for the pic as well as a default card outline.loading would be ridiculous though, since this is in basic.
Quote from: nemo on November 03, 2010, 04:15:32 pmstoring 40 cards wouldn't be too difficult. for each card you need:-String name-attack-defense-# of stars-type. [trap card, monster card, etc]attack and defense need about 2 digits of information each, # of stars can be modified for one, otherwise two. type can be one digit. that's 7 digits of information to be compressed into a list entry, and then the String name can probably be compressed into under 28 digits, which will fit into 2 list entries. then you'll just need a 300 element list for 100 card data, and at the beginning of the program decompress everything but the string names, which you can decompress on the fly. at least, that's my idea. would be infinitely more efficient in axe though. good luck with it!If he wanted to include pictures, he could also have a separate string with all of the pictures using RLE for the pic as well as a default card outline.
storing 40 cards wouldn't be too difficult. for each card you need:-String name-attack-defense-# of stars-type. [trap card, monster card, etc]attack and defense need about 2 digits of information each, # of stars can be modified for one, otherwise two. type can be one digit. that's 7 digits of information to be compressed into a list entry, and then the String name can probably be compressed into under 28 digits, which will fit into 2 list entries. then you'll just need a 300 element list for 100 card data, and at the beginning of the program decompress everything but the string names, which you can decompress on the fly. at least, that's my idea. would be infinitely more efficient in axe though. good luck with it!
Quote from: nemo on November 03, 2010, 05:21:43 pmQuote from: Qwerty.55 on November 03, 2010, 05:14:03 pmQuote from: nemo on November 03, 2010, 04:15:32 pmstoring 40 cards wouldn't be too difficult. for each card you need:-String name-attack-defense-# of stars-type. [trap card, monster card, etc]attack and defense need about 2 digits of information each, # of stars can be modified for one, otherwise two. type can be one digit. that's 7 digits of information to be compressed into a list entry, and then the String name can probably be compressed into under 28 digits, which will fit into 2 list entries. then you'll just need a 300 element list for 100 card data, and at the beginning of the program decompress everything but the string names, which you can decompress on the fly. at least, that's my idea. would be infinitely more efficient in axe though. good luck with it!If he wanted to include pictures, he could also have a separate string with all of the pictures using RLE for the pic as well as a default card outline.loading would be ridiculous though, since this is in basic.It depends on how it's formatted. It's how the game engine for Battlefield runs and it's pretty fast for small strings.
I meant predominate as in most BASIC games are ASCII well, good luck on your game! EDIT: and who gave me a -1 respect? can you at least tell me why?EDIT2: Well It's not in this post but I still want to know who did it
Battlefield?