I've bought PICO-8 with the thought that it would be a neat way to learn coding and make small pixely games, but so far I can't get used to the language and workflow of Pico. I've tried deciphering other people's cartridges, but some things just make no sense. Is there anything I can do to learn Pico?
The pico-8 fanzine is a great place to start. There are three issues up, and they have tutorials:
(There is an option to download it for free or to donate to the cause.)
Have you looked at the demos that come with pico-8?
|These cartridges are included with PICO-8 and can be installed by typing:
Of these, Jelpi can be a little overwhelming to start, but the API demo is easy to understand.
I looked into the API demo and tried to recreate things from there, but I can't do any of that without having to constantly look up all the commands.
I checked the Fanzine out and it looks like just what I need! I guess I'm going to have to study it thoroughly.
Hi Pookaball and welcome!! I actually suggest you keep playing with what you know with the pico8 demos and that Tron tutorial and make very tiny games while discovering a few new commands at a time.
Find an idea of a very simple gameplay mechanic (button press -> action) and make that. Now you have a toy. If you want to make it a game, add a goal and add one or multiple rules that makes it more difficult to attain the goal. But you don't have to! You can just move on to your next toy and that's perfectly fine! You could even do a thread here and post each toy you make and that'd be great!!
Here is a Pico8 cheat sheet but I personally prefer to use the regular Lexaloffle manual with ctrl-f to find what I need.
You will find commands after you would've needed them and that's fine, because you'll have found your way without them (as we often do) and that's great too!
TL;DR: Start a new project with a very simple mechanic and make a toy from it. Then, either make a game out of your toy or move on to the next toy and learn on the go.
Hope that helps, can't wait to see what you'll make!
Pookaball, I have the same problem. I have really no experience in coding and I started with the first tutorial of the zine and it was quite cool and I almost understood everything. The 2nd tutorial was pretty weird and so I continued with the "tron"-youtube-tut but everything is just like copy the text without UNDERSTANDING what all the stuff stands for and what it really does.
So in the end you could copy a game and didnt learn anything from it.
It would be so awesome to get a really really basic explanation of all the functions and even the cheat sheet doesnt really help a total n00b.
Did anyone found a really basic tutorial, that is somehow motivating but still understandable for a n00b? I think pico 8 is super powerful but I'm not sure if I can motivate myself to just copy code without understanding what works with what and why and how...
Hi vectorianer and Pookaball, the best thing I can personally recommend, if you are following tutorials but not understanding the code, is to start by learning Lua itself from the basics. Do note though that PICO-8 does not contain the Lua Standard Library however, so some of the features you learn may be missing from PICO-8. That having been said, it's still going to be a good primer, and PICO-8 programming is basically just a simplified version of Lua. This is going to be your best bet in my opinion.
The other thing that I highly recommend is to not get impatient or frustrated, or expect to get amazing results instantly. Learning to program takes a lot of time and practice for the vast majority of people. Luckily, Lua is widely regarded as one of the easiest programming languages for beginners to learn. This doesn't mean it will necessarily be easy, though. It takes a while to memorize all the syntax and ways to do most common things, as well as training your brain to think like a computer.
I've been working on a relatively simple game for a couple months now, and I've been a programmer for over 15 years, but this is the first time I'm using Lua or PICO-8. Because of this, as development has moved along, I've completely scratched and rewritten the entire project somewhere around 10 times now because I learn or figure out better ways to do things. So don't get discouraged - even seasoned programmers coming into a new language and platform can find themselves struggling for a while, so it's not just you.
Hello! Fellow new programmer here (at least in Lua/PICO-8). One thing that I found to be super helpful was to try to extend the functionality of the tutorials. For instance, with the "squashy" demo from the first picozine I gave myself a series of challenges:
-What if the paddle was on the right side of the screen instead of the bottom?
-What if the color of the score was flashing?
-What if the ball was a sprite instead of a basic circle?
-What if this was a 2 player game? How do I implement a second player?
-What if I wanted the game to reset when a player won?
-What if there was a splash screen when the game first runs?
By building off of the basic demo code incrementally I was able to learn a lot about how the PICO-8 environment works and end up with a game that I felt more ownership over even though the basic code was not my own. Also throughout that process I broke the basic game in a variety of interesting (read: frustrating) ways. Fixing those mistakes taught me even more about how Lua works!
Don't be disheartened by copying code. It's a great way to learn how things work and provide a scaffold to work from. Good luck!
[Please log in to post a comment]