-
Notifications
You must be signed in to change notification settings - Fork 192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
My Tuxemon game development journey #1546
Comments
Hi! We use Tiled to do everything: https://www.mapeditor.org/ or https://github.com/mapeditor/tiled If you download Tiled, then you can open .tmx files. If you go into: mods/tuxemon/maps, you will find all the .tmx files for the Xero and Spyder campaigns - the maps beginning 'spyder_' are the spyder maps, everything else is for the Xero campaign.
Tuxemon uses Actions and Conditions to do everything in the game, the documentation for Actions and Conditions are here:
You can test this without creating a map by using the command-line:
Finally, when the player talks to the shopkeeper, it uses I made a game in Tuxemon too - called the Water region mod! You can look at how I made it, it needs to be put inside the /mods/ folder in Tuxemon: 😄 |
Thanks for your guidance, your game looks fun. |
Congratulations! |
Thank you for your congratulations! |
Good job, be careful to use core_ tilesets |
No problem. I'll take care of it |
Now I have two questions: why does the game quit when I enter the game again with my map after setting the collision? Also how to set up where players (not NPCS) appear on my map, my character always appears in the top left corner now, thanks. |
There are many reasons. |
Ok, thank you. So how do I put the character where I want it to be? |
Again, as I said before, you can come up with the solution by copying, studying and deducting as the various elements work.
|
Sure, create an event called "Player Spawn", this will be the starting position of the player. |
Thanks,Now the problem is solved, because I was careless and forgot to put names in some collisions, and now it works fine, and I'm a little excited about it |
I added music to my map (by creating an object in the Events layer, setting the type to "event" and setting an attribute "act1", On the right side of it, type "play_music music_home" and create a second property, "cond1". On the right side of it, type "not music_playing music_home" to save the map and enter the game. It played successfully. Next, I want to create an NPC that will say "Hello Tuxemon World" to me! Stay tuned (if there's a problem with this, I might bother you, so let me apologize in advance) |
I would suggest
mom_talk
|
I'm sorry. I seem to have misunderstood |
Ah, good point - but I don't have access to the wiki. Maybe @Sanglorian will be able to fix it or give you access if they have time. 😃 |
Sorry, I had a problem again, I had changed the momtalk event to this and added translations to the en_US and zh_CN po files, but when I tried to talk to mom, the game quit |
you need to set the money for the player: |
Thanks for flagging me, @JaskRendix @DavidLiang1129 , if you email me at sanglorian@gmail.com I can set you up with an account on the wiki. |
Thanks! It's working now, I've added a few other events (more dialogue and an event for the main character to get Tuxemon) to complete the initial bit of the story, next, I'll start exploring how to make this event work only once to make sure the story doesn't get triggered again, I'll ask questions if I have any, have a nice day! |
I think the problem is in 'act4': (For an Action, an 'act', you use If it still doesn't work - Can you post what's in the 'cond1' 'cond2' sections - eg. 'not variable_set get_tuxemo...'?
Currently, you can only use the method you're using - for each event, have a 'cond' for |
Thank you very much. I'll try it when I have time. |
Thanks, that's helpful! I've refined a few more events, and now that I've finished the initial plot, I'm ready to start drawing my first town. |
Hooray! Well done! 🥳 🎉 Make sure to backup your files, onto another hard drive or USB memory stick, just in case there's a problem with your PC or project and you need to get them again. You could also put them onto Github. 😄 |
Ok, thanks for your advice! |
It looks great! Well done! 😄 🏆 |
Thank you for your appreciation!😃 |
Now the first Demo is about to be completed (although it is very short, so far I have only made a road and a town, next I plan to make the town where the protagonist's friends live, and then arrange the first Tuxemon battle between the protagonist and his friends there, and then the Demo is over) now please ask how I can package this content into a mod? Thank you very much. |
Ah, we don't actually have a way to create or distribute mods at the moment. The quickest way, for small projects, is to just share the maps you've created, in mods/tuxemon/maps. Plus the base.po file in mods/tuxemon/l18n....(etc) if you've added dialogue in there. But once it starts to get bigger, you might want to separate it into a different folder: I hope that makes sense. 😃 |
throw your maps inside maps, eventually we are going to create specific subfolders There is the map debug.tmx
edit this
into
remember to add inside the PO file (EN), below:
@ultidonki there is no more hardcoing in the starting, now everything has been defined inside the debug.tmx, so it's more easy to edit. Modders can act only on Tiled without touching anything else. I'm pushing to integrate also add_monster inside the tmx file instead of listing the monster in the JSON eg #1678 Opened a PR regarding subfolder some weeks ago #1660, so we can at least creating the subfolder for each campaign, but until now I got no response. |
Thanks a lot, I've been a little busy lately, and I'm going to be busy for the rest of the year, and the game will be on hold for a while, but I'll update my content from time to time |
Thanks a lot, I've been a little busy lately, and I'm going to be busy for the rest of the year, and the game will be on hold for a while, but I'll update my content from time to time |
Cool, looks even nicer now! 😄 |
Thank you for liking it! |
Nice! It looks slightly bigger than Roufeng town, and it looks different, so the player won't get lost. It's good! 😃 |
Thank you for liking it! |
Long time no see. Due to some problems with the hard disk of my computer, all the data in my computer have been lost, so I have to start the production of my game again, for which I am deeply sorry. I will release the latest progress in a few days. |
In future, you could use a usb or a cloud service program or, y'know, github itself to back up your data. |
With the Chinese translation over, I can't wait to develop my own game Tuxemon: Soft Wind/ Clear Water, now I have a few questions: How do I create a map? How to configure random encounters? How do you create NPCS? How do I create a trainer? How to create store events like or Tuxecenter? (I found some content on Tuxepedia, but the link to the forums doesn't work.) Can someone give me a copy of this? Thanks!
The text was updated successfully, but these errors were encountered: