Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

In v3 you can simply use bitwise operators to set bits.

Can you elaborate? I'm having trouble looking up exactly what you mean by 'bitwise operators' in the context of GB Studio/GBVM.

The “Evaluate Math Expression” and “If Math Expression” events support the bitwise operators & | ^, which you can search up without the context of GB Studio. For example, $00$ & 0b1111 will be the lowest 4 bits of the variable, or a “4-Bit Variable” in the terminology of this plugin.

Deleted 1 year ago