Recently, I came across an error that was quite the head-scratcher while grading some Unity scripts. Here’s what the error says:Continue reading
CSV stands for Comma-Separated Values, and CSV files are text files that look something like this:
Username,Email,Address,Contact johndoe,firstname.lastname@example.org,"71 Pickering Street, Singapore, Singapore",+65-91234567 janedoe,email@example.com,"24 Raffles Lane, Singapore, Singapore",+65-81234567 marysmith,firstname.lastname@example.org,"83 Riveting Road, Singapore, Singapore",+65-97654321 bobsmith,email@example.com,"84 Riveting Road, Singapore, Singapore",+65-87654321
Essentially, the CSV file format is meant to represent tabular data. The above CSV file represents the following table:
|firstname.lastname@example.org||71 Pickering Street, Singapore, Singapore||+65-91234567|
|email@example.com||24 Raffles Lane, Singapore, Singapore||+65-81234567|
|firstname.lastname@example.org||83 Riveting Road, Singapore, Singapore||+65-97654321|
|email@example.com||84 Riveting Road, Singapore, Singapore||+65-87654321|
Due to their tabular nature, data in a CSV file can very easily be imported into and stored in an SQL table. The commands to do that, however, are not very well-documented online.
If a CSV file does not open as a text file on your computer, that’s because your computer is opening the file with a spreadsheet program such as Microsoft Excel. In such a case, to see the file as text, you will want to open these files on a text editing software such as Notepad.Continue reading
Are you looking to run Python as a server-side scripting language on your XAMPP installation? Here’s a guide on how to set it up.Continue reading
Here’s a common error that people usually run into when doing Unity scripting, and it’s one that even reasonably-skilled programmers can take awhile to fix.Continue reading
If you, for some reason, are trying to remove the WordPress admin bar on the backend using
show_admin_bar(false) to no avail, that’s because the method does not remove the admin bar on the WordPress admin backend by design. If you still want to remove it, then this article is for you.
Ever wanted to create a game like Harvest Moon in Unity? Check out Part 4 of our guide here, where we go through how to create an item management system. You can also find Part 3 of our guide here, where we went through how to set up farmland elements that our player character will interact with.Continue reading
Correction: In the video, we made a reference to the
PlayerController component in the
PlayerInteraction class. However, we later found that we didn’t make use of it at least in this part, so you can choose to skip that bit in the video for now, as it is redundant. They are highlighted in red in the finalised codes below.
Ever wanted to create a game like Harvest Moon in Unity? This is Part 3 of our guide, where we go through how to set up farmland elements that our player character will interact with. You can also find Part 2 of our guide here, where we went through how to set up our player camera.Continue reading