Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

I used the GetAsyncKeyState command to check if each button was being pressed, then moved the player accordingly. I ran all the game code in a semi-infinite loop with a very short Sleep to limit the framerate, with DoEvents enabled to allow key presses. I think I commented the VBA code if you want to take a look with ALT + F11. At the start of the project I imported the GetAsyncKeyState and Sleep commands from somewhere outside of VBA - I think they're system-wide properties?

Have you bypassed all the warnings PowerPoint shows like enabling editing and macros? Sometimes it helps to open the VBA code for some reason. If it still doesn't work, then I'm afraid that's all I'm willing to do at this point. PPT Jam was a long time ago in a program not at all suited for game development, so I'd rather move on to new projects at this time.

Oh, I understand since PPT isnt made for video game development, but it was still pretty cool seeing a game thats a genre aside from cursor mazes.



But I thought GetAsyncKeyState was from the Windows API.

How did you make it work on Linux and Mac also? I thought it can only work on Windows.

You might be right about GetAsyncKeyState not running on a Mac or Linux. I haven't actually tested it. I think I figured it'd run regardless of which system because, hey, it's just PowerPoint we're talking about here. 

Oh ok.

 Also, are you gonna continue using PPT or are you gonna move on to something else?

Definitely something else. Unless I need some more VBA experience to put on my resume (which is why I made this particular game in the first place), I don't see any reason to go back to PowerPoint for my game making needs.