User Tag List

Results 1 to 5 of 5

Thread: Programming bullets

  1. #1
    Clicker Multimedia Fusion 2
    Skeets's Avatar
    Join Date
    Apr 2007
    Location
    Utah, USA
    Posts
    360
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Programming bullets

    Is there any way to program a bullet? I want the bullet to stop once it hits the wall and stick. I am making one of those games where you have to shoot different colored balls to make matches. How do you make bullets bounce or stop?

  2. #2
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export Module
    DavidN's Avatar
    Join Date
    Jun 2006
    Location
    Boston, MA, USA
    Posts
    4,044
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Programming bullets

    Stuckboy and I did an example of something very similar to this a while ago:

    http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Board=5&Number=38450

    Although it's possible you want something less complex than that - if you're just using the default movements, create a bullet object at the location of the bullet just before you destroy it.

    Objects created using the "Shoot an object" actions are handled differently from others as far as movement goes, so if you want greater control over them, use a Bouncing Ball movement and set the direction and speed on creation of the object.

  3. #3
    Clicker Multimedia Fusion 2
    Skeets's Avatar
    Join Date
    Apr 2007
    Location
    Utah, USA
    Posts
    360
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Programming bullets

    Ok, the problem is that the shooting can't be random, but comes from a different spot since when it turns the location of the spot I want the ball to come from changes. In your example the bullets come from random positions, but I want them to come from a certain location different according to where the cannon is pointing.
    Thanks,
    Skeets

  4. #4
    No Products Registered

    Join Date
    Dec 2006
    Posts
    1,332
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Programming bullets

    I made a game like this that I never finished a long time ago. I'll post it.

    http://putstuff.putfile.com/87808/6933071

    ---EDIT---

    Sorry, that was the wrong version of the game I was looking for. I can't find the other one now, but I am in a hurry and will look for it later

  5. #5
    Clicker Multimedia Fusion 2
    Skeets's Avatar
    Join Date
    Apr 2007
    Location
    Utah, USA
    Posts
    360
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Programming bullets

    That wasn't what I was originaly looking for, but it works great!! I didn't know you could create from action point!! Thanks!

Similar Threads

  1. 49 Bullets: When it rains in the desert
    By NecroLuigi in forum Desktop Releases (PC & Mac)
    Replies: 7
    Last Post: 15th September 2016, 09:31 AM
  2. Ring of bullets
    By Windybeard in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 4th March 2013, 03:35 PM
  3. FPS and Bullets Compromise
    By RealGameMaker in forum Multimedia Fusion 2 - Technical Support
    Replies: 10
    Last Post: 29th November 2009, 10:49 PM
  4. Fastloop bullets example
    By DavidN in forum File Archive
    Replies: 3
    Last Post: 21st April 2007, 11:13 PM
  5. Bullets Going Through Walls?
    By Brandon in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 29th December 2006, 10:10 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •