Charas-Project

  • Home
  • Help
  • Search
  • Calendar
  • Login
  • Register
*
Please login or register.

Login with username, password and session length
 

News:

New forum theme up and running!



  • Charas-Project »
  • Game Creation »
  • Requests »
  • RPG Maker Programming »
  • Soccer Game?
« previous next »
  • Print
Pages: [1]

Author Topic: Soccer Game?  (Read 2107 times)

Offline FHZebedee

  • Member
  • Initiate
  • *
  • Posts: 48
Soccer Game?
« on: December 18, 2006, 06:12:24 PM »
Okay, I was wondering. How do I make a soccer style minigame, one on one? I want the player to play against one NPC opponent. Nothing fancy is needed, just the methods for making a game where the ball moves away when the player touches it, and by pressing a key, the player can kick the ball two spaces. It's tempting to just give up on this due to the difficulty, so some help would be nice.
Logged
http://pokeschoollost.proboards67.com/index.cgi
My boards. Some really good RPing here.

Save one more resource as JPEG or GIF and I'll club whomever does it with a baby seal.

Offline Meiscool-2

  • Sage
  • *
  • Posts: 7,030
  • If you support n00bs, you support communism.
(No subject)
« Reply #1 on: December 19, 2006, 02:47:17 AM »
Well, a good place to start would be looking for a "Crate Pushing" tutorial. There should be one on gamingw.net.

Pushing the ball and pushing the crate are basically the same thing.
Logged
Most Recent:

________________________
Old Stuff:

Offline FHZebedee

  • Member
  • Initiate
  • *
  • Posts: 48
Thanks.
« Reply #2 on: December 19, 2006, 04:03:59 PM »
I know on that one. Touched by hero, move event (soccer ball) away from hero, set a variable to location of event (soccer ball). Set something to check if it ever equals the ID of either goal, and result in win or loss accordingly. Have events that bounce it out of corners to prevent stalemates. That all works moderately well, if a tad sluggish.

I guess that my problem is that I don't have any idea on how to make a keypress result in a sudden kick, and I can't figure out how to script an event that actively tries to push that soccer ball towards the other goal. The best I could do was have him set to max speed, move towards hero and continuously get in the way.
Logged
http://pokeschoollost.proboards67.com/index.cgi
My boards. Some really good RPing here.

Save one more resource as JPEG or GIF and I'll club whomever does it with a baby seal.

Offline Moosetroop11

  • Sage
  • *
  • Posts: 7,398
(No subject)
« Reply #3 on: December 19, 2006, 05:35:05 PM »
So, what you're asking is that you can press to kick, and then move around whilst dribbling the ball? Or what? Otherwise Meiscool's right.
Logged
Maaaaaaaaaaaaaaaaaaaaaaaaaaan I missed this place.

Quote from: drenrin2120
Maaaaaaaaaaaaaaaaaaan I missed you.

Quote from: fruckert
Maaaaaaaaaaaaaaan I missed that welcome.

Offline FHZebedee

  • Member
  • Initiate
  • *
  • Posts: 48
Thanks!
« Reply #4 on: December 20, 2006, 02:01:07 PM »
Yeah, luckily I managed to figure out how to make it work as far as Meiscool gave me advice on.

I'll try the kick solution. And I guess I'll just add challenge by setting the guy to pester, adding a goalie, and making it take three points or so.
Logged
http://pokeschoollost.proboards67.com/index.cgi
My boards. Some really good RPing here.

Save one more resource as JPEG or GIF and I'll club whomever does it with a baby seal.

  • Print
Pages: [1]
« previous next »
  • Charas-Project »
  • Game Creation »
  • Requests »
  • RPG Maker Programming »
  • Soccer Game?
 

  • SMF 2.0.10 | SMF © 2015, Simple Machines
  • XHTML
  • 2O11
  • RSS
  • WAP2
  • Simple Machines Forum