Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

 
Reply to this topicStart new topic
> Multi-threader snippet., Some short script i made.
omegazion
post Sep 29 2008, 09:38 PM
Post #1


Level 1 / 0
Group Icon

Group: Revolutionary
Posts: 198
Type: Scripter
RM Skill: Masterful




Ok, here's a snippet i made a while ago, for my purposes, But i think it might be quite useful to others to:
This script allows you to test the game on multiple windows, allowing you to test something, then test another without having to hit new game each time. If you close the main playtest window, you can also edit whilst testing (but changes only apply after)

CODE
#==============================================================================
# ** Multi-threader snippet by Omegazion
#------------------------------------------------------------------------------
#  This snippet allows you to run your game in multiple threads, allowing
#  you to test different things simultaneously.
#
#  You can only run this during play test at the RPGVX's editor.
#==============================================================================
BEGIN {
  #----------------------------------------------------------------------------
  # * Set the number of additional threads here
  #----------------------------------------------------------------------------  
  number_of_additional_threads = 4

#==============================================================================
  if $TEST
    number_of_additional_threads.times do
      Thread.new{ system( "Game")}
    end
  else
    $TEST = true
  end
}


__________________________

Those who live by the sword, Die by the gun.
Go to the top of the page
 
+Quote Post
   
woratana
post Sep 30 2008, 05:09 AM
Post #2


Looking for scripter to hire? PM me *O*
Group Icon

Group: +Gold Member
Posts: 1,038
Type: Scripter
RM Skill: Undisclosed




You can actually open your game folder and double click 'Game.exe' from there.~^^

Though, the Thread.new thing is interesting. It's good for script learner. >w<


__________________________
Check out my NEW blog!!!



MVP (Most Valuable Poster) Award 2008


Go to the top of the page
 
+Quote Post
   
omegazion
post Oct 1 2008, 06:24 PM
Post #3


Level 1 / 0
Group Icon

Group: Revolutionary
Posts: 198
Type: Scripter
RM Skill: Masterful




ah , well the F9 Debug mode is active for all threads at least. (which could not be done by what you just said).


__________________________

Those who live by the sword, Die by the gun.
Go to the top of the page
 
+Quote Post
   
Yanfly
post Oct 2 2008, 04:23 AM
Post #4


Level 19
Group Icon

Group: Revolutionary
Posts: 384
Type: None
RM Skill: Undisclosed




This is quite possibly one of the more useful scripts I've seen for RMVX. Very nice job there, Omega. In a way, I'm saddened by the fact people aren't creating more scripts for debugging and testing purposes.


__________________________
Go to the top of the page
 
+Quote Post
   
Zeriab
post Oct 2 2008, 12:47 PM
Post #5


Level 12
Group Icon

Group: Revolutionary
Posts: 196
Type: Event Designer
RM Skill: Skilled




You can make a shortcut to the Game.exe and add test as an argument to achieve that.

None-the-less nice script omegazion happy.gif


__________________________
Go to the top of the page
 
+Quote Post
   

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 20th May 2013 - 09:03 AM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker