Adventure Creator: 2D primer
Vložit
- čas přidán 2. 07. 2024
- New to Adventure Creator? Updated for Unity 2021, this tutorial covers the essentials needed to get you on your way to making a 2D adventure game.
URP camera script: www.adventurecreator.org/file...
Find more tutorials on the Adventure Creator website: www.adventurecreator.org
0:00 - Introduction
1:49 - Getting started
4:40 - Basic interactions
21:14 - Inventory items
27:34 - Saving and loading
31:01 - NPC conversations
42:13 - Logic variables
47:27 - Camera switching
51:04 - Keeping score
1:00:23 - Creating a Player
1:07:24 - 2D navigation
1:18:56 - 2D cameras
1:22:56 - Character speech
1:35:20 - Translations - Hry
Quick note: The New Game Wizard has been updated since this video was recorded - a tutorial on its usage is here: www.adventurecreator.org/tutorials/running-new-game-wizard
Just finished this tutorial, and I thought it was a great resource for learning the basics of AC. A week ago I was thinking about all the systems I would need to create to get a point and click game up and running, but today I'm able to just start creating because AC is handling all of those for me!
Just the video I wanted. Thanks Chris!
Thank you for your tutorials mate. Keep it up
You are the best, thanks a lot for the new tutorial! I need it!
This is a fantastic tutorial
First: nice tutorial!
I have to admit I thought Adventure Creator is put on Unity in a bit uncomfortable way. Having an own IDE would be much better. On the other side, you (and also me now) can use Unity for further implementation than you thought of. So I feel more confident this is a right choice. After watching this tutorial I'm totally sure, this is the right choice for my little project. You provide so many options for such a fair price so I bought it. Thank you!
Thank you Chris!
Yes a New One Cool
it"s amazing!!!!!!!!!!!!
As someone who has just joined a project using AC, I'm amazed by how comprehensive and user friendly it is. People with literally no experience could utilise this. Fantastic creation Chris!
I have had a look through your channel, but don't seem to be able to see it, but a video on hooking up custom code would be awesome! However, the documentation is very good!
Thanks very much! A series of tutorials on extending AC through scripting can be found here: www.adventurecreator.org/tutorials/third-party-tools-and-customisation
Thanks
Thanks so much, I hope you can make a tutorial for creating android 2d game as well
what you mean , with unity you can compile your game for android also
Great tutorial, thank you. Do you always have to use hot-spots for interactive elements?
For areas of the screen that the player can click on, yes - but interactivity can also be achieved through Triggers and Input.
Hi there, extreme noob with this system..
At around 21:07 you show an example of making a button that triggers exiting the game/changing the scene. However, because I have "Choose hotspot then interaction" on in AV game Editor > settings, the exit icon won't appear because I've got the project settings set to display menus when a hotspot is interacted with. An empty black pixel displays instead. How do I go about doing both... is there a way?
"Choose Hotspot Then Interaction" will open up the Interaction menu by default - but you can still have the behaviour as in the video for specific Hotspots by checking "Single 'Use' Interaction?" in the Hotspot's Inspector. This is what the 2D Demo does (which also uses this Interaction method) for its Exit Hotspots, since you typically don't need to see a list of icons for an exit.
The empty black pixels sounds like the Interaction menu turning on, but with no Interaction icon that matches the one defined in the Hotspot - "Exit" in this case. If you want to rely on the Interaction menu for this case, you just need to add that icon type to the Interaction menu - which you can do by adding a new "Interaction" element that's "Cursor" is set to "Exit".
Hello Sir, thank you so much for updating this tutorial. I was wondering if you are going to be doing the same for the 3D one?
The 3D workflow is much the same as it was - are you having an issue with a particular part?
@@ChrisIceBox
Nope. Just wondering if you had plans to do so.
@@JustinHunterTCM Yes, likely so!
@@ChrisIceBox Thank you sir. And I also greatly appreciate this wonderful app you have made.
Thank you for the tutorial, Chris. I'm having a bit of a problem with the "Exit" cursor/interaction - I can see it and use the Exit hotspot properly only in "Context Sensitive" mode, but in all others modes it just disappears from the list of available player interactions. What could cause this?
If you're not in Context Sensitive mode, you'll need to check "Single 'Use' Interaction?" in the Hotspot's Inspector to have the cursor appear automatically.
For new icons to appear in the Interaction menu, you'll need to update the Interaction menu itself by adding to it a new Interaction element mapped to that icon.
@@ChrisIceBox is it possible to update the Interaction menu through AC Game Editor in such a manner? Or is it done only by using custom scripts?
@@mj12scum No scripting necessary - a tutorial can be found here: adventurecreator.org/tutorials/creating-new-interaction-icons
@@ChrisIceBox Thank you, Chris! Got it working.
Chris, by the way, which program did you use to create .anim animations for the 2D demo? Spine, Spriter, Anime Pro or Unity's own tools? I tried exporting animations from Spriter to Unity using a third party plugin - that was a clunky experience.
The 2D demo uses sprite swapping animation - not anything skeletal. The sprites were made in Blender, but you should be OK with any technique that gives you animations you can put into an Animator Controller.
Strange, I followed the steps in Unity 2020 for the ParkTree hotspot/collider and it doesn’t display anything on mouseover/click (unlike the bench which was done by the other method).
Nm, I saw your comment on the forum about this. For some reason my Settings manager>Camera settings>Camera perspective was set to 3D instead of 2D.
Thanks so much for this! Quick question - I weirdly have my player double every time I run the game. The one is working and moves around, while the other just stands there with the idle animation looping. Please help!
Do you have a copy of your player model in the scene file? AC will spawn in the Player prefab you assign in the Settings Manager when you hit Play, so you don't need your character to be in the scene file itself.
If that's not it, best to see screens - post details on the forum at www.adventurecreator.org/forum/ and I'll see if I can spot the issue.
@@ChrisIceBox No I thought that was the issue but deleted it out of the scene when you said I should. I will post on there shortly and will use some screengrabs too. Thanks for the prompt response!
Hmm, Barry talks but doesn’t transition to the talking animation(stuck on the idle animation). I’m using Unity 2020.
Make sure "Has Exit Time" is unchecked in the Idle -> Talk transition. If you need more specific advice, share images of your Animator on the forum at adventurecreator.org/forum
You must change in NPC>Mecanim parameters>Talk bool to "isTalking".... it is "lsTalking" by default.
Any news on a Godot version? Ive had to ditch my investment in this great tool after taking a cold hard look at Unity and deciding best to walk away - for dozens of reasons. If not, thanks anyway Chris, you got me started 👍
Hello, I would like to ask. For those who know to code in C#. Would it be better to use it? Or even if we know to use c# it is better (or eassiest) not to use it? Thanks.
It really depends on what you want to make. If you want to make a traditional adventure game that AC is designed for, then it'll help you out whether you're a coder or not. If you are a coder, AC caters for extensions by providing event hooks and a documented API
@@ChrisIceBox thank you!
Hello, I'm making a 2D game. I'm having trouble setting up a 2D hotspot. Only 3D hotspots work and they are cubes. As I create a hotspot using "polygon collider 2d" the cursor does not respond to it. What am I doing wrong?
Make sure that your Settings Manager's "Camera perspective" field is set to 2D - this'll be set automatically if you opt to make a 2D game when running the New Game Wizard.
@@ChrisIceBox Although I initially set the game design as 2D, in the "settings manager" I had the camera set to 3D.
I changed it and everything works as it should :D
Thank you
Sorry, my UPR/AC 2D setting doesn't work, i can't figure out where to place the camera script. Help please!
Paste the code into a new C# file name SetTransparencySortAxis and attach it to your MainCamera object. If there's an issue, check your Console for messages and share details/screenshots on the forum at adventurecreator.org/forum
@@ChrisIceBox It works perfectly, thank you very much!
None of integrations worked, UFPS, oottii, Invector. I guess they need to be updated
Which integrations are you referring to? UFPS integration has been replaced by the UCC package on AC's Downloads page: adventurecreator.org/downloads
the link for the camera script code is broken
Thanks for the alert - I've updated the link.