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 »
  • Tutorials »
  • 2 player game....
« previous next »
  • Print
Pages: [1]

Author Topic: 2 player game....  (Read 5300 times)

Offline zuhane1

  • Member
  • Associate
  • *
  • Posts: 210
  • Male, Tall, 16, UK, Brown hair, Tom.
2 player game....
« on: December 11, 2007, 02:42:27 PM »
 :(

Well, here goes. I'm posting but I really don't expect any replies. I'm working on a 2 player battle game which will be fun for parties and so-on. If it's not too much trouble!!!... then here's my coding. Please could somebody tell me what I need to do to make characters move?

I used the numpad to make character 2 move, but I have to tap the keys instead of holding them down. Player 1 also moves when I use the numpad. If you can help me I will be very grateful and provide you all with a fun party battle game like bomberman/quake/mario/warioware!
Logged
Nether-
A game featuring more extras and minigames than anything. Endorse in hours of fun without even doing the storyline. A game with so many features it's just not right.

Offline zuhane1

  • Member
  • Associate
  • *
  • Posts: 210
  • Male, Tall, 16, UK, Brown hair, Tom.
(No subject)
« Reply #1 on: December 11, 2007, 03:17:42 PM »
It went a bit screwy, now here's the second post with it in:
Logged
Nether-
A game featuring more extras and minigames than anything. Endorse in hours of fun without even doing the storyline. A game with so many features it's just not right.

Offline DragonBlaze

  • A Wild DB Appeared!
  • Royal
  • *
  • Posts: 3,329
(No subject)
« Reply #2 on: December 11, 2007, 03:19:33 PM »
First things first, you need to make sure num lock is on. If num lock isn't on, the 8, 4, 6, and 2 keys will work just like the arrow keys, thus it'll move the hero as well.

What you need to do for your move second player event is make a parallel process event for if the number keys are pressed. If the 8 key is pressed, move up, if the 4 key is pressed, move left, ect.

Make sure you don't have "wait until key is pressed" box checked, cuz this will make the player have to tap the buttons in order to move instead of just holding them down. You will also have to add a wait after you move the hero, if you do not add a wait, the 'move event' command will be called like 10 times when you press the up button, thus the character will move up 10 squares. You'll have to play aroud with the wait, to get something that works out well. I'm guessing it'll be around .4 seconds, but I don't really know.

Hope that helps.

Quote
This really sucks you know! Nobody ever helps! I've posted about 20 questions since I've joined and only 1 has been answered. It doesn't matter now because I've used other forums to find out the answer.


Are you serious? I just reviewed all your posts in the tutorials section and rm programming section from the last two months, and you know what I found? EVERY one of your topics has been adressed. It is true that some of your questions weren't answer, BUT the topic ended with somone asking you for more information (like a screenshot), and YOU never provided it. So if any of your questions weren't answered, don't blame it on other members, because you're the one who dropped out of the topics before your questions were fully answered.
Logged
Hell Yeah! Just recovered all my old rm2k/3 games from my 10 year old, broken laptop hard drive that had been formatted and had a new OS installed on it. Oh, and I did all of this from my phone. WIN

Offline zuhane1

  • Member
  • Associate
  • *
  • Posts: 210
  • Male, Tall, 16, UK, Brown hair, Tom.
(No subject)
« Reply #3 on: December 11, 2007, 03:57:33 PM »
Right, the second character moves like she should now which is good! The problem now is the numlock thing. When I turn it off my first character walks, not my second. How do I fix this?
Logged
Nether-
A game featuring more extras and minigames than anything. Endorse in hours of fun without even doing the storyline. A game with so many features it's just not right.

Offline DragonBlaze

  • A Wild DB Appeared!
  • Royal
  • *
  • Posts: 3,329
(No subject)
« Reply #4 on: December 11, 2007, 04:12:25 PM »
You need to keep numlock on, otherwise rm2k3 will think the number keys are the arrow keys. So you need to 'lock' it to just the numbers.
Logged
Hell Yeah! Just recovered all my old rm2k/3 games from my 10 year old, broken laptop hard drive that had been formatted and had a new OS installed on it. Oh, and I did all of this from my phone. WIN

Offline zuhane1

  • Member
  • Associate
  • *
  • Posts: 210
  • Male, Tall, 16, UK, Brown hair, Tom.
(No subject)
« Reply #5 on: December 11, 2007, 04:35:46 PM »
Yeah I've tried both. that just makes both of them move :(
Logged
Nether-
A game featuring more extras and minigames than anything. Endorse in hours of fun without even doing the storyline. A game with so many features it's just not right.

Offline zuhane1

  • Member
  • Associate
  • *
  • Posts: 210
  • Male, Tall, 16, UK, Brown hair, Tom.
(No subject)
« Reply #6 on: December 17, 2007, 04:46:18 PM »
Point proven...
Logged
Nether-
A game featuring more extras and minigames than anything. Endorse in hours of fun without even doing the storyline. A game with so many features it's just not right.

Offline Moosetroop11

  • Sage
  • *
  • Posts: 7,398
(No subject)
« Reply #7 on: December 17, 2007, 09:22:50 PM »
*Slaps zuhane with a kipper*

Dragonblaze helped a ton. Part of the reason no-one else has helped is because most of us have no experience with something like this... Rm2k isn't an ideal tool for two player games by any stretch of the imagination.
Logged
Maaaaaaaaaaaaaaaaaaaaaaaaaaan I missed this place.

Quote from: drenrin2120
Maaaaaaaaaaaaaaaaaaan I missed you.

Quote from: fruckert
Maaaaaaaaaaaaaaan I missed that welcome.

Offline DragonBlaze

  • A Wild DB Appeared!
  • Royal
  • *
  • Posts: 3,329
(No subject)
« Reply #8 on: December 18, 2007, 02:16:54 AM »
Alright, then its impossible to do with the numpad with rm2k3 because rm2k3 isn't smart enough to tell the numpad from the arrows. To test this out, press the down arrow as your typing something here. See that  the cursor moves around. Now make sure the num lock is off, and try pressing the numpad 4,2,8 and 6. It acts the same way. Now put the num lock on and try it again. You'll get number now instead of a moving cursor.

This means that rm2k3 just doesn't support a num pad correctly.

Zuhane, are you paying to be here? No. I'll help you as much as I can, but when I have 9 papers to write in 2 weeks, 5 finals to study for, and working 24 hours a week, I'm not going to be on charas 24/7 to answer every one of your questions. People here are answering your questions and your not doing anything for them in return. Though people will try to answer your question, some (like your one reply) may be missed for a few days. And when you're acting like this while asking more questions than any other member its not helping.

Feel free to ask more questions, but if you continue to complain that we're not answering it fast enough or complete enough for you, or that we're not helping you, I'll lock your topic.

That being said, if you feel that something needs to be changed in the tutorial or rm programming sections, feel free to PM me with your suggestions. But I won't have you bad mouthing charas and its members becuase we're not serving you fast enough.
Logged
Hell Yeah! Just recovered all my old rm2k/3 games from my 10 year old, broken laptop hard drive that had been formatted and had a new OS installed on it. Oh, and I did all of this from my phone. WIN

Offline zuhane1

  • Member
  • Associate
  • *
  • Posts: 210
  • Male, Tall, 16, UK, Brown hair, Tom.
(No subject)
« Reply #9 on: December 18, 2007, 03:32:33 PM »
Look, you're getting the wrong end of the stick. I greatly appreciate you helping me, but sometimes I will have to wait insane lengths of time and get a reply that reall doesn't help in any way. Sorry to seem impatient but I really am trying to be well mannered. If I was that bad I would quadruple post and complain all of the time, I've only started recently and surprisingly people have been answering my topics since I've complained!

     You also want me to benefit the community, but I have little knowledge of rm2k/rm2k3 so I really don't know how I could help. If I do ever make tutorials, they get shredded to bits by people's disagreeing comments. I can't sprite or anything so I don't know how I can really benefit you all except by creating these games that I'm trying to get help with making and sending them to you lot! I want to benefit the community by giving you all a decent game to play, but I obviously can't because I never get the replies I need. Sorry to nag you, I won't bother again.
Logged
Nether-
A game featuring more extras and minigames than anything. Endorse in hours of fun without even doing the storyline. A game with so many features it's just not right.

Offline zuhane1

  • Member
  • Associate
  • *
  • Posts: 210
  • Male, Tall, 16, UK, Brown hair, Tom.
(No subject)
« Reply #10 on: December 18, 2007, 03:33:36 PM »
Look, you're getting the wrong end of the stick. I greatly appreciate you helping me, but sometimes I will have to wait insane lengths of time and get a reply that reall doesn't help in any way. Sorry to seem impatient but I really am trying to be well mannered. If I was that bad I would quadruple post and complain all of the time, I've only started recently and surprisingly people have been answering my topics since I've complained!

     You also want me to benefit the community, but I have little knowledge of rm2k/rm2k3 so I really don't know how I could help. If I do ever make tutorials, they get shredded to bits by people's disagreeing comments. I can't sprite or anything so I don't know how I can really benefit you all except by creating these games that I'm trying to get help with making and sending them to you lot! I want to benefit the community by giving you all a decent game to play, but I obviously can't because I never get the replies I need. Sorry to nag you, I won't bother again.
Logged
Nether-
A game featuring more extras and minigames than anything. Endorse in hours of fun without even doing the storyline. A game with so many features it's just not right.

Offline DragonBlaze

  • A Wild DB Appeared!
  • Royal
  • *
  • Posts: 3,329
(No subject)
« Reply #11 on: December 19, 2007, 02:00:17 AM »
I'm not saying I want you to contrubute to the community, i'm saying that people aren't to encouraged to help you if you dont do anything for them in return.

Again, feel free to post as many questions as you want, but not all of them are going to be answered as full or as fast as you may like, though I should be able to reply to most of them within a day.
Logged
Hell Yeah! Just recovered all my old rm2k/3 games from my 10 year old, broken laptop hard drive that had been formatted and had a new OS installed on it. Oh, and I did all of this from my phone. WIN

  • Print
Pages: [1]
« previous next »
  • Charas-Project »
  • Game Creation »
  • Requests »
  • Tutorials »
  • 2 player game....
 

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