Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!
Several issues appeared after updating version. I don't know if it correct to declare several problems in one post (Sorry if not), but all this things happened one after another when I try to solve it.
The first, after updating Game maker for 2.3.1.536 I noticed that Animation End event...
I recently was following a tutorial on how to create projectiles from the player and at the end of an Animation End event there was an error that I continuously ran into. The system told me that there was only 1 argument when there needed to be two. I was able to find the second argument...
My game frames per second is 60. The image_speed is 1/4. But my sprite randomly skips subimages, and if I draw the image_index it shows it is incrementing randomly by either 0.25, 0.50, 0.75. 1, 1.25, or 1.50.
Yet if I use show_debug_message() to log the image_index every step, it logs the...
A simple animation error occurs in a certain object I have.
In Animation End event:
image_speed=0;
image_index=image_number-1;
This code is supposed to end the animation at the final subimage, but it shows the beginning subimage (image_index=0) for one split step before it changes to the correct...
Hey eveyrone! I'm new to programming and game designing in general and I'm stuck while trying to add some flare to the main character's actions. My characters works with states. One of those states is for swapping positions with enemies. The problem is that I can't add an animation and audio...
Hi everyone, I'm Zephyr and I'm new here. Nice to meet yall !
I'm working on a zelda-like game and am trying to do something the soft won't let me do.
It's pretty simple to understand, when the player press a direction key, I want the character to play a start animation followed by a looped walk...
Hey guys! Well, i am still working to become more and more familiar with Game Maker Studio 2, and one thing im not sure how to do is make the player sprite "shoot" for example, i hit the space bar, there is a bullet, and i want the player animation to change to the shoot animation, run...
Hello again all,
Still working through some bugs with the HTML5 tests. For some reason, image_speed isn't used when I run it there. The animations are all 1 frame per step, rather than at the speed I put in their Create Event. Also, I have an animation that once it stops it should go to the 1st...
[Solved]
Forgot to add parenthesis to my script.
=====
Hi, I am using a script to create a custom function "animation_end"
Before I get into the script, here is the example where I'll be using it in.
Draw event of Enemy
draw_sprite(sprite_index, image_index, (x+22), (y+16));
if...
When i press the down arrow the animation keeps looping i wanted it to stop on the last frame
then i found out this
if (image_index==image_number-1)
{
image_speed = 0
}
And it work once but then all the animations get messed up!
here is my player step event...
Hey all,
As the title states, I'm stuck on reloading animations.
As of now, whenever I press the "r" button to reload, it does not necessarily have to play the whole animation to reload. I want to make it so that the variable "pistol_clip" will equal 7 AFTER the last frame of the animation is...
Hello GM Community,
A game I'm currently working on has a minor bug that is puzzling me.
I have an educated guess on what the problem might be, but I'm having a hard time fixin' it.
Here's the deal, (Or what I think the problem is):
When my character is in the "Move" state and I attack, the...
Hi all. What is the difference between the Animation End event and the Post Draw event and when should you use one over the other? The context of this question is for use in hit boxes. Specifically, Shaun Spalding uses a post draw event in this video at around 3:50, but why post draw and not...
Hi everyone,
I discovered GMS a couple of days ago and followed some tutorials. I took elements from the Shaun Spalding Basic Platformer Tutorial and HeartBeast Basic RPG.
On part 10 of the RPG tutorial at 16min ( ) it is shown that once you enter the attack state, the object is stuck in...
Heya,
The enemies in my game are invisible until they
a) Kill the player, or
b) Are killed by the player
Both mechanics rest upon the Animation End event and global variable, 'death', as in player death.
Even when death is activated in another event, this event still runs the not death...
Hey everyone,
I'm fairly new to GML, but I'm not new to programming. I primarily work with Object Oriented Languages, so transitioning into learning GML is sometimes tricky.
In short, I have two objects (let's call them objA, and objB). I have objA coded so that when I click on it, it...
So I decided to make my player crouch by creating a whole script (scr_crouch_state) and made a button to cancel the crouching and switch to moving (scr_move_state) . I created a variable named crouch_keyr (r as in release) and a new script called scr_cancel_crouch. In this script , I put this...
Please read the documentation for Animation End.
Each frame of an animation (called a sub-image) has its own number, starting at 0, which can be checked in code or even through actions, but sometimes all you really need to know is when the animation has ended. That's when this event is...
Hello!
I just started out using game maker and I have been following Shaun Spaldings platform tutorials.
However, I'm not sure If I get it completely. I've been using this code to make my player be able to land on platforms that are possible to jump up to from underneath while land on if you...
Help me please :) I'm trying to get an object to return to its idle animation after teleporting.
Step event:
if position_meeting(Fence.x, Fence.y, Fence) {
sprite_index = spr_cleric_teleport;
}
if sprite_index = spr_cleric_teleport {
if image_index = 5 {...