Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Card Selection issue

Author
Message
Koolmist
12
Years of Service
User Offline
Joined: 17th Mar 2012
Location: Washington
Posted: 30th Mar 2012 02:02
I have managed to get quite far on my building knowledge of DBPro in my game so far; however, I have run into a programming headache where I was hoping I could get some assistance from you. There is a screenshot attached. What I am trying to do is when you click on say “Boothby” it will add his name to the list on the bottom of the screen with a max of 30 cards that can be selected.. we are building a player deck at this point so the names that are being selected will also have to be associated the card eventually. I will worry about that when I get there. My main thing is I can’t for the life of me figure out how to get my existing code to absorb this new ability... I feeling like I’m on the cusp of a breakthrough but am just not quite there... here is my mouse over code.. Thanks to zeroSlave...



The tricky part is this bold area... if mc=1 then what? That’s the part I’m drawing a blank on... I know I want to click =(variable), and (variable)=name, and then print the name, if the there is a name listed then print the name in the next line down.. Would I use types for this? If so would it be best to build a database of the player cards with all of their attributes, and then pull just the info needed? I went through the player cards and this is what the types would look like...



Is this my best route or would I be better off trying something new? Thanks for any help!!

Koolmist

Gaming is not just entertainment,
Gaming is a lifestyle!!

Attachments

Login to view attachments
Penfold
20
Years of Service
User Offline
Joined: 3rd Dec 2003
Location: RED postbox houses of parliment
Posted: 31st Mar 2012 01:38
I mc=1 add the card data to deck slot 1?

as far as the data types youd probably be better asigning each one a number and then each character has 6 slots for types and you put the number in each slot. obviously a slot can have no class.

diplomacy = 1
treachery =2
engineering = 3

type cards

name
slot 1
slot 2
slot 3
etc.


this will make it easier when checking for missions..

does my charcter have diplomacy?
check slot 1,2,3....
if slot 1=1 then mission passed()

'Ooh 'eck chief'...'crumbs'
Zolarius
17
Years of Service
User Offline
Joined: 8th Jul 2007
Location: Vancouver, WA USA
Posted: 1st Apr 2012 05:48
Koolmist,

try this out for what we were talking about earlier.

When Emailing me, Please start subject with: TGC-
I have an autosort feature that puts good emails
in their own folders. Thank You

Attachments

Login to view attachments
Koolmist
12
Years of Service
User Offline
Joined: 17th Mar 2012
Location: Washington
Posted: 3rd Apr 2012 03:58
Not sure why but your code didn't work..

Gaming is not just entertainment,
Gaming is a lifestyle!!
zeroSlave
15
Years of Service
User Offline
Joined: 13th Jun 2009
Location: Springfield
Posted: 4th Apr 2012 23:26 Edited at: 4th Apr 2012 23:26


You might try looking through that (sorry, I didn't have time to comment it. I've been pretty busy lately). And yes, you probably are going to want to use types for your card titles and such. Hope this helps!

Koolmist
12
Years of Service
User Offline
Joined: 17th Mar 2012
Location: Washington
Posted: 5th Apr 2012 02:59
As usual zero Slave you rock!! thanks bro!!

Gaming is not just entertainment,
Gaming is a lifestyle!!
zeroSlave
15
Years of Service
User Offline
Joined: 13th Jun 2009
Location: Springfield
Posted: 5th Apr 2012 03:38
No problem, amigo. I got your email, I just didn't have time to sit down and write something up. Had the day off.

I'm a fan of Star Trek. From Kirk to Picard to Sisko to Janeway to (and even)Archer, I've seen them all. But never got into the card game. I invested so much money into MagicTG (all the way back to Alpha, Ice Age, big fan of Urza, etc.) that I never got into any others.

I did start to make a card game at one point though. Was going to be an AVP card game (based somewhat off the AVP pen and dice RPG I filled a book with (Yes, I am a Sci-fi nerd)). I had some decent rules set up, but never did anything with it. Fox(Faux) probably would have tried to sue me, anyway.

Anyways, I'll be watching for progression!

Login to post a reply

Server time is: 2024-11-22 04:17:45
Your offset time is: 2024-11-22 04:17:45