Making an Advanced Shmup #75 - Ground Enemies

  Рет қаралды 984

Lazy Devs

Lazy Devs

Күн бұрын

Пікірлер: 7
@JadeLombax
@JadeLombax 8 ай бұрын
The math actually isn't too complex to make essentially a flag system for entities, I'm using one of those in my WIP Pico-8 port of Super Mario Bros. I just use the actual power-of-2 values to turn behaviors on or off. For example: 128: map collision 064: interact w/ other entities 032: hurt player 016: can be stomped Then I just made a little function called flag() that you input values into, and it tests if that number (or collection of numbers) are present or not using the '&' operator. Since it only requires one number input, you can put it inside quotes, so each function call only takes 2 tokens. Of course, this is just for on/off type features, other properties are separate values, but each entity's data is stored as a string that's turned into a table via split().
@molochz
@molochz 8 ай бұрын
Noice! I want to put loads of ground enemies in my game.
@WardenAzdron
@WardenAzdron 5 ай бұрын
Once more, unto the breach brothers! also dont copy more than like 5 ground enemies or the placement starts to wander.
@llpBR
@llpBR 6 ай бұрын
At 34:48 there is an character that looks like a comma but is inverted. What??? That actually caught my attention 😅
@terry-
@terry- 7 ай бұрын
Great!
@maxine_red
@maxine_red 8 ай бұрын
To be honest? Doing it the way you do (not doing it bitwise) is smarter, because it is a lot more readable and will save you a lot of time later. Often it is smarter to optimize for readability, than to squeeze out 4 bytes of memory or a couple microseconds over the entire game.
@JadeLombax
@JadeLombax 8 ай бұрын
Packing data in tighter can be useful when you're making something ambitious that's running up against storage limits. If you have plenty of headroom, yeah, simpler is better.
Making an Advanced Shmup #76 - Editor Upgrades
23:34
Lazy Devs
Рет қаралды 960
Making an Advanced Shmup #77 - Cutoff and Deadzone
34:06
Lazy Devs
Рет қаралды 792
How I Turned a Lolipop Into A New One 🤯🍭
00:19
Wian
Рет қаралды 11 МЛН
REAL 3D brush can draw grass Life Hack #shorts #lifehacks
00:42
MrMaximus
Рет қаралды 11 МЛН
哈哈大家为了进去也是想尽办法!#火影忍者 #佐助 #家庭
00:33
火影忍者一家
Рет қаралды 128 МЛН
Cool Parenting Gadget Against Mosquitos! 🦟👶 #gen
00:21
TheSoul Music Family
Рет қаралды 30 МЛН
Making an Advanced Shmup #81 - Gameplay Prototype - Pico-8 Hero
1:19:56
Making an Advanced Shmup #80 - Bullet Origin - Pico-8 Hero
43:20
Delightful Game Development with PICO-8
6:58
Dylan Bennett (MBoffin)
Рет қаралды 148 М.
Making an Advanced Shmup #82 - Prototype Testing - Pico-8 Hero
40:32
Making an Advanced Shmup #79 - Cancel & Seal - Pico-8 Hero
33:08
Evolution of Shoot ’em up Games [1962-2023]
19:03
Eryx Channel
Рет қаралды 17 М.
Making an Advanced Shmup #88 - Bomb - Pico-8 Hero
56:12
Lazy Devs
Рет қаралды 837
Making an Advanced Shmup #83 - Score Display - Pico-8 Hero
48:26
I Made a Speedrunning Game
9:46
BenBonk
Рет қаралды 184 М.
How I Turned a Lolipop Into A New One 🤯🍭
00:19
Wian
Рет қаралды 11 МЛН