Welcome Guest ( Log In | Register )

[ Big| Medium| Small] -



Post new topic Reply to topic  [ 7 posts ] 
    Fusty
  Mon May 31, 2010 10:24 am
Woop
User avatar
Sponsor


Location: The Netherlands
I'm using Gamemaker for the first time to make a small school project and I'm having some trouble.
I've made a sprite of a hand wielding a gun which I want to do a shooting animation once and then return to the normal non-shooting sprite.
First the animation kept looping so that was wrong, but now the animation doesn't run at all.
So in short, how do I make an animation run only once?

If I need to post some screenshots please tell me and I will put them up once I'm home (using a school computer atm)


Okay now I've got a new question, which is hopefully very easy to solve as well.

I'm trying to make something happen after the score reaches a certain value, so I used the "Test Score" command, but for some reason it's not working.
This is how I set it up:

Content Hidden


It's probably something very simple but I'm a noob when it comes to this program.. :sad:


Last edited by Fusty on Thu Jun 10, 2010 9:32 pm, edited 1 time in total.

Top Top
Profile      
 

    bacon
  Mon May 31, 2010 7:42 pm
butts n booties
User avatar
Staff

Party Mascot
have you tried changing the sprite. Have to sprites, a normal pose and a shooting pose. Then set up a event in the player event where if you press [blank] then character sprite changes, and change it to shooting pose. Then set a timer depending on how long your animation is. Once the timer goes off, revert the sprite back to the original pose.

_________________
Art Blog
Art Thread


Top Top
Profile      
 

    Fusty
  Tue Jun 01, 2010 10:50 am
Woop
User avatar
Sponsor


Location: The Netherlands
Got it to work, never thought of using a simple timer for this, was experimenting with all sorts of variables :P.
Thanks for the help.


Top Top
Profile      
 

    Fusty
  Thu Jun 10, 2010 9:33 pm
Woop
User avatar
Sponsor


Location: The Netherlands
Edited my first post with a new question.


Top Top
Profile      
 

    bacon
  Sat Jun 12, 2010 5:20 am
butts n booties
User avatar
Staff

Party Mascot
I dont know if you have figured this out or not by now but try changing the create command to a step command and see if that works. c:

_________________
Art Blog
Art Thread


Top Top
Profile      
 

    Fusty
  Sat Jun 12, 2010 11:26 am
Woop
User avatar
Sponsor


Location: The Netherlands
omg, I can't believe it was that simple...
I hate being a noob :p
Thanks for your help again.


Top Top
Profile      
 

    bacon
  Sat Jun 12, 2010 5:09 pm
butts n booties
User avatar
Staff

Party Mascot
its no problem, that's a common mistake that I made for a long time. c:

_________________
Art Blog
Art Thread


Top Top
Profile      
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 


Who is online

Users browsing this forum: No users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

We are an independent, not-for-profit game making community.
Homepage
Board Index
About Us
Downloadable Games
Free Browser Games
Games in Development
RPG Maker Support
Game Maker Support
Construct 2 Support
HBGames the eZine
Advanced RPG Maker
Site Announcements
Powered by phpBB © phpBB Group