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 »
  • I should know the answer to this...
« previous next »
  • Print
Pages: [1]

Author Topic: I should know the answer to this...  (Read 2227 times)

Offline X_marks_the_ed

  • trygtt o sizg msw kisg
  • Royal
  • *
  • Posts: 4,394
  • WHAT THE WHY ARE THESE BUTTONS
I should know the answer to this...
« on: November 20, 2007, 10:03:16 PM »
...but I don't.

Stopping a player from moving the character. Halt all movement only works with current movement, but I need total control of the character to be disabled while the picture is up.  :|

(I do not like putting menus in seperate maps, I find it much more time-consuming, my menus use common events and lots and lots of pictures. :D)
Logged

Offline X_marks_the_ed

  • trygtt o sizg msw kisg
  • Royal
  • *
  • Posts: 4,394
  • WHAT THE WHY ARE THESE BUTTONS
(No subject)
« Reply #1 on: November 20, 2007, 10:16:35 PM »
Quote
Originally posted by lucas_irineu
Hum, maybe changing it's charset to a transparent bg, and puting a event with the same graphic of the char on the place he was standing?


That might work if I have his original position put into variables, then every time the player presses a key, it jumps the transparent hero to its original spot (you have to remember, if the transparent hero is moving unrestrained, the map could scroll behind the picture), then once more when the menu closes and sets the hero correctly again.

But I'd like to see if anyone has a simpler idea before I do all of that. ;)
Logged

Offline aboutasoandthis

  • Exemplar
  • *
  • Posts: 1,915
  • Talking sucks.
(No subject)
« Reply #2 on: November 21, 2007, 01:50:50 AM »
Try having an Action Key event with no preconditions, and using Call Event to start it?
Logged
My pokemon bring all the nerds to the yard, and they're like you wanna trade cards? Darn right, I wanna trade cards, I could trade this, but not my charizard.  



Offline Ganocide_of_a_Kingdom

  • People's Salvation To Ignorance
  • Associate
  • *
  • Posts: 105
(No subject)
« Reply #3 on: November 21, 2007, 11:15:01 AM »
I didn't get what yer problem was much. From wjat I understand, you make picture based CMS's (and so do I) but yer character keeps moving even if when the menu was called. What you need to do is set yer menu calling event to auto start, yer character will stop moving (however, NPC's and what not, will still move).
Logged

Offline X_marks_the_ed

  • trygtt o sizg msw kisg
  • Royal
  • *
  • Posts: 4,394
  • WHAT THE WHY ARE THESE BUTTONS
(No subject)
« Reply #4 on: November 21, 2007, 12:32:47 PM »
Quote
Originally posted by Ganocide_of_a_Kingdom
I didn't get what yer problem was much. From wjat I understand, you make picture based CMS's (and so do I) but yer character keeps moving even if when the menu was called. What you need to do is set yer menu calling event to auto start, yer character will stop moving (however, NPC's and what not, will still move).


I should have posted earlier, but I've already implemented Lucas' idea and it works splendidly ( and it lags a lot less now. o.O )

Besides, I've already tried making it an auto-start, but then it just freezes the game.
Logged

  • Print
Pages: [1]
« previous next »
  • Charas-Project »
  • Game Creation »
  • Requests »
  • RPG Maker Programming »
  • I should know the answer to this...
 

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