Тёмный

PulpScript: A Beginner's Guide 

SquidGod
Подписаться 19 тыс.
Просмотров 19 тыс.
50% 1

Are you learning to use Pulp for the Playdate but are struggling to wrap your head around PulpScript? I go through the basics of PulpScript in this beginner's guide tutorial, from how PulpScript interacts with the rest of Pulp to programming basics.
PulpScript Documentation: play.date/pulp/docs/pulpscript/
Try out Pulp to make games for the Playdate here: play.date/pulp
Timestamps:
0:00 Intro
0:38 What are Scripts?
2:14 What are Events?
3:20 Event Descriptions
4:48 Programming 101
4:58 Variables
7:45 Conditionals
9:17 Functions
10:23 The Event Variable
11:54 Conclusion
I also have a twitter now :O - / squidgoddev
Music/SFX from Epidemic Sound. Get a month free with my link! share.epidemicsound.com/njknzw
#PlaydateConsole #Pulp #PulpScript

Опубликовано:

 

7 июн 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 48   
@splashmob
@splashmob 2 года назад
as someone entirely new to programming, this was helpful! i've been working on a small thing in pulp over the last few days and this video helped me realise some stuff i wasn't sure about. it'd be cool to see more videos for Pulp, if you have any ideas!
@GuvBubbs
@GuvBubbs 2 года назад
Agreed. The quality of this video is so impressive considering how new pulp is. I'd love to see more!
@SquidGodDev
@SquidGodDev 2 года назад
Not one of my "Game in 1 Week" videos this week, but I wanted to get this tutorial out to help out new developers using this tool since it just came out.
@LolaliciousSmiley
@LolaliciousSmiley 2 года назад
This is really phenomenal. I was looking for a small "haven't coded a single line before" pulpscript video, but this is so much more than I could have hoped for.
@SquidGodDev
@SquidGodDev 2 года назад
I'm glad it was helpful!
@kevinmakesgames
@kevinmakesgames 2 года назад
This is such a great primer for new programmers, but you've got a lot of valuable bits of information for experienced programmers too! Thanks for making this!
@matteaparker4165
@matteaparker4165 5 месяцев назад
Awesome video! Super helpful thanks!!
@justinbrown3920
@justinbrown3920 2 года назад
Enjoyed this video. Hope to see more Playdate content!
@soapyshoes
@soapyshoes 2 года назад
Thanks my man, this is a great video. I've done some stuff in gamemaker studio 2, but Pulp intrigues me because it's web based, and I can goof around on it at work in between tasks. Thanks again!
@FlavioEscribano
@FlavioEscribano 2 года назад
Thanks a lot for the video. One of the best I've ever seen about script programming 👏
@SquidGodDev
@SquidGodDev 2 года назад
Wow high praise - thanks!
@carbra6199
@carbra6199 2 года назад
High Quality, thanks!
@92keys524
@92keys524 2 года назад
Thank you so much for this video!
@RandomnessMusician
@RandomnessMusician 2 года назад
Congrats on 100!
@SquidGodDev
@SquidGodDev 2 года назад
Thanks - Guess I'll have to make a Discord server now. Keep an eye out for that in the next few weeks.
@yorgle
@yorgle 2 года назад
Brilliant! Thank you!
@jeremymeyerofficial
@jeremymeyerofficial Год назад
what a fantastic video! thank you so much
@NALTOdeluxe
@NALTOdeluxe 2 года назад
Thanks for this. As a Panic Fanatic I’m totally buying a Playdate ASAP. Already playing with Pulp and I hope to eventually make some stuff for myself and the community.
@marafolse8347
@marafolse8347 2 года назад
Thank you sm!
@SquidGodDev
@SquidGodDev 2 года назад
No problem - thanks for watching
@rafaelmasse3725
@rafaelmasse3725 2 года назад
Great tuttorial ! It helps me lot !!! Hope you will do more like this on PLayDate Pulp in futur :)
@michawojciechowski1175
@michawojciechowski1175 2 года назад
Thanks for the video! What do you think about Pulp limitations? Will it be possible to create interesting narrative games in it?
@SquidGodDev
@SquidGodDev 2 года назад
You can definitely create interesting narrative games in Pulp, but personally I feel that the effort to try and mold Pulp to have unique and interesting mechanics and polish to make it really stand out would be actually easier to do in Lua using the Playdate SDK when it becomes available. Pulp is a good starting point to learn basic programming and dip your toes into it, but you will definitely reach a cliff in the complexity required to hack Pulp into having more modern features that come easily in a full featured programming language like Lua. I will be making tutorials for the Playdate SDK when it comes out so if you feel like you have to develop in Pulp because you don't know that much programming I wouldn't worry too much about it.
@floydhayes
@floydhayes 2 года назад
Nice! Thank you. I'm wondering how I can have an alien (sprite) move back and forth - I thought "draw" would help but I can't figure out (totally new to this)
@SquidGodDev
@SquidGodDev 2 года назад
Hi Floyd - You can check out my other video on making an adventure game: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-p4eLcP3hgJc.html. I cover something similar to this with a hazard bouncing back and forth between walls. You can do the same thing or tweak the code to limit the distance the sprite moves.
@HammerSpam
@HammerSpam 7 месяцев назад
dumb question, but can pulp do logical operators? like OR, AND, XOR, NOT etc? I can't seem to figure out how logic is done in pulp
@SquidGodDev
@SquidGodDev 7 месяцев назад
No, you'll have to achieve that with some combination of conditionals (e.g. >=,
@skye7690
@skye7690 2 года назад
Yes I've programmed games before. So is there an indy model to pay creators who create and publish games on the 'store'?
@SquidGodDev
@SquidGodDev 2 года назад
Currently there's no store, but you can sideload any games onto the Playdate, so you can easily upload your Playdate game to a platform like itch.io and sell your game from there. For an example, see the game Bloom that's for sale right now. Panic is also currently working on something called catalog that integrates with the Playdate to buy games directly.
@mwatson3302
@mwatson3302 4 месяца назад
I'm having trouble with the health function, I got as far as displaying health, but the sprites I make aren't affecting player health even though I am doing "on bump do health++ or health--"
@SquidGodDev
@SquidGodDev 4 месяца назад
Usually, I find the issues come down to either capitalization errors and small typos that are hard to catch. Pulpscript is case-sensitive, so make sure the casing are matching in not just the code, but also the sprite/tile names
@meida_oficial
@meida_oficial 8 месяцев назад
The Lua Power
@sand9639
@sand9639 2 года назад
Thank you for the video, but what if you want the health pack to only give you one life and no more but you still want a max 15 lives?
@SquidGodDev
@SquidGodDev 2 года назад
Like some sort of health pickup? You can keep the conditional the same in that case, but make the health pack an Item instead, and then have the item respond to the 'collect' event as opposed to the 'interact' event. Then, at the end, do swap "white" to delete the health pack. That way when the player walks over the health pack, it disappears and you get one health.
@SquidGodDev
@SquidGodDev 2 года назад
I'll be coming out with a complete guide to make an adventure game from start to finish next Monday. I think you might be interested in that, so subscribe to not miss it.
@cooljrgaming9729
@cooljrgaming9729 Год назад
Is it possible to make a platformer?
@SquidGodDev
@SquidGodDev Год назад
Tried making one in Pulp before. It's not really designed for that so it's pretty tricky. I would probably recommend using the SDK instead for a platformer.
@crivera972
@crivera972 9 месяцев назад
In Pulp, are you able to utilize the crank?
@SquidGodDev
@SquidGodDev 9 месяцев назад
Yup. You can check the event.aa or event.ra values to get where the crank is, and there's also the 'crank' event that fires whenever the crank is moved.
@davisstreetstudios8681
@davisstreetstudios8681 2 года назад
I want to see a WarioWare based game on this console!
@SquidGodDev
@SquidGodDev 2 года назад
Definitely have seen some floating around in development! There was one that crowd sourced different games in a game jam called "Mobware Mini game jam" that looked pretty cool.
@Ratboycure
@Ratboycure 10 месяцев назад
Sweetcool
@BloodyDeadCat
@BloodyDeadCat Год назад
Im the 500th like
@da4dam416
@da4dam416 2 года назад
Nice! I love ur vids, can u make a discord server?
@SquidGodDev
@SquidGodDev 2 года назад
I'll make one when I hit 100 subs - I think that's a good milestone. See you there ;)
@da4dam416
@da4dam416 2 года назад
@@SquidGodDev see ya!
@RandomnessMusician
@RandomnessMusician 2 года назад
@@SquidGodDev 100 acquired
@da4dam416
@da4dam416 2 года назад
@@SquidGodDev like randomness said you have 100 now