Charas-Project

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

Login with username, password and session length
 

News:

Click here to join us on IRC (#charas on irc.freenode.net)!



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

Author Topic: Height system help  (Read 4138 times)

Offline lilsniffs3

  • Exemplar
  • *
  • Posts: 1,573
Height system help
« on: June 27, 2010, 06:15:02 PM »
In the game I'm making, one character has a glider. When in that character's "glider mode," he can go to any part of the map that's not higher than him. Most of it works, but there is one problem. When switching to the glider, a "Move Event" puts the character into phasing mode. This didn't seem like a problem until I couldn't think of a way for the character to not go to the heights above him. How can I make the invisible blocks?
Logged

Offline A Forgotten Legend

  • Your neighborhood box of colors
  • Royal
  • *
  • Posts: 4,428
    • Website
Re: Height system help
« Reply #1 on: June 27, 2010, 06:28:24 PM »
Well, you could use an event with no graphic that activates when the hero goes on it and it makes them move the opposite direction.
Logged

Offline Prpl_Mage

  • Administrator
  • Sage
  • *
  • Posts: 7,645
  • The Administrator Mage
    • Check out our itch website
Re: Height system help
« Reply #2 on: June 27, 2010, 07:56:18 PM »
Why not just have the glider be an airship type vehicle?
Logged
Cool RPGM Project!
Sprite till you die

Oh my god, this was ...10 years ago...

Offline lilsniffs3

  • Exemplar
  • *
  • Posts: 1,573
Re: Height system help
« Reply #3 on: June 28, 2010, 03:38:09 AM »
Because of the height system. I'd have to assemble my own tileset and make the heights different types of terrain. The airship glider would fly over the height checking events, wouldn't it?

And AFL, wouldn't that be kind of weird, seeing as the character would move forward then backwards? Unless that actually makes it not move.
Logged

Offline A Forgotten Legend

  • Your neighborhood box of colors
  • Royal
  • *
  • Posts: 4,428
    • Website
Re: Height system help
« Reply #4 on: June 28, 2010, 05:56:55 AM »
I was thinking more of a bouncing off kind of thing.  Prpl's idea sounds more like what you want really.
Logged

Offline Daetyrnis

  • Zealot
  • *
  • Posts: 616
    • Organization 13½
Re: Height system help
« Reply #5 on: June 28, 2010, 05:51:17 PM »
How are you currently implementing the height system?  Terrain seems like the best idea to me.
Logged

Offline lilsniffs3

  • Exemplar
  • *
  • Posts: 1,573
Re: Height system help
« Reply #6 on: June 28, 2010, 09:22:01 PM »
I currently have the current height written to a variable. The biggest problem for the terrain is having to assemble multiple types of the same tile on a chipset, having to remove some tiles in the process.

Anyway, thanks for the help guys. I'm going to try the different terrain with the airship glider.

Another thing unrelated to height (I don't wanna make another topic,) I've never been able to figure out how to combine keys together. Like the arrow keys doing something other than moving when you hold down the X key. Can someone tell me how to do this?
Logged

Offline Prpl_Mage

  • Administrator
  • Sage
  • *
  • Posts: 7,645
  • The Administrator Mage
    • Check out our itch website
Re: Height system help
« Reply #7 on: June 28, 2010, 09:26:25 PM »
Well, in theory you make the key input process check every second or so if X or action button is pressed.

Then you have another check that sees if you press any of the arrow keys.

Conditional branches and stuff.
Logged
Cool RPGM Project!
Sprite till you die

Oh my god, this was ...10 years ago...

Offline lilsniffs3

  • Exemplar
  • *
  • Posts: 1,573
Re: Height system help
« Reply #8 on: June 28, 2010, 09:53:30 PM »
Ahh, thanks Prpl.
Logged

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

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