Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - azdesign

1
Thanks a lot, this is what I need, gonna try this right away  :D
2
I did that before actually. ", I put the code into a simple short function inside the script and call it from an event and it works,".
Hmm.. so I guess the script box is just like that and can't be helped. I thought it was just a simple word wrap, but apparently it wasn't.
Writing the syntax inside the script editor as a function and call it in the event seems the only way.  :uhm:

Thanks  :haha:
3
Electronic and Computer Section / Re: Gaming Laptop
August 15, 2013, 06:16:35 am
I was late to show up. I should have recommend you MSI before you buy a laptop.
What matters in gaming laptop is GPU. Else ? everything above $1000 mostly has the same spec, i7, >8GB ram, SSD, etc.
So the thing I'm going to recommend you is :
http://www.newegg.com/Product/Product.aspx?Item=N82E16834152394
I know it's not an i7, but this is the best price/performance laptop on earth right now.
Pros :
GPU : Radeon 7970M, WAY better than GTX 670, check this out : http://www.notebookcheck.net/Mobile-Graphics-Cards-Benchmark-List.844.0.html
SSD : 2 64GB runs in RAID 0 has WAY better performance than a single high capacity SSD
Price : Friggin $1200
Cons :
For me, it looks ugly compared to asus
intel's i7 haswell performs better than amd's A10
Other thoughts :
Not everyone fond to MSI
Memory not 8GB ? just add 1 more 8GB stick
SSD not 128 ? sell both default SSD, get a 128 SSD, 2 if you can, and run them in RAID 0.
Gonna buy this if I have the bucks :D
4
[RPG Maker XP]
Hi, I'm stuck on frustrating syntax error that occur whenever I input long script into an event
example code :
$some_variable[:instance].long_function_name('param1','param2',1,2,3)

Put the code into script box and here is how it shows up
$some_variable
[:instance].long_function_name
('param1','param2',1,2,3)

separated into 3 lines aka screw things up
the result is syntax error. I tried to fix it by removing space, putting additional parameter after "," in the line after, etc. But then sometimes it works, sometimes not. 50:50
To be sure that I don't make any mistake with the code, I put the code into a simple short function inside the script and call it from an event and it works, so I'm 100% certain that the mistake was not from my code, but from the script box

So my question is how to properly write long syntax into the script box that run as it should be even after being separated into multiple lines by script box ?

ps : I'm sorry if this is a duplicate topic of a similar problem. I tried searching it first but what I got was about syntax error from specific script someone else's made.  :O.o:
5
Thank you very much! it worked, now I'll clean it up a bit and insert it into my script.  :haha: :haha: :haha: Thank you really!
6
Hmm, Okay, here is what I wanted :
1st phase : constant speed, duration = 60% of time, distance to travel = 70%
2nd phase : decelerating using green curve you mentioned above, duration = 40% of time, distance to travel = 30%
:D
7
What I wrote was the linear equation (zero-acceleration) one. The equation must be changed in order to meet the scenario given. In form of v-t graph, there will be a straight line which indicates the linear movement and then the line dropping after 60% of frame until finally stops. The function in the program should only takes 2 parameter, the distance and time. Which based on that, the only thing that we know is :
1. The combination of distance traveled by both movement is 100 pixels
2. The time needed for both movement to reach 100 pixels in 1 second (40 frame), which is 24 frames for the linear movement, and 16 frames for the deceleration
3. There is no limit of what is the velocity and acceleration is
The question you asked me is what I'm looking for, I hope the above explanation can explain what I really meant.

I was asking around some sites for this (the scenario is a bit different though) :
http://math.stackexchange.com/questions/407786/motion-with-acceleration-and-deceleration
http://stackoverflow.com/questions/16856675/movement-animation-involving-acceleration-decceleration

Now I'll just try to digest those equations they give me and transform them into form of ruby code. :)
:facepalm: I regret underestimating physic and math class when I'm in school.
8
Guys, I need some help with acceleration/deceleration script. I made some extension for sprite class to enable it perform various animations such as moving to various direction, darken, lighten, fading, shaking, etc. The script below is just a simplification of the actual script and not tested yet, I'm sorry if I made some errors; The actual script works fine however. I want to modify the linear moving animation with some acceleration/deceleration capabilities but I can't figure out how, I'm suck at math and physics.
FPS = 40
class Animated < Sprite
attr_accessor :in_animation
@in_animation = false

def initialize
#assign some picture for this class
end

def move(distance,duration) #distance = distance to travel in pixels ; #duration = time for travel distance in seconds
#declaration of variables which I think necessary for acceleration/deceleration
@distance_total = distance
@distance_covered = 0
@distance_remaining = @distance_total
@time_total = FPS * duration
@time_spent = 0 #in frames
@time_remaining = @time_total #in frames
@current_speed = 0
@last_speed = 0
@speed_type = 'constant';
@in_animation = true
end

def animate()
#calculate how many pixel to move in a frame
@current_speed = @distance_total/@time_total

#move the thing to left (
$yeah.x -= current_speed

