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 »
  • Key Input Processing makes my head EXPLODE!
« previous next »
  • Print
Pages: [1]

Author Topic: Key Input Processing makes my head EXPLODE!  (Read 1841 times)

Offline Phayre

  • Exemplar
  • *
  • Posts: 1,089
Key Input Processing makes my head EXPLODE!
« on: July 05, 2007, 03:33:03 PM »
So, I've spent the last week trying to realize my idea of a drinking game, similar to the squats in FFVII. I had it all thought out.... only then realized that what I thought would work won't work, because the Key Input thing is not quite as simple as previously imagined.

The game goes like this:
A timer is set for 30 seconds and shows on the screen. You press up to ask for a drink, then press right to grab the drink, but only once it's on the table. Otherwise nothing happens. You then press and hold left to drink until a bell sounds (after maybe 2 seconds), and can then put it down by pressing down. If you put the drink down before the bell, the drink doesn't count and you start over. After you're done, the drink variable keeping track of how many you've finished goes up by 1, and the process starts again with you pressing up to get a new drink. On each one, there is a graphic change with Christophe grabbing the beer, drinking the beer (there are two I want to use as an animation), putting down the beer, and requesting another.
Unfortunately, this has turned out more complicated and I am ready to toss my laptop out a window. My brain has melted to the point that all I can do computer-wise is write sufficiently bad stories for silly contests and play Castlevania.
Any suggestions on this? Nothing I've done seems to make sense when I come back to it. o.o
Logged

Offline Desimodontidae

  • Registered July 13, 2004, 10:41:19 AM (+1692 post counts)
  • Agent
  • *
  • Posts: 892
  • ghost host
    • perpetual massacre
(No subject)
« Reply #1 on: July 06, 2007, 04:32:24 PM »
Interesting. Seems hard. I'll work on it later... no time right now, though. But yeah..
Logged
My MGS3 main character sprites

Offline Dragoon de Sol

  • Common sense isn't very common
  • Agent
  • *
  • Posts: 800
(No subject)
« Reply #2 on: July 06, 2007, 05:22:00 PM »
Well, you'll need to probably use some Label and Jump To Label commands. But what's the initial problem.
Logged

Offline Phayre

  • Exemplar
  • *
  • Posts: 1,089
(No subject)
« Reply #3 on: July 08, 2007, 03:31:00 AM »
I'm unsure on how to attack this, is the problem.
Every time I try, I get mixed up with something. I also don't know how to make it so dropping the drink before it's done wouldn't count, but after the alotted drinking time it would.
This is my first venture into the Key Input thing, and if it doesn't get off the ground really soon, it's not gonna be in my demo.
Logged

Offline Dragoon de Sol

  • Common sense isn't very common
  • Agent
  • *
  • Posts: 800
(No subject)
« Reply #4 on: July 08, 2007, 05:23:14 AM »
Use comments to keep track of everything.
Logged

  • Print
Pages: [1]
« previous next »
  • Charas-Project »
  • Game Creation »
  • Requests »
  • RPG Maker Programming »
  • Key Input Processing makes my head EXPLODE!
 

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