User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 19

Thread: My first game

  1. #1
    No Products Registered

    Join Date
    May 2008
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    My first game

    I'm new to MMF2. I am creating a soccer, World Cup game. On one frame, I want to be able to select my country and have it pop up on the next frame, which is the playing field. Also, can MMF2 generate an object with AI capabilities, so that one player can play against the computer? If anyone knows these answers, I would greatly appreciate it if you replied.



    (P.S.- Does anyone know how to go about creating a tournament ladder?)

  2. #2
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    RickyRombo's Avatar
    Join Date
    Mar 2008
    Location
    Somewhere between here and there
    Posts
    3,167
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: My first game

    Words of advice-

    ~Start out with something smaller
    ~Do some tutorials on the tutorial page

    But if you must know, you could make each team a global value (or string or something) and then in the next frame, load the field of the two countries. eg. Italy vs France = 1:

    *France is selected
    *Italy is selected
    -Set global value A to 1

    *Whatever starts next frame
    -Jump to frame (Global Value A)

    Must be a better way than making so many doggone frames, but I'm not the one who would know

  3. #3
    No Products Registered

    Join Date
    May 2008
    Posts
    14
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: My first game

    Yes, start smaller. Note that that doesn't mean you can't make a soccer game, but try to do a very simple one to start off. Once you know how to actually make a soccer game, you can make it so you can pick teams, have seasons, tournaments, etc.

    To answer your question, here's an idea. Keep it mind though, I haven't tried it, so it may not work. Also, I'm a bit of a novice myself, so there's probably a better way. Use a plain rectangle for every player. That's it. It'll make collision detection smoother AND you can make it invisible AND put any sprite you want over it. So you could use global values, as Ricky said, but instead of making a new frame, simply make it so that if Global Value A is 1, then the sprites for French players will appear over the rectangles, using Global Value B for the other team, I guess. You will have to make them perform animations manually, which isn't too hard if you use qualifiers. Try the tutorial on 'Custom Movement Systems' on the Clickteam website, which shows how to use a plain box for the player and put a sprite over it during gameplay. As for AI? Man, I have no idea. I'm still struggling to get enemies in a basic sidescrolling game to work well.

    If this is all Greek to you, then... yeah, you'll have to start smaller.

  4. #4
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jul 2006
    Location
    Pittsburgh, PA, USA
    Posts
    777
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: My first game

    Here's an idea for AI. This is the perfect instance to use Biezer Curves. Have defensive and offensive players. The defensive ones will try to always be in between the goal and ball, but they will move slower than the ball. When the ball comes within range, have the defensive player use Biezer Curves to move to a certain side of the ball and kick it away. The offensive players will be using the Biezer Curve much more. They will always try to get to the side of the ball that lines them up with the goal. If another player has control of the ball, the offensive player will shift its focus to kicking it to the side of the player. When the offensive player gets within range of the goal, it will make a shot by finding the spot in the goal farthest from the goalie and shoot at it.

    That's how I would sum up your AI without actually programming anything. It really doesn't look all that hard.

    EDIT: You may also want to make the offensive players avoid players on the other team. Just shift their focus slightly left or right depending on which side of them has more players, and when a player gets too close, the offensive player will try to keep the ball away from the player instead of heading for the goal.

  5. #5
    No Products Registered

    Join Date
    May 2008
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: My first game

    Thank you all sooo much for the info. I couldn't figure out how to do the AI, but I was able to figure out a way to make the team I wanted pop up on the playing field using global values.

    Here's another delima if you want...
    The soccer game that I'm creating is a platform game. Is there a tutorial or something that will teach me how to create gravity? Or do any of you know? I've seen the platform object on the objects list, but I have no idea how to use it.
    If anyone could tell me I'd greatly appreciate it.


  6. #6
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jul 2006
    Location
    Pittsburgh, PA, USA
    Posts
    777
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: My first game

    If you want the easy solution, click on your active object that you want to move and select the platform movement in the runtime properties.

    For the advanced solution, have a look at the platform object example file located where you installed MMF2.

  7. #7
    No Products Registered

    Join Date
    Mar 2007
    Location
    San Diego
    Posts
    280
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: My first game

    This tutorial may also be useful: http://www.clickteam.com/eng/resources/fastloop_plattutorial.zip

  8. #8
    Clicker Fusion 2.5 Developer
    00J's Avatar
    Join Date
    Jun 2006
    Location
    Virginia, USA
    Posts
    1,510
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: My first game

    Happy Birthday. Did you get that PS3 you wanted?

    [laugh]

    Conor - A side Scrolling Soccor game? Never heard of that before.
    Why not make it a Top Down 2 player game, Human VS Human, then at least you get the idea of how to build up a game, with scores and everything.

  9. #9
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jul 2006
    Location
    Pittsburgh, PA, USA
    Posts
    777
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: My first game

    I just assumed the game would be top-down when I was describing the AI to you.

  10. #10
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jun 2006
    Posts
    6,773
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: My first game

    KetchupMaster has the same birthday as me?!

Page 1 of 2 1 2 LastLast

Similar Threads

  1. YWHTG: You Will Hate This Game [Flash] Skill / Avoidance game
    By FGRaptor in forum Released Games & Apps in Flash
    Replies: 2
    Last Post: 2nd May 2016, 03:14 AM
  2. Donkey Kong JR Game & Watch cloned into arcade game some MMF2 technical problems.
    By daryuss in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 9th June 2013, 09:17 PM
  3. Open exported html doc, game doesnt load. When opening raw SWF, game fits screen!
    By Oreo in forum SWF/Flash Export Module Version 2.0
    Replies: 5
    Last Post: 19th November 2012, 03:16 PM
  4. Flash Game Screen Size Game Site Preferences
    By Rolando in forum SWF/Flash Export Module Version 2.0
    Replies: 1
    Last Post: 4th January 2012, 04:04 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
  •