Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
A little Modification for Screenshot system
#1
A little Modification for Screenshot system
by MauMau
Dec 4 2008

This is a locked, single-post thread from Creation Asylum. Archived here to prevent its loss.
No support is given. If you are the owner of the thread, please contact administration.


This is a little modification i made for my program, if you don't have a modification like that, your pictures will always be replaced. I didn't created all the script, i just modified a few parts.

The code isn't so good, any ideas for improvement?

If you never used this system:
- You will need a DLL(i will post in an attachment);
- You will need the script(the script in this topic);
- You will need to put on every scene in def update: Screen::shot if Input.trigger?(Input::F5)
I am using F5 for example, you can change for any key if you know how

by default the picture will have the name Screenshot_# and will be placed in the folder Screenshots, it will be 640x480 in a .png(change if you have another resolution)!

An idea for advanced users is put this on main script: Dir.mkdir('Screenshots') unless File.exist?('Screenshots')
If the player delete the folder the program will replace(If you don't want to make the folder this is good too)

The script is here...


Reply if you have any doubt!

MauMau

REQUIRED FILE:

.rar   screenshot.rar (Size: 48.46 KB / Downloads: 4)
}


Possibly Related Threads…
Thread Author Replies Views Last Post
  Summon/Custom Skills System! Reno-s--Joker 0 2,350 10-07-2008, 01:00 PM
Last Post: Reno-s--Joker
  Enemy Detection System GubiD 0 2,064 08-12-2007, 01:00 PM
Last Post: GubiD
  CNS (Custom Name System) Samo the thief 0 2,101 02-12-2007, 01:00 PM
Last Post: Samo the thief
  CSS (Custom Shop System) Samo the thief 0 2,437 01-29-2007, 01:00 PM
Last Post: Samo the thief
  My Saving system crystal 0 2,021 01-16-2007, 01:00 PM
Last Post: crystal
  Star Ocean Shop System Hawk-McKain 0 2,155 10-20-2006, 01:00 PM
Last Post: Hawk-McKain
  Slipknot Advance Debug System Sheol 0 1,816 12-23-2005, 01:00 PM
Last Post: Sheol
  Tales of Symphonia/Phantasia skill system Jimmie 0 2,105 09-23-2005, 01:00 PM
Last Post: Jimmie



Users browsing this thread: