Welcome Guest [Log In] [Register]

This is the temporary Omnimaga forums until the new ones are back up (hopefully in March). You must login to view the board and post.

Click here for the temporary RPG archive (misses new files)
Click here for the temporary music download section
Click here to download the Mysterious Cities Of Gold RPG for Windows.
Here is the link to the IRC chat if you don't have an IRC client.

All the missing files including all staff programs, as well as your original member account and the 55000 posts will be back up soon.

Add Reply
MTG-like card game; MTG style card game on the 83+ Series
Topic Started: Jan 5 2008, 07:08 PM (2,260 Views)
art_of_camelot
Member Avatar
Soulless sorcerer swordsman
kalan_vod
Jan 15 2008, 08:35 PM
Maybe a conversion of data files (decks), Wizards<->MTG game ;)...endless possibilities.
um... what? :blink:
Projects:
Gradius: ~2%
Unnamed RPG: Conceptual stages
???: Conceptual stages
MTG style card game on the 83+ Series
Offline Profile Quote Post Goto Top
 
kalan_vod
Member Avatar

Possible to trade decks from this game to Wizards, make the decks convertible or such.
Edited by kalan_vod, Jan 15 2008, 10:40 PM.
Offline Profile Quote Post Goto Top
 
TheStorm
Member Avatar
Ha Ha You Lose
well depending on how wizards stores its cards it would be possible to convert it to a list and then send it to the calc with this game.
"If you've done something right, no one will know you've done anything at all."
Offline Profile Quote Post Goto Top
 
A_P
Member Avatar

Please get this to work... =P
I tried this once... and failed miserably.
Click picture for my forum. Please visit. =3
Posted Image
Offline Profile Quote Post Goto Top
 
art_of_camelot
Member Avatar
Soulless sorcerer swordsman
@kalan_vod and the TheStorm: Wizards is ASM though, I don't know if it would be possible to allow the two to play nicley together nor do I know how to go about converting them. Also, they will probably be to differnt gameplay-wise, IE- many of the card effects in my game simply wouldnt work in wizards.
@AP: My intention is nothing but failure. :p
Projects:
Gradius: ~2%
Unnamed RPG: Conceptual stages
???: Conceptual stages
MTG style card game on the 83+ Series
Offline Profile Quote Post Goto Top
 
kalan_vod
Member Avatar

Oops, I thought this was in asm (do not know why) sorry..
Offline Profile Quote Post Goto Top
 
NanoWar
Member Avatar
Free Speech For The Dumb
Hey, let's make different games :P ! ...Funky idea though.
\m/ Rock on!
Offline Profile Quote Post Goto Top
 
Liazon
Member Avatar
Vaizard
i agree, just make different games. more different kinds of fun :)
Spoiler: click to toggle
Offline Profile Quote Post Goto Top
 
art_of_camelot
Member Avatar
Soulless sorcerer swordsman
Does anyone know of a quick way to retrieve a value from a decimal place of a number? For example, I have the decimal number 0.12345678 . Is there a way I can retrive the values of the individual decimal places?
Projects:
Gradius: ~2%
Unnamed RPG: Conceptual stages
???: Conceptual stages
MTG style card game on the 83+ Series
Offline Profile Quote Post Goto Top
 
kalan_vod
Member Avatar

art_of_camelot
Jan 18 2008, 01:38 PM
Does anyone know of a quick way to retrieve a value from a decimal place of a number? For example, I have the decimal number 0.12345678 . Is there a way I can retrive the values of the individual decimal places?
Depends how many decimal places:
Code:
 
:int(10fpart(0.12345678 ;would get 1, and increase the 10 to more if you want more of the numbers
Offline Profile Quote Post Goto Top
 
art_of_camelot
Member Avatar
Soulless sorcerer swordsman
I want the to grab the individual values though, if I multiply by 100 next time it would get me 12, and by 1000 123. I wanted to be able to retrive just 1, or just 2 or just 8 and so forth. I found a solution too. All i have to do is convert the number to a string, use the sub command to grab whatever part of the string i want, then convert it back to a number!
Projects:
Gradius: ~2%
Unnamed RPG: Conceptual stages
???: Conceptual stages
MTG style card game on the 83+ Series
Offline Profile Quote Post Goto Top
 
kalan_vod
Member Avatar

art_of_camelot
Jan 18 2008, 03:10 PM
I want the to grab the individual values though, if I multiply by 100 next time it would get me 12, and by 1000 123. I wanted to be able to retrive just 1, or just 2 or just 8 and so forth. I found a solution too. All i have to do is convert the number to a string, use the sub command to grab whatever part of the string i want, then convert it back to a number!
Conversion to a string is always a quick optimized routine ;).
Offline Profile Quote Post Goto Top
 
vuurrobin
Member Avatar

Quote:
 
I want the to grab the individual values though, if I multiply by 100 next time it would get me 12, and by 1000 123. I wanted to be able to retrive just 1, or just 2 or just 8 and so forth. I found a solution too. All i have to do is convert the number to a string, use the sub command to grab whatever part of the string i want, then convert it back to a number!


if you want to get the 2, you could multiply by 10, take the fpart, multiply by 10 again, and take the int. you could even use seq( and create a list with each value.
Offline Profile Quote Post Goto Top
 
art_of_camelot
Member Avatar
Soulless sorcerer swordsman
could you post some sample code? I'm not exactly sure what you mean. I could see doing it like this:(off the top of my head)
Code:
 

0.12345678->A
1->dim L1
10->C
For I,1,8
AC->B
B->L1(dimL1)
1+dimL1->dim L1
ipart(A-A->A
10C->C
End

I'm unfamilar with the seq( command also, so I dont know how it works.
Edited by art_of_camelot, Jan 19 2008, 02:22 PM.
Projects:
Gradius: ~2%
Unnamed RPG: Conceptual stages
???: Conceptual stages
MTG style card game on the 83+ Series
Offline Profile Quote Post Goto Top
 
vuurrobin
Member Avatar

0.12345678->A
seq(int(10fpart(10^(B)A)),B,0,7->L1

this creates the list {1,2,3,4,5,6,7,8}

you may want to look up what seq( does, since its a really usefull function
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
Go to Next Page
« Previous Topic · Magic: The Gathering · Next Topic »
Add Reply