filmov
tv
Shmup Dev Guide - The EASY Way to Make Bullet Patterns!

Показать описание
TL;DW Use For and While loops.
People who are familiar with programming will probably find this video trivial, but I’m aiming it more towards people like me who are interested in development but don’t have a programming background.
I had a friend look over my shoulder while I was playtesting my shmup and he said "Man, I don't know how you have the patience to type out all those bullets!" and I asked him what he meant. He said that he was making enemies for the shmup he was working on, and that he was sick of copy-pasting all the bullets out. So I explained to him how I use the mod function to create hundreds of bullets with only 6-7 lines of code. Later, I was watching The Electric Underground, and Mark showed some of the code for his shmup, and turns out he too is laboriously copying out each and every bullet. So since this seems to be a common annoyance, I thought I would make a video explaining how to program complicated bullet patterns without going insane.
I will warn you, though, I'm not much of a programmer, I just do whatever is the easiest to get the game to work. My syntax is terrible and this is probably not the absolute best way to do things, but what I have to say might still save you a lot of time.
No hate to The Electric Underground of course, I'm glad he's putting in the work to make his own shmup and I'm excited to hear more about it as it progresses.
People who are familiar with programming will probably find this video trivial, but I’m aiming it more towards people like me who are interested in development but don’t have a programming background.
I had a friend look over my shoulder while I was playtesting my shmup and he said "Man, I don't know how you have the patience to type out all those bullets!" and I asked him what he meant. He said that he was making enemies for the shmup he was working on, and that he was sick of copy-pasting all the bullets out. So I explained to him how I use the mod function to create hundreds of bullets with only 6-7 lines of code. Later, I was watching The Electric Underground, and Mark showed some of the code for his shmup, and turns out he too is laboriously copying out each and every bullet. So since this seems to be a common annoyance, I thought I would make a video explaining how to program complicated bullet patterns without going insane.
I will warn you, though, I'm not much of a programmer, I just do whatever is the easiest to get the game to work. My syntax is terrible and this is probably not the absolute best way to do things, but what I have to say might still save you a lot of time.
No hate to The Electric Underground of course, I'm glad he's putting in the work to make his own shmup and I'm excited to hear more about it as it progresses.
Комментарии