Log In  
Page:
1
2

I started a YouTube series to teach some Pico-8 fundamentals. It is called Pico-8 Hero. In the first "season" we'll be writing a Breakout clone from scratch. It is aimed at people, who have completely no idea how programming works.

I will post more episodes in this thread as they come out.

Pico-8 Overview

#1 - Hello World

#2 - Functions and Variables

#3 - If-Statements

P#32267 2016-11-06 09:19 ( Edited 2018-07-11 11:10)

C'mon, get your initialization inside of _init() already! (bonus - keeping your code inside functions basically eliminates worrying about code order)

Good luck with the rest of your series!

P#32314 2016-11-07 18:09 ( Edited 2016-11-07 23:14)

That is a good point. TBH I'm not yet entirely comfortable with the way scope works in LUA. Will fix this in upcoming episodes tho!

P#32318 2016-11-07 21:34 ( Edited 2016-11-08 02:34)

P#32416 2016-11-12 13:23 ( Edited 2016-11-12 18:24)

P#32464 2016-11-14 10:21 ( Edited 2016-11-14 15:21)

I think that's a great idea! I bet it will help a lot of people get into programming.

I am a newbie programmer myself. I started by making the breakout from the pico-zine #1. I am still working on that first (getting ready to share more progress soon, after taking a nearly six months hiatus), so videos like yours are a great resource, especially for picking up coding practices (as right now my code is a mess, fingers crossed for making it better on my next project).

Anyway, just wanted to say thank you for doing this.

P.S Do you have a schedule when you stream Pico-8 Hero? I would love to come to a live stream.

P#32811 2016-11-28 16:36 ( Edited 2016-11-28 21:36)

I'm glad I can contribute to the community. :)

We don't have a clear schedule but if you follow us on Twitch you'll always get a notification when a stream begins https://www.twitch.tv/teamworkcast

You can also follow me on twitter @Krystman

Anyways, here is the next episode:

P#32813 2016-11-28 18:59 ( Edited 2016-11-29 00:00)

P#32849 2016-11-30 15:57 ( Edited 2016-11-30 20:57)

P#32976 2016-12-03 15:53 ( Edited 2016-12-03 20:53)

P#33332 2016-12-11 09:26 ( Edited 2016-12-11 14:26)

P#33515 2016-12-15 05:33 ( Edited 2016-12-15 10:33)

Keep up the great work.

Whenever we get people new to the PICO8 in the slack, I point them to your web series :)

P#33516 2016-12-15 06:31 ( Edited 2016-12-15 11:31)

Thanks, I'm glad it helps!

P#33774 2016-12-20 12:26 ( Edited 2016-12-20 17:26)

P#34452 2016-12-29 16:04 ( Edited 2016-12-29 21:04)

Love the series!!! but after video #7 I am completely overwhelmed.. I am new to coding in Lua, and not particularly a math wiz but video #7 made a sort of quantum leap in difficulty, and the extra testing program made it all more complicated coming out of left field ..

If anyone else in this forum knows some good collision detection resources for learning i would love it!! (unity kinda solves this for you)

P#34478 2016-12-30 00:34 ( Edited 2016-12-30 05:34)

Yeah, sorry. That part kinda snuck up on me. Just copy the final function and continue. It is not STRICTLY necessary anyway.

P#34522 2016-12-30 13:17 ( Edited 2016-12-30 18:17)

P#34862 2017-01-03 14:40 ( Edited 2017-01-03 19:40)

P#35161 2017-01-07 11:35 ( Edited 2017-01-07 16:35)

P#35530 2017-01-12 08:42 ( Edited 2017-01-12 13:42)

P#38060 2017-03-05 15:07 ( Edited 2017-03-05 20:07)

Almost finished my first game because of this :) I kinda went my own way after part 8 and jumped to 12 for some tweaks.
My collision detection is still pretty wonky though, but I think that's because I'm using sprites with different origin points. Will fix that right at the end...it's good enough for now.

Are you going to continue with PICO-8 tutorials after this game example? Because you explain things extremely well. Thank you!

P#38061 2017-03-05 15:59 ( Edited 2017-03-05 20:59)

I'm glad the series helped you! Yes, I will continue with more Pico-8 tutorials afterwards.

Speaking of which, here is the newest episode:

P#38256 2017-03-14 20:40 ( Edited 2017-03-15 00:40)

P#38367 2017-03-18 14:03 ( Edited 2017-03-18 18:03)

P#38581 2017-03-22 17:56 ( Edited 2017-03-22 21:56)

P#38781 2017-03-27 15:06 ( Edited 2017-03-27 19:06)

P#38877 2017-03-30 09:57 ( Edited 2017-03-30 13:57)

P#39103 2017-04-05 12:08 ( Edited 2017-04-05 16:08)

P#39500 2017-04-10 12:03 ( Edited 2017-04-10 16:03)

P#39783 2017-04-19 11:58 ( Edited 2017-04-19 15:58)

P#39970 2017-04-26 17:55 ( Edited 2017-04-26 21:55)

Wow, this was quite a hiatus. But we are back with a while bunch of episodes in the backlog.

We are also moving our Game Dev content to a dedicated channels. Our Tutorials will now appear at the Lazy Devs Academy. Come over and give us a sub!

http://bit.ly/lazydevs

P#47872 2018-01-04 22:37 ( Edited 2018-01-05 03:37)

P#47916 2018-01-06 10:19 ( Edited 2018-01-06 15:19)

Hey Krystman, just started watching your series a couple days ago I'm currently on ep 10, and I'm loving it. While following along I've run into a bug, and I can't find what is causing it.
https://imgur.com/a/nJbuk
As you can see my game isn't taking away lives and simply ends goes to game over screen, and it seems to contradict my code.
Here's my code for the game, for better context: https://pastebin.com/VDhTTYNU

P#47940 2018-01-07 10:42 ( Edited 2018-01-07 15:58)

@HeyMickey

LOL, that's a good bug! Took me a little to track it down.

So the issue is the if statement that checks if the ball left the screen. You got your END mixed up and that statement ended up being executed multiple times per frame. Just above the statement you have a loop that goes through all of the bricks. You didn't close the loop with an END properly so the if statement is now inside that loop. So it gets executed once for every brick. So you end up losing as many lives as there are bricks in the game.

P#47944 2018-01-07 13:25 ( Edited 2018-01-07 18:25)

P#47945 2018-01-07 13:26 ( Edited 2018-01-07 18:26)

Thanks I had a good laugh about it afterwards.

P#47946 2018-01-07 14:21 ( Edited 2018-01-07 19:23)

P#47957 2018-01-08 05:07 ( Edited 2018-01-08 10:07)

P#47982 2018-01-09 08:06 ( Edited 2018-01-09 13:06)

P#48029 2018-01-10 10:47 ( Edited 2018-01-10 15:47)

P#48053 2018-01-11 05:04 ( Edited 2018-01-11 10:04)

A feature people ask about a lot is how to make the screen fade out. Well, here we go!

P#48074 2018-01-12 06:57 ( Edited 2018-01-12 11:57)

P#48110 2018-01-13 06:48 ( Edited 2018-01-13 11:48)

P#48169 2018-01-14 08:03 ( Edited 2018-01-14 13:03)

P#48196 2018-01-15 05:47 ( Edited 2018-01-15 10:47)

P#48234 2018-01-16 04:40 ( Edited 2018-01-16 09:40)

P#48257 2018-01-17 01:43 ( Edited 2018-01-17 06:43)

P#48302 2018-01-18 06:19 ( Edited 2018-01-18 11:19)

P#48346 2018-01-19 02:57 ( Edited 2018-01-19 07:57)

P#48409 2018-01-20 14:15 ( Edited 2018-01-20 19:15)

P#48425 2018-01-21 09:06 ( Edited 2018-01-21 14:06)
Page:

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-03-28 12:24:02 | 0.033s | Q:66