I've been coding a game in two projects. How do I merge them?
gfb08174
Member, PRO Posts: 69
I'm new to GS and took some precautions with coding. In order to prevent irreversible damage I worked between two projects.
A problem comes up when copy and pasting behaviors from project A.1 to project A.2. Even though I recreate all the actors, attributes scenes, etc, an error message comes up saying: "warning: The following behaviors have invalid attribute values:" (it then shows a host of attributes) when I paste behaviors of an actor in project A.1 into the actor of project A.2
How can I transfer everything from project A.1 to project A.2?
Comments
Good question. You have to use a special tool. @DeepBlueApps has one on their site. I'll message you the direct link as posting it here is against the forum rules.
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
I to would like to know that if you catch this message. Braydon_SFX
Message sent.
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
Hi @Braydon_SFX thanks for the answer and personal message. Is Project Merger the only solution? I rather not use a pay-to-use service
I rather not use a pay-to-use service
Well, you could go with the old fashioned Ctrl + C and Ctrl+ V
It's not a pay to use service. It's a TOOL to solve your problem.
@Meeped Ctrl + C and Ctrl+ V causes the error message.
@gingagaming are there alternative tools?
That's the only tool of its kind I know of. I haven't used it personally but my clients have and find it works really well (I don't have any connection to DeepBlueApps.com, by the way).
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
I recommend it, it is a cheap tool, works perfectly, and if you have trouble you could always contact Darren for instant help
You guys do realize that Xcode comes with a file merger in it? Its called FileMerge, its in the utilities folder...
Open it up, choose project one, choose project 2, select destination, then add .gameprog extension to the folder made and bam, done. Then go buy a beer with the money you saved.
Fortuna Infortuna Forti Una
@Lovejoy sounds good! I practically never open Xcode but perhaps I should...
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
What are you, some kind of genius or something? :P
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
@lovejoy, great info, thanks for the tip!
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
No problem, Im glad you guys found it useful.
Fortuna Infortuna Forti Una
Anybody ever try GitHub and merging the projects together? Curious if that works.
Thank you @Lovejoy . My App Store is acting up and the Xcode page won't load so I'm unable to try it out for the time being.
Does anyone have experience with this?
I just use the app from DBA.. works perfectly!
@Lovejoy @tatiang @Braydon_SFX @Jamie_c We don't recommend it and I'm surprised you don't know how GS works under the hood but hey…
There's hundreds of text editors that can do that too.
With a GS file you have to also do some 'changes' to the file.
Might work for some projects but it won't resolve clashes in the xml id references and quite a few other things but might be ok with some projects where there's no conflicts.
The variable 'game.lives' is a word us humans see.. Behind the scenes GameSalad assigns a unique number say 9986568 but in project 2, that number could be assigned to say a rule in the project.. So when you merge you'd end up with a very confused, and non working project....
But if you had 2 projects, and by chance the thousands of id numbers are 100% different in each - then a simple text merge might be ok.
In merger development this seemed to clash a lot - so our tool is coded to fix as it merges.. But whatever LOL you go buy a beer (if your old enough to drink) and we will continue to sell our tool.
I really hope you are not trying to start an attack on me, i was simply answering the original poster's question since he clearly mentions that he did not want to spend money.
Keep trying to press me and you will end up finding all your templates posted online for free. Word of advice, wordpress is not very secured my friend.
Fortuna Infortuna Forti Una
Attacking you? Are you serious? I was simply explaining the pitfalls of your method and FYI we don't store our templates in the wordpress site so your wrong...again.
I do hope one of the higher ups sees your post and takes action because your way out of order.
@DeepBlueApps It's not that I don't understand how it works... I'm taking another user's advice sight unseen. It's something worth exploring, that's all. I haven't used your Project Merger myself, either, so I don't know how well it does or does not resolve xml references. As I mentioned, some of my clients have used it successfully to merge purchased templates with whatever project files they had started working on.
@Lovejoy, threatening another user is specifically prohibited in the Forum Rules:
I'd ask you and @DeepBlueApps to both to be considerate of this.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
I am well aware, seems like you missed the point. With that being said, good day.
Fortuna Infortuna Forti Una
I was about to get me some popcorn and soda but then it's all over, *sigh, lol
Wait @DeepBlueApps if we do use the GSProject Merger what about the duplicate purchase table?
I'd just code a new project with all you've learnt! It Would be much quicker than posting here and thinking about it!!
Out of the box WordPress is not secure similar to a Windows or Linux server. The more popular the product the more it is vulnerable to attack. All products need to be hardened (secured) and once secured WordPress is very secure. Custom products are not always secure but the only benefit with them is that the vulnerabilities are not known to attackers.
And yes there are a lot of unsecured WordPress sites out there. In my experience I found 4 out of 5 installations not hardened. These sites are sitting ducks that could be hacked but that is the site admins' fault not WordPress's fault. The WordPress Codex tells you exactly how to harden your WordPress installation ...
Free Mini Games and Demo Templates