Jump to content

Recommended Posts

I was wondering if there was a way to lock and unlock the screen. As I'm sure you know, the screen scrolls automatically when the player walks far enough in a direction. I have an event where I need to disable that temporarily. How would I do that?

Share this post


Link to post
Share on other sites

Depends one time or more? If one time consider creating a duplicate map 17x13 size (= default screen size in ace)

 

If you want to do it multiple times I think Soulpour made a script for that.... here it is!^^

Edited by Cookie Ninja

Share this post


Link to post
Share on other sites

For now, just one time, but I may use it more if the occasion arises. Aha! So someone did make a script. Unfortunately that one is for Non-commercial use and my game is commercial. 

Share this post


Link to post
Share on other sites

If I close my eyes so I don't see the header, is it okay to use? If I don't see it, it's not illegal, right?  :P

Share this post


Link to post
Share on other sites

Well it says that "if nothing else is said free for all" then it says that it's free for non-commercial. I think that you have to ask him. Good luck! :)

Well it says that "if nothing else is said free for all" then it says that it's free for non-commercial. I think that you have to ask him. Good luck! :)

Share this post


Link to post
Share on other sites

Yeah, but something else was said after that.  :blink: I blame Obama.

Share this post


Link to post
Share on other sites

Yeah... and NO!!!! I'm not fiddlingwith the script just to escape any liability, I consider it to be acting in bad faith! I would be very pissed if anyone would do that to me (albeit that I don't ask for much, but still)!

Share this post


Link to post
Share on other sites

Of course not. It's matter of finding someone to make another, original one one or do the map duplication thingie. There's no real rush on it. It's just to clean up 

a minigame I have a little bit.

Share this post


Link to post
Share on other sites

OK, I made an alternative lock screen script: Read header for how to use

 

# Cookie_freeze
# toggle using '$Cookie_freeze = true/false' script call
 
$Cookie_freeze = false
class Game_Player < Game_Character
  def update
    last_real_x = @real_x
    last_real_y = @real_y
    last_moving = moving?
    move_by_input
    super
    update_scroll(last_real_x, last_real_y) unless $Cookie_freeze
    update_vehicle
    update_nonmoving(last_moving) unless moving?
    @followers.update
  end

end

 

 

Hope you find it useful! ;)

Share this post


Link to post
Share on other sites

Okay let's see:

 

  • Screen locks/unlocks                            Check!
  • Player coords update properly              Check!  
  • Computer doesn't burst into flames      Check!

It seems you have once again done an awesomely amazing job  :thumbup3: The name you gave it, "Cookie_Freeze", gave me a craving for cookie dough ice cream. I'll PM you if any unforeseen issues arise. 

 

Thanks!

 

This thread can now be  :lock: 

Edited by lonequeso
  • Like 1

Share this post


Link to post
Share on other sites

Hmmmm... okay~

  • lonequeso said, that the solution works              Check!
  • lonequeso posted a 'thank you' message           Check!  
  • lonequeso said, that thread can be locked         Check!

9RWO0dm.png It seems, that this thread is closed, due to being solved. If for some reason anybody would like to re-open this thread, just send me a PM. (=

  • Like 1

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

  • Recently Browsing   0 members

    No registered users viewing this page.

×
Top ArrowTop Arrow Highlighted