btainmotion.blogg.se

Pokemon game maker engine
Pokemon game maker engine




The first problem is that I can't get the speed to remain slowed until the player is touching the ground. Arguably, the line that resets the player state may be to blame as the line reads if (vsp = 0) then state = "normal", but that should only apply if the player isn't moving up or down. SO far since I posted, I got my wall slide code to work, but not as intended by using vsp = vsp / 2 I was able to get the player to slow down against a wall for a moment, but I wasn't able to get it to stay slowed down. Halving the variable for vertical speed might be all that stands between me and completing my wall slide code and testing my own wall jump code. I came pretty close to being exactly right the first time, I admit, but without knowing exactly what to put there, it didn't work at Any idea how to devide variables? I can't seem to figure it out. I didn't know I needed ord("A") inside the keyboard_check() instead of just keyboard_check(a), and I didn't really have a quick means of finding out what exactly needed to be there to make the code work without turning to the internet, so I winged it. I'd try to figure it out myself, but coding is almost like a foreign language to me, as proven by my first attempt at coding running in my game. So far, finding that code in the forums is like finding a needle in a haystack.

pokemon game maker engine

What I'm trying to do is find a line of code that I can add to the engine I've put together so far. I would need to be able to apply it right away. I have to do it at the library, and anything I learn through that I'll probably forget on the way home. Click to expand.Unfortunately, I can't watch Youtube at home.






Pokemon game maker engine