Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

chutneyio

5
Posts
1
Topics
A member registered Mar 10, 2022

Recent community posts

Amazing game, but with sad ending :(. Really wish the game has a sequel where they can meet each other.

Yes it worked! I will use it as a workaround for now.

(3 edits)

First time i ever heard of -0 lmao

I have used  floor(dir) but it failed to going to the right. The only code that work is

switch(floor(dir) { case floor(0): ...}

It is just a simple obj_player object with step event and nothing more. I'm on MacOS btw.

(1 edit)

Hello, today i'm facing a strange issue with switch/case statement stopped working after reloading script with GMLive, here is the code to reproduce:


Everything worked as expected after launching the game. I can see Right, Up, Left, Down printed to the Output when pressing the arrow key. But after GMLive reload my script, i can not reach case 0 by pressing right arrow key anymore (Up, Left and Down still working). I can fix that by changing it to case floor(0) but i found it very weird.

Is it a bug or i'm missing something, thanks!