Home
News
FAQ
Forum
Ygopro
Search
Register
Login
YGOPRO Forum
Welcome Guest! To enable all features please try to register or login.
Forum
Active Topics
YGOPRO
»
YGOPRO
»
Projects
»
How does dueling system work in general in all versions of ygopro, and how does it use lua files?
How does dueling system work in general in all versions of ygopro, and how does it use lua files?
Options
Email this topic
Watch this topic
Print this topic
» Normal
Threaded
Previous Topic
Next Topic
egycno
#1
Posted :
Thursday, September 10, 2020 12:21:32 AM(UTC)
Rank: Newbie
Joined: 4/14/2020(UTC)
Posts: 3
After browsing through the source files for ygopro and ygopro 2, I learned that there are fixed values in them such as card location, card attribute, link marks, card race (warrior, dragon..) and card effects, although some names differ, but the actual difference is in the UI and animation effects. I did not find the duel files in ygopro2 while I realized that the files responsible for the ygopro dueling system are duel.cpp and field.cpp And I noticed that each of them called files that carry a definition for each of the card properties, such as the type of card (ritual, trap, xyz..), type of monster (warrior, dragon..) and field properties (GY, monster zone...), but I did not know otherwise, and neither I know how the lua files are used in the dueling system, nor the file that connects them with the rest of the files, and I did not know how each part in the field is assigned to coordinates for the cards to move through, for example when summoning a monster, how does it move from the hand to the monster zone? What is the general idea that the dueling system works in all versions of Ygopro? I'm a beginner with C ++ and C #, and there aren't enough comments inside the files explaining how they work
I intend to create my own Ygopro version written in another language.
User Profile
View All Posts by User
View Thanks
cybercatman
#2
Posted :
Saturday, September 12, 2020 3:55:12 PM(UTC)
Rank: Advanced Member
Joined: 5/15/2013(UTC)
Posts: 1,393
Thanks: 5 times
Was thanked: 271 time(s) in 218 post(s)
the best place to ask would be more likely the original ygopro fork
https://github.com/Fluorohydride/ygopro
They are likely the ones that understand the core the best
User Profile
View All Posts by User
View Thanks
Users browsing this topic
YGOPRO
»
YGOPRO
»
Projects
»
How does dueling system work in general in all versions of ygopro, and how does it use lua files?
Forum Jump
YGOPRO
Ygopro.co
- News and Announcements
- Ygopro.co website discussion
YGOPRO
- YGOPro Discussion
- Support and Feedback
- Card rulings and card bugs
--- Anime cards
--- Beta cards
- Projects
--- Card scripts
- Duels
- AI section
Mobile
- Android Support and Feedback
- iOS Support and Feedback
Yu-Gi-Oh!
- Yu-Gi-Oh! Discussion
- Decks
Tournaments
- Tournaments
OTHER
- Off-Topic
You
cannot
post new topics in this forum.
You
cannot
reply to topics in this forum.
You
cannot
delete your posts in this forum.
You
cannot
edit your posts in this forum.
You
cannot
create polls in this forum.
You
cannot
vote in polls in this forum.
Powered by YAF
|
YAF © 2003-2021, Yet Another Forum.NET
Notification
Error
OK
Copyright © Ygopro.co