User Tag List

Results 1 to 4 of 4

Thread: 360 Shooting Gallery Tutorial Bug

  1. #1
    No Products Registered

    Join Date
    May 2011
    Posts
    20
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    360 Shooting Gallery Tutorial Bug

    I was going throught this tutorial today
    http://create-games.com/download.asp?id=8261

    Each frame is a complete turorial. In the last frame when I set the Firingrange alterable value to 500, I notice that the application seems to break as only 1 turret fires out of 3. I have been going throught he code but I cant seem to find out why it happens and how to fix this.

    Can anyone have a look?

  2. #2
    Clicker Fusion 2.5 Developer

    Join Date
    Jul 2008
    Location
    UK
    Posts
    1,341
    Mentioned
    16 Post(s)
    Tagged
    0 Thread(s)

    Re: 360 Shooting Gallery Tutorial Bug

    Can't believe noone (including myself) noticed this before.

    It seems to go wrong whenever more than one turret try to shoot during the same frame (which obviously happens more often, the larger their firing range).
    Either only one bullet is created, or several bullets are created, but all are set to the same initial position and angle - not sure which.

    Anyway, I just quickly fixed the final frame you:
    http://cid-b1e7ee094271bbda.office.live.com/self.aspx/Public/SketchyShootB.mfa

    The previous frame also has the same problem, but I'll have to fix that later.

    Incidentally, it would be more efficient to use the ForEach extension for this, instead of fastloops (it's a pretty old example file).

  3. #3
    No Products Registered

    Join Date
    May 2011
    Posts
    20
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: 360 Shooting Gallery Tutorial Bug

    After I posted , I found out the problem is that we need one more loop for shooting. I also downloaded your solution and we seem to have the same fix . I would like to say that this is a great tutorial. Reading this I have learnt about fast loops, multiple object instances, alterable values, calculating distances and angles. Very well commented and broken into small pieces for easy comprehension

  4. #4
    Clicker Fusion 2.5 Developer

    Join Date
    Jul 2008
    Location
    UK
    Posts
    1,341
    Mentioned
    16 Post(s)
    Tagged
    0 Thread(s)

    Re: 360 Shooting Gallery Tutorial Bug

    Thanks - glad you found it useful

    Actually, the version I just posted was still broken, so I've fixed it properly and re-uploaded (the download url is the same) - not that you need it anyway, by the sound of things.

Similar Threads

  1. Formatted multiline list and gallery
    By iOSC in forum iOS Export Module Version 2.0
    Replies: 2
    Last Post: 11th September 2013, 08:20 AM
  2. Shooting......
    By yo10208 in forum The Games Factory 2 - Technical Support
    Replies: 1
    Last Post: 9th May 2009, 03:13 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
  •