As an Amazon associate we earn from qualifying purchases. Thanks for your support!                               
×

Best Blu-ray Movie Deals


Best Blu-ray Movie Deals, See All the Deals »
Top deals | New deals  
 All countries United States United Kingdom Canada Germany France Spain Italy Australia Netherlands Japan Mexico
The Sound of Music 4K (Blu-ray)
$37.99
2 hrs ago
Creepshow 2 4K (Blu-ray)
$32.99
2 hrs ago
Outland 4K (Blu-ray)
$38.02
4 hrs ago
Spawn 4K (Blu-ray)
$31.99
13 hrs ago
Peanuts: Ultimate TV Specials Collection (Blu-ray)
$72.99
12 hrs ago
Silverado 4K (Blu-ray)
$36.99
6 hrs ago
Re-Animator 4K (Blu-ray)
$38.02
8 hrs ago
Back to the Future 4K (Blu-ray)
$33.99
13 hrs ago
A Nightmare on Elm Street Collection 4K (Blu-ray)
$96.99
12 hrs ago
Red Planet 4K (Blu-ray)
$38.02
14 hrs ago
Dan Curtis' Late-Night Mysteries (Blu-ray)
$20.99
8 hrs ago
Shudder: A Decade of Fearless Horror (Blu-ray)
$80.68
6 hrs ago
What's your next favorite movie?
Join our movie community to find out


Image from: Life of Pi (2012)

Go Back   Blu-ray Forum > Entertainment > General Chat
Register FAQ Community Calendar Today's Posts Search


Reply
 
Thread Tools Display Modes
Old 10-12-2009, 09:03 PM   #1
dk3dknight dk3dknight is offline
Blu-ray Ninja
 
dk3dknight's Avatar
 
May 2007
Arlington, Texas PSNetwork: dk3dknight PostCount: 0001
44
2
Send a message via MSN to dk3dknight Send a message via Yahoo to dk3dknight
Default Rpg Battler - The pdf game


Download Link: Here

This is a little project I put together ive spent some time on it, above is a screen shot of the incomplete version 0.0.1.5

Its a simple RPG battle using a pdf document and form calc, I hope yall enjoy it. The 4 buttons at the top will switch the scene to one of the other 3d generated scene.

New Features:
-Persistent Hero
Your character becomes more powerful for
every match he/she/it wins.

-Persistent Enemies
The enemy becomes more powerful as you
win, and also becomes weaker as you lose
matches.

-4 Different Backdrops.

Notes:
Magic has not yet been implemented
Special Attacks had to be removed for this build while I work out better scripting of them.
The game counts off how many times you win and lose
This reflects more on a Japanese Style rpg battle.

Enjoy.

This is a free project you are free to make changes and republish, enjoy the content how every want, but you must not use this in a way to make or generate revenue for yourself. Thats all I ask.

In the following posts ill explain the code used for the attack commands.

Im always welcome to suggestions to make this little pdf game more enjoyable to the community and others.
  Reply With Quote
Old 10-12-2009, 09:04 PM   #2
dk3dknight dk3dknight is offline
Blu-ray Ninja
 
dk3dknight's Avatar
 
May 2007
Arlington, Texas PSNetwork: dk3dknight PostCount: 0001
44
2
Send a message via MSN to dk3dknight Send a message via Yahoo to dk3dknight
Default Overview of the attack code

Here is a overview of the attack code.

Code:
if (DropDownList1 == "Do nothing")
then HP=HP-Right(Date()+Time()+1.5*Level, 3)
1. What you see HP in this it refers to the your players health, when you see EHP that refers to that refers to enemy health. What we have here is if your action is to do nothing, then the player takes the following damage. Which is the following variables Date(which equals days since jan 1, 1900) + Time (miliseconds since midnight) + 1.5 * Level (The current level of the character), and then take the last 3 digits of that calculation and that is how much damage is delt to the player.

Code:
elseif (DropDownList1 == "Attack")
then HP=HP-Right(Date()+Time(),2)+1.5*Level
EHP=EHP-Right(Date()+Time(), 2)+1.5*Level
2. What you see here is if you select attack the following things happen.
Your HP reduces by your HP - the last two digits of Date + Time, and then we add 1.5 x your current level. This means your damage taken and given is leveled...
Your enemy's health losss is the same code but because its executed afterwards the damage is either less or more then you dealt to the enemy.

Code:
elseif (DropDownList1 == "Defend")
then HP=HP-Right(Date()+Time(), 1)
3. This command when I get magic working in one form or another will charge your mana, you will take only a single digit of damage which isn't half bad.
Your Hp = Your HP - the last digit to the right in the equation Date + Time, which as you can imagine is one hella a damage reduction.

Code:
elseif (DropDownList1 == "Critical")
then HP=HP-Right(Date()+Time(), 3)+20*(Level/2)
EHP=EHP-Left(Date()+Time(),3)+20*(Level/2)
4. Take note in the critical calculation damage done to you is calculated against you before your damage delt is calculated. This equation is Your HP equals Your HP - last 3 digits on the right of the equation of Date + Time then this number is taken and added to 20 * your Level divided by 2.
The other half is the same except it takes the first 3 numbers starting on the left instead of right, what does this mean well a very very different number.

Code:
elseif (DropDownList1 == "Drink Potion")
then HP=0+Level xfa.host.messageBox("Potion Was Poison",1,1)
5. This command Auto kills the player.. sorta mean joke by me.

By now you probablay are familar with what the code means so im just going to seperate the commands out without the commentary, if you have a question on what it does please feel free to ask me.

Code:
elseif (DropDownList1 == "Slap")
then HP=HP-Right(Date()+Time(),2)+2.5*Level
EHP=EHP-Right(Date()+Time(), 2)+5.5*Level
Code:
elseif (DropDownList1 == "Dual Weild")
then HP=HP-Right(Date()+Time(),2)+5.5*Level
EHP=EHP-Right(Date()+Time(), 2)+10.5*Level
Code:
elseif (DropDownList1 == "Human Sheild")
then HP=HP-Right(Date()+Time(), 1)
EHP=EHP-Right(Date()+Time(),1)
Code:
elseif (DropDownList1 == "Slam")
then HP=HP-Right(Date()+Time(), 4)+40*(Level/2.5)
EHP=EHP-Left(Date()+Time(),4)+80*(Level/1.5)
Code:
elseif (DropDownList1 == "Quad Damage")
then HP=HP-Right(Date()+Time(), 5)+80*(Level/1.5)
EHP=EHP-Left(Date()+Time(),5)+160*(Level/1)
Code:
elseif (DropDownList1 == "Enternal Blade")
then HP=HP/150000
EHP=EHP/150000
Code:
elseif (DropDownList1 == "Infinity Blade")
then HP=HP-5000
EHP=EHP-Left(Date()+Time(),10)+5000*(Level/1)
Code:
endif
The endif serves to end the statement.
  Reply With Quote
Old 10-13-2009, 01:33 PM   #3
dk3dknight dk3dknight is offline
Blu-ray Ninja
 
dk3dknight's Avatar
 
May 2007
Arlington, Texas PSNetwork: dk3dknight PostCount: 0001
44
2
Send a message via MSN to dk3dknight Send a message via Yahoo to dk3dknight
Default

I sorta expected a deeper response.. of the silent viewers, I do not bite, tell me what ya think?
  Reply With Quote
Old 10-13-2009, 01:40 PM   #4
mikejet mikejet is offline
Banned
 
mikejet's Avatar
 
Sep 2008
Los Angeles, CA
5
29
Default

I'll d/l it when I get home from work. Looks interesting.
  Reply With Quote
Old 10-13-2009, 08:27 PM   #5
dk3dknight dk3dknight is offline
Blu-ray Ninja
 
dk3dknight's Avatar
 
May 2007
Arlington, Texas PSNetwork: dk3dknight PostCount: 0001
44
2
Send a message via MSN to dk3dknight Send a message via Yahoo to dk3dknight
Default

Quote:
Originally Posted by mikejet View Post
I'll d/l it when I get home from work. Looks interesting.
Thanks mikejet, I was starting to think no one was going to reply.
  Reply With Quote
Old 10-13-2009, 08:30 PM   #6
mikejet mikejet is offline
Banned
 
mikejet's Avatar
 
Sep 2008
Los Angeles, CA
5
29
Default

Quote:
Originally Posted by dk3dknight View Post
Thanks mikejet, I was starting to think no one was going to reply.
It's an interesting project. What are you coding it in?
  Reply With Quote
Old 10-13-2009, 08:44 PM   #7
dk3dknight dk3dknight is offline
Blu-ray Ninja
 
dk3dknight's Avatar
 
May 2007
Arlington, Texas PSNetwork: dk3dknight PostCount: 0001
44
2
Send a message via MSN to dk3dknight Send a message via Yahoo to dk3dknight
Default

Quote:
Originally Posted by mikejet View Post
It's an interesting project. What are you coding it in?
Form Calc pure pure form calc in Adobe Livecycle Designer which comes free with adobe acrobat pro, it makes interactive pdfs, it handles formcalc and javascript.

the backdrops were created in bryce and photoshop, I photoshoped the characters into the backdrop.

There are 4 backdrops.. for now I might add more later.
  Reply With Quote
Old 10-13-2009, 09:00 PM   #8
mikejet mikejet is offline
Banned
 
mikejet's Avatar
 
Sep 2008
Los Angeles, CA
5
29
Default

That's awesome. My wife just bought CS4...might have to check this out more.
  Reply With Quote
Old 10-13-2009, 09:19 PM   #9
dk3dknight dk3dknight is offline
Blu-ray Ninja
 
dk3dknight's Avatar
 
May 2007
Arlington, Texas PSNetwork: dk3dknight PostCount: 0001
44
2
Send a message via MSN to dk3dknight Send a message via Yahoo to dk3dknight
Default

Quote:
Originally Posted by mikejet View Post
That's awesome. My wife just bought CS4...might have to check this out more.
Ah well just to let you know once you install Acrobat Pro you already have livecycle its preinstalled alongside it.
  Reply With Quote
Reply
Go Back   Blu-ray Forum > Entertainment > General Chat

Similar Threads
thread Forum Thread Starter Replies Last Post
Adobe Acrobat: Pdf Blu-ray Technology and Future Technology secret 15 05-03-2008 06:03 AM
HELP! i cant read pdf files online, critical!! General Chat Erman_94 3 04-13-2008 11:59 PM
HD-DVD Glossy Brochure (pdf) General Chat stringent 7 11-08-2007 01:36 PM
Interesting Samsung PDF about the new DF player. Blu-ray Technology and Future Technology blubyyou 6 09-07-2007 01:18 AM
Philips Blu-Ray info [PDF] Blu-ray Technology and Future Technology Dave 2 09-06-2006 05:20 PM



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:13 PM.