Super Maker Forums
Please Login or Sign Up to activate member privileges


Super Maker Forums
Please Login or Sign Up to activate member privileges

Super Maker Forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Super Maker ForumsLog in

descriptionGuideACE CARD GAME

more_horiz
[You must be registered and logged in to see this image.]

Have you ever wanted to have this in your game? Well now you can!

Welcome to DarthVollis's Guide to installing this cool minigame to your project.

Step 1 Scripts

For this to work there are several scripts that are necessary.

Warning: These need to go at the after every other custom script in your game, but before main.
To make it easier I posted the link to the demo as requested by ShinGamix.


LINK[You must be registered and logged in to see this link.]LINK

Copy these all over to your project in the order that they are.

Step 2 Graphics

That was the easy part. Now for the configuration.

Open the game folder to the demo card game project and open the graphics folder. Open each of the folders
and copy anything that is there to your project folders with the same name.

Now go back to the editor of the demo card game project and open the database and go to items.
There should be four(4) items listed. Copy each of them to your project and make note of the Item Number that each get.
For example, "Bandit" is item oo1 in the demo, but in your project it may not be. Here is an easy way to make that
note about these items. Write down this list:

Bandit 001 -
Dark Elf 002 -
Paladin 003 -
Cleric 004 -

Now with this note write down the number that these item are in your database. (This is very important!)

Now go to your pictures folder and find the following image names.

card_1.png
card_2.png
card_3.png
card_4.png

These image relate back to the items in your project. Remember those number s that I had you write down. It
is time to use them.

Change the numbers in the image names to match the number that the item is in your database. Remember
Bandit is card_1. Once you have these numbers changed and saved close this folder. (Do not worry about card_5.png right now).

Step 3 Skills

Now that you have the cards rename and moved correctly it is time to fix the skills that are related to each card.

Open the database of the demo project and go to skills. Copy every skill from 128 - 135. Paste these in your game. Now it is
time to make another note.

128 Strength -
129 Avoidance -
130 Protection -
131 Dark Arrow -
132 Revive -
133 Knight's Rage -
134 Holy Light -
135 Instant Heal -

From this note copy the number of each of these skills in your game to the list. Once that list is done go to the item section of
the database in your game and locate the four cards. In the Note Box there are a few tags. All the other tags are fine except the bottom two.
Change the numbers to match the number of the skills that are now in your database.

Step 4 Switches and Variables

This is one of the most important parts!

Go to your project and make three(3) new switches. (Make sure the come in order!)

Name them as follows:

Select Cancel Permission (In the demo project this is 1)

Use flag deck editing commands (In the demo project this is 2)

Use Mock Duel Command flag (In the demo project this is 3)

IMPORTANT Make sure to make a note of the switch number for each of these.

Now make two new variables and make sure they are in order as well.

Name them as follows:

Game Result (In the demo project this is 1)

Deck Cost Limit (In the demo project this is 2)

IMPORTANT Make sure to make a note of the variable number for each of these.

Now in your project go to the scripts and open up the Settings script.

[You must be registered and logged in to see this image.]

Change switch 1 to the number of the Select Cancel Permission switch in your game
Change switch 2 to the number of the Use flag deck editing commands switch in your game
Change switch 3 to the number of the Use Mock Duel Command flag switch in your game

Change variable 1 to the number of the Game Result variable in your game
Change variable 2 to the number of the Deck Cost Limit variable in your game

Step 5 Eventing


[You must be registered and logged in to see this image.]

This is a set up event to allow for test playing and learning how to set up certain aspects of the game.

Change the switches to the number of the switches in your project.
Change the variables to the number of the variables in your project.

Add the items as displayed.

Now for the script calls. On the third page of event commands is Script Advanced. This is a script
call.

Add the following script call:

make_deck(0, [1, 2, 3])
make_deck(1, [2, 4, 1])

The numbers inside the brackets correspond to the card number from the item database. Change the numbers to
the numbers of your cards. DO NOT CHANGE THE 0 and the 1 that are outside of the brackets!

Make sure this event is autorun. Create a second event page and have it triggered by self-switch A.
Do not make the second page autorun.

In the demo there is a maid standing a stone room. Copy that event over to your project.

[You must be registered and logged in to see this image.]

Inside the script call change the 3,3,1 to the numbers of the cards in your database.

Next change the variable to match your Game Result Variable.

Test Play and Enjoy!

descriptionGuideRe: ACE CARD GAME

more_horiz
Thanks for posting this!! Brownie points up!
privacy_tip Permissions in this forum:
You cannot reply to topics in this forum
power_settings_newLogin to reply