Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Follow us on Facebook Follow us on Twitter Linked In Flickr Watch us on YouTube Google+
Results 1 to 2 of 2
  1. #1
    Junior Member Myhijim's Avatar
    Join Date
    Sep 2009
    Posts
    3
    Downloads
    0
    Uploads
    0

    Game Maker Weapons help?

    Ok here goes
    I am trying to make a game similar to nazi zombies on GM7
    I have figured out the spawning and all that but i need to know how to draw the variables (as in ammo)
    My guy also keeps getting stuck in the wall i think it has something to do with the centering of the sprite.
    Also i have heaps of weapons and im wondering if anyone can tell me how to make it so you cannot change weapon without ammo because every time I try that it stops an "alarm" that i created for each of the weapons rate of fire


    Any help appreciated Thx

  2. #2
    Unregistered
    Guest
    on your running into walls you can fix most of your problems by putting a colision event in your main charecter and then add a script with:
    (x=xprevious
    y=yprevious)
    then you can make variables global by making them global._________ fill in the blank. in doing this you can then have a ammo for each gun or have guns take from one stockpile of bullets. when switching weapons just do a quick check where you have the button to change weapons make it check the global.____ if its greater than 0 and switch if not you can go to the next gun or just not switch.....
    i hope this helps you these are just some of my methods and probly arnt the best


Similar Threads

  1. Game Maker Weapons help?
    By Myhijim in forum Games
    Replies: 0
    Last Post: 12-15-2009, 05:47 AM
  2. Replies: 0
    Last Post: 02-15-2009, 07:06 PM
  3. Replies: 1
    Last Post: 12-24-2008, 08:16 PM
  4. Replies: 0
    Last Post: 06-17-2008, 10:40 AM
  5. Top Ten Video Game Weapons
    By admin in forum Gaming
    Replies: 0
    Last Post: 06-26-2007, 12:15 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -4. The time now is 06:05 PM.
Powered by vBulletin® Version 4.2.5
Copyright © 2024 vBulletin Solutions Inc. All rights reserved.