![]() ![]() When programming your player, it think it will be important to start by programming what "state" they are in.Īs a contrast, if you were programming Super Mario Bros (eg ) you might start by programming your player's "physics", which are very simple approximations of real physics. ![]() I have never written a cinematic platformer, but I do work full-time as a programmer and I have played those cinematic platformers a lot, so I thought I'd have a try at answering. Thank you for reading, and here's to hoping this account proves useful in the future, because at the moment I've only made it to talk about this. I don't know, if either of these ideas sound viable enough, let me know, but I just think it be interesting to talk about, since I can literally find no information on the subject anywhere else on the internet. I can see this working better with hit detection as well, but it would also mean precisely setting every single sprite's size, which might take to long given the time window I have. My other idea might be easier in that respect, that being I'd have different sprites for each type of movement, and when that sprite animation finishes, set the object's location to where it should be. However, I'm not sure how I'd get it to only register input at one of the specified grid locations, at least not without a lot of testing. This would be more in line with how I traditionally program a platformer. My first idea would be to set the player's speed depending on the input, then set it back to zero when the reach the appropriate grid location. Obviously, there'd be some kind of grid that the player's location would be set to. I have two ideas as to how I'd go about it, but they both seem like they'd be unnecessarily tricky to work with. I was hoping I could discuss it here with somebody before diving into it. For reference, I'll be doing this in Game Maker Studio 2, since I'm very familiar with GML. But to be honest, I'm not exactly sure where to start with the logic or system that the game would require. If I can at least get a proof of concept or prototype done, I'll be happy. Over the rest of winter break I'm hoping to create a cinematic platformer in the style of Abe's Oddysee or Another World/Out of this World, in order to practice writing, design, art, and programming in one project. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |