Unity 5 Interact with the database like a pro – php mysql
Unity 5 Interact with the database like a pro – php mysql, available at $19.99, has an average rating of 3.65, with 45 lectures, based on 115 reviews, and has 1101 subscribers.
You will learn about build a professional backend layer to store and retrieve data for your Unity video game understand how to use MySQL and PHP as a solid data layer to communicate with Unity learn basics of PHP learn basics of MySQL learn quick setup of PHP and MYSQL for Unity read data from PHP and MySQL retrieve data from PHP and MYSQL insert data into MYSQL understand how Unity interacts with other systems This course is ideal for individuals who are gamers or tech oriented people or graphic designers or computer students or software engineers or people that fiddle with Unity or entrepreneurs or side entrepreneurs It is particularly useful for gamers or tech oriented people or graphic designers or computer students or software engineers or people that fiddle with Unity or entrepreneurs or side entrepreneurs.
Enroll now: Unity 5 Interact with the database like a pro – php mysql
Summary
Title: Unity 5 Interact with the database like a pro – php mysql
Price: $19.99
Average Rating: 3.65
Number of Lectures: 45
Number of Published Lectures: 45
Number of Curriculum Items: 45
Number of Published Curriculum Objects: 45
Original Price: $24.99
Quality Status: approved
Status: Live
What You Will Learn
- build a professional backend layer to store and retrieve data for your Unity video game
- understand how to use MySQL and PHP as a solid data layer to communicate with Unity
- learn basics of PHP
- learn basics of MySQL
- learn quick setup of PHP and MYSQL for Unity
- read data from PHP and MySQL
- retrieve data from PHP and MYSQL
- insert data into MYSQL
- understand how Unity interacts with other systems
Who Should Attend
- gamers
- tech oriented people
- graphic designers
- computer students
- software engineers
- people that fiddle with Unity
- entrepreneurs
- side entrepreneurs
Target Audiences
- gamers
- tech oriented people
- graphic designers
- computer students
- software engineers
- people that fiddle with Unity
- entrepreneurs
- side entrepreneurs
Note: all software used are FREE to download and use on PC, LINUX and MAC computers (no need to pay, cheers!)
This course teaches you how to create an authentication system for video games made with Unity.
With the authentication system, users can sign up and login into your game from any computers at anytime. It allows you, the developers, to store and retrieve important data such as the player’s email address and password, but also critical information such as which weapons and gear items characters are wearing and which items are in the player’s backpack.
All the great games are using it, look at world of warcraft, diablo, battlefield or league of legends.
This course goes beyond Unity as it teaches you how to program the server side that will interact with Unity using MySQL and in PHP.
The course is easy to follow because all the steps are show to you in the video lectures, plus you also get all the source codes as reference.
Nobody teaches you how to set up storing/retrieving game player data on a real server, only on home computers as a server, and of course that will not work except to entertain a few friends.
I’ll see you in the course
***
Why use PhP and not connect Unity straight to the database?
It’s a matter of design. Why would you want your players to connect to the DB directly? Assuming that you do not need to use the DB that often (just to adjust some values which might happen every couple seconds) It’s probably always better to have an API in place that takes care of the communication between the client and the server/DB instead of having your players connect directly to the DB.
Also, it would probably mean storing your DB access information(db username and password) in your code or somewhere else on the clients side, which would mean that anyone would be able to find it out in some way. Wwhich is obviously something you don’t want to happen.
Now if a user calls a simple SQL link, he/she would have all control over what happens on the server and the DB.
Using the PHP layer, the DB isn’t exposed to the player directly and as a developer, you’re able to check the data that your server receives to make sure that somebody isn’t cheating.
The Php server layer checks the incoming data before forwarding it to the DB or else everyone could do some terrible things such as specify some values for the URL and just send them directly to your DB.
Also, you don’t want to store the data locally, within the player’s hard drive, because any data stored locally can be easily accessed and modified, and nefarious players could easily equip epic loot without having to defeat bosses, or change their score to a gazillion number.
Course Curriculum
Chapter 1: Initial Setup
Lecture 1: Course overview and instructor greetings
Lecture 2: Download the Unity project and open the scene
Lecture 3: How to play the game server and client and test them
Lecture 4: Overview of the scene assets and resources
Chapter 2: Authentication System
Lecture 1: Designing the Login user interface in Unity
Lecture 2: Designing the registration UI
Lecture 3: Connecting the authentication UI to the code
Lecture 4: Swapping between Registration panel and login panel
Lecture 5: Adding a feedback message field
Lecture 6: Overview of the Authentication system
Chapter 3: The Dabatase Layer
Lecture 1: Installing mySql and Php on MAC and Windows the easy way
Lecture 2: Installing the mySql editor
Lecture 3: Create the SQL database and user table
Lecture 4: Inserting new users using the mysql editor
Chapter 4: PHP Server setup and coding
Lecture 1: Download Php text editors MAC and Windows
Lecture 2: Connect the php script to mySql database
Lecture 3: Programming the database login script
Lecture 4: Loging user connecting Unity login to database
Chapter 5: Connecting Php, MySql and Unity
Lecture 1: Programming the registration in Unity
Lecture 2: Triggering the user registration from Unity
Lecture 3: Creating a serializable json user object in Unity
Lecture 4: Refactoring the request endpoints
Lecture 5: Launching the game client after successful login and registration
Lecture 6: Testing Game Host and Client Login
Lecture 7: Hide password fields and add user ID to User
Chapter 6: Player gear storing and retrievial
Lecture 1: Programming the player gear storage class
Lecture 2: Create the SQL gear storage table
Lecture 3: Programming PHP code to retrieve player gear
Lecture 4: Retrieving stored player gear in Unity
Lecture 5: Equipping the helmet retrieved from the server
Lecture 6: Adding the item attributes
Lecture 7: Equipping the sword from the database
Lecture 8: Equipping the database off hand (shield)
Lecture 9: Equipping the shoulders from the database in Unity
Lecture 10: Adding a reference to the ground objects
Lecture 11: Programming Unity to send player gear to database
Lecture 12: Storing the player gear in the database
Lecture 13: Refactoring item equipping
Chapter 7: Player Backpack – Data storing and retrieving
Lecture 1: Create the backpack SQL script
Lecture 2: Programming PHP script to retrieve backpack items
Lecture 3: Programming php script to store backpack item data
Lecture 4: Coding Unity script to get player backpack items from server
Lecture 5: Programming the code that stores backpack data in DB server
Lecture 6: INSERT gear and backpack entries at registration
Chapter 8: BONUS
Lecture 1: Bonus
Instructors
-
Yohann Taieb
Apps Games Unity iOS Android Apple Watch TV Development
Rating Distribution
- 1 stars: 8 votes
- 2 stars: 5 votes
- 3 stars: 14 votes
- 4 stars: 33 votes
- 5 stars: 55 votes
Frequently Asked Questions
How long do I have access to the course materials?
You can view and review the lecture materials indefinitely, like an on-demand channel.
Can I take my courses with me wherever I go?
Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don’t have an internet connection, some instructors also let their students download course lectures. That’s up to the instructor though, so make sure you get on their good side!
You may also like
- Top 10 Video Editing Courses to Learn in November 2024
- Top 10 Music Production Courses to Learn in November 2024
- Top 10 Animation Courses to Learn in November 2024
- Top 10 Digital Illustration Courses to Learn in November 2024
- Top 10 Renewable Energy Courses to Learn in November 2024
- Top 10 Sustainable Living Courses to Learn in November 2024
- Top 10 Ethical AI Courses to Learn in November 2024
- Top 10 Cybersecurity Fundamentals Courses to Learn in November 2024
- Top 10 Smart Home Technology Courses to Learn in November 2024
- Top 10 Holistic Health Courses to Learn in November 2024
- Top 10 Nutrition And Diet Planning Courses to Learn in November 2024
- Top 10 Yoga Instruction Courses to Learn in November 2024
- Top 10 Stress Management Courses to Learn in November 2024
- Top 10 Mindfulness Meditation Courses to Learn in November 2024
- Top 10 Life Coaching Courses to Learn in November 2024
- Top 10 Career Development Courses to Learn in November 2024
- Top 10 Relationship Building Courses to Learn in November 2024
- Top 10 Parenting Skills Courses to Learn in November 2024
- Top 10 Home Improvement Courses to Learn in November 2024
- Top 10 Gardening Courses to Learn in November 2024