#set some variables
@distance_covered += @current_speed
@time_spent += 1

#ends the animation if the object has reach the destination
if @distance_covered >= @distance_total && @time_spent >= @time_total
@in_animation = false
end
end
end

Now, in the game loop's update function :
if $yeah.in_animation == true
$yeah.animate()
end

Lets start, interact an event with these script :
   
$yeah = Animated.new
$yeah.move(100,1)
   
After that, the picture is moving to left for 100 pixels in 1 second, in the actual script, this works fine. But that's it, linear movement.

The question is how to turns the linear movement into dynamic movement with below scenario
1. After moving for 60% of frames in constant speed, movement start to decelerate slowly (speed dropping from frame to frame) until it stops upon reaching final destination
2. Decelerating must not have any impact to total time and total distance

Any help will be appreciated!  :D thx before.
9
Entertainment / Re: ATTN: gameus
September 13, 2012, 12:26:19 pm
Quote from: gameus on September 11, 2012, 07:42:51 pm
http://www.youtube.com/watch?v=wcLNteez3c4&feature=relmfu

There's just something really sexy about that chick.


Without glasses that man looks someone different lol
10
RPG Maker Scripts / Re: RPG Maker + SQLite
September 13, 2012, 08:36:12 am
I understand clearly what you mean. How database in single user app isn't bring much benefits.

It just, when I made everything custom, for example there are more stats for character, every item has different effect for those new stats. Having a high specific stat will allow user to wield specific equipment, which can be obtained by combining ore, leather, etc. But when you look at the editor, there is nothing about the custom data. You cannot create, modify and delete that new item through there. The only way to change it, is to edit the script manually, to manually assign every variables, behavior and connections that item has. For example script for bestiary and quest log. You have to manually input every event description, goals, monster to hunt, etc in the script. And you have to do it through script.

The point is : I could make those data stored in the SQLite file, then I create a simple PHP page as its "editor". It would really ease my work and everyone using someone's custom script to add more items, add more stats, more quest log, monster book, add and modify any custom data. The game retrieve item data from database but, still saving game progress, items owned, current level, party, etc using standard save method.

Well, I'll just try it to find out :D
11
RPG Maker Scripts / Re: RPG Maker + SQLite
September 13, 2012, 12:15:00 am
Data stored in scripts are hassle. Consider that I want specific item holds several status ailments. As the number of items grow, I need to add more and more of those items inside the script, but that wont be happen if I just create database for it. I've made many websites and apps before and having that experience, I can say that database are just cannot be separated. It is a need. Well, this SQLite I mentioned has very interesting feature, which is serverless and its database file can be saved anywhere without any install/setups (to access it at least). The point is how clients doesn't have to install additional software.

It is possible, the API stored in a gem and all I have to do is to use it. I'll try this and XML to see which one is easier/better. After that I might create the script and post it here later. Anyway thanks for sharing :D
12
RPG Maker Scripts / RPG Maker + SQLite
September 12, 2012, 08:16:07 am
I just wondering, is there is such rpg maker games/plug-ins which is using SQLite to store its custom database ? Because I think this is very effective rather than storing data in a variables. It doesn't need a server, stored in local folder, just need a gem to work. The scenario of my project requires a custom data to be stored, well it can be achieved without sqlite, but I think, data stored in database are more "mannered".  :)
13
So the conclusion is, to support your card, you must own a new power supply with these support :

1. 500 watt
2. Has at least 80% efficiency (usually labeled with 80PLUS logo)
3. Has 2 6pin connector, check if it has 8 pin connector as its 2 additional pin can be detachable

this one you told me was okay, go for it
http://www.amazon.com/Accell-UltraAV-B101B-003B-Display-Adapter/dp/B003HC85D2

After you got all the stuff mentioned above, just follow the steps I posted before and happy gaming.  :D
14
My last post was update with step by step to work with it. What it your motherboard ?
My local computer center mall has plenty of them, they even display their computer with triple monitor working on all VGA (one with active DP->VGA port of course). Check your local store, not small one, a big one, preferrably big mall where only computer stuff sold there. That device should cost around 10-20$
15
hmmm, 5870 and 5850 was around the same price yet you bought 5850 ? why ?
Btw, great choice, I would recommend it earlier if I log in sooner. 5850 in general, has slightly more performance if compared to 6850. But having an old chip, it has disadvantages when running DX11 features such as texture tessalation. Also, it has greater power consumption.

As your monitor does not have a DP/HDMI, here are the steps for you :
1. Buy an active DP->VGA converter / DP->DVI + DVI->VGA converter, one example is : http://www.waroengkom.com/product/Display-port-to-VGA.jpg
2. Buy 2 DVI->VGA converter for the rest of your monitor
3. Like I said in your previous topic, 2 DVI ports in your card, plug it with DVI->VGA then attach it to 2 of your monitor
Last step, use that active converter, plug it on DP port on your card, apply DVI->VGA converter if you cannot find DP->VGA, plug the cable to your primary monitor.
4. Now, download the latest driver, open CCC, see the AMD Eyefinity multi-display, you'll know what to do, then, apply bezel compensation until you feel comfortable. Enjoy the game in triple monitor. Note, not every games has multi-monitor support, fortunately, people been doing custom mod for this, known as widescreen fixer. https://www.widescreenfixer.org/ hope your games listed there and enjoy  ;)
16
Sidewinders are no good, the series always using non-standard size & layout. I own sidewinder X6 and a mechanical MX Blue. My sidewinder also has unusual F1-F12 size, I always mistaken esc key with F1 key, bad. I like the modular number pad and backlight though. If I were you, I invest in mechanical keyboard, because gaming keyboards are overpriced in spite of they're still using rubber dome switch. What is this "gaming" keyboard you expect ? game shortcuts ? Because even thought X6 provide me more than 20 programmable shortcut keys, I never used them. And also, most keyboard custom shortcut keys blocked by most game's anti-cheat service. So, personally, this "gaming" thing was gimmick. I can play well without those fancy additional keys or design.

You have 2 choice, red switch = very silent, brown switch = better typing feel than red, not as silent as red but definitely more silent than blue. If I'm in the same condition as you, I choose brown, its an all rounder switch. Though I prefer blue for epic clicking sound lol and best typing gear.

These are few of the best mechanical keyboard which offer backlit :

http://tigerimports.net/sunshop/index.php?l=product_detail&p=11538
http://www.maxkeyboard.com/max-keyboard-nighthawk-x8-blue-backlit-mechanical-keyboard.html
http://www.newegg.com/Product/Product.aspx?Item=N82E16823129004&Tpk=cm%20storm%20trigger&nm_mc=AFC-C8Junction&cm_mmc=AFC-C8Junction-_-na-_-na-_-na&AID=10446076&PID=4003003&SID=1wzrq5icp9siq

I recommend ducky or nighthawk. The ducky keyboard can be customized, choose any backlit color and key switch you want. No, no razer. Hope this helps  ;)
17
RMXP Script Database / Re: [XP] AzDesign Localization
September 08, 2012, 06:13:25 am
@Blizzard : Thanks, I'll use that for future reference.

ADDED : Spoilers and Script

For those who wondering, is this the same as ForeverZer0's Localization from  : http://forum.chaos-project.com/index.php/topic,12164.0.html,
No, we are using different method to get the text from the file. Also, mine has that text error finding feature and has automatic line splitting for text exceeding message window's width. I thought his script was very useful for my project, I was about to use it, but still, it doesn't have the features I wanted so I create one myself.  :)

Don't forget to change system locale into corresponding language for displaying non-standard characters such as japanese and chinese. Example, if you want to display chinese characters, set your computer system locale into chinese. For the rest of the language that using alphabets, you don't have to change anything.
18
For second hand graphics around your budget, consider buying Nvidia GTX560Ti or AMD HD6870/HD6950. I own 6870 and satisfied with its multi-monitor performance. Multi monitor setting in those cards are easy, no need to buy additional device (as long as one of your monitor support DP/HDMI. If not, you have to buy an active DP->DVI/VGA adapter which should be around $10, only 1 is required). The setup later will be : 2 DVI from your card goes to 2 monitor DVI. Then, one DP from your card to DP->DVI adapter goes to your 3rd monitor DVI. That was my current setup.
19
Wacom tablets are just overpriced. Beginner artist with tight budget should consider genius tablets. For more serious graphic, Intuos are the best though expensive. For those who want drawing on-the-screen, forget Cintiq, buy YIYNOVA brand tablets. I bought Yiynova 10HD at $400 and SATISFIED with the result. It has higher specification than the $1000 Wacom Cintiq 12. Higher color and resolution. But has useless shortcut key and yiynova use glass protector which means it has more pen distance with the drawing pad (higher parallax).
20
There are 2 choices :
1. AMD HD7870
2. Nvidia GTX660Ti
Both around $300. Which one to decide ? here is list of advantages each card has :
1. AMD : Better scaling for GPU(CrossFire) and Monitor (Eyefinity). Great overclocked performance.
2. Nvidia : Has PhysX and 3D (For some games which you require its feature, this will be an advantages)

Why I recommend you $300 card ? because if you're running games on triple monitor, the game will lag a lot because basically, consider that you usually run games on 1440x900, now you have to run 5320x900. True, games nowadays are stagnant in term of resources usage, as most of them are Xbox/PS3 ports. But for some game dedicated for PC games such as Metro 2033, you'll need a better card like above for running properly in triple monitor.

But if you're in a tight budget, go for AMD 7770 ($120-$150), the best card for its price range. No Nvidia. AMD 7770 should handle skyrim in triple monitor well (not highest details of course). Like I said, AMD has better multi monitor scaling(AMD Ayefinity), so games in multi monitor will run better than those run in Nvidia's multi monitor (Nvidia SurroundView)

If you want to buy AMD cards, buy Saphhire with "GHz" edition on the label. Those have great overclocking potential. And has 2 years of warranty too (in my local store)