Castle Paradox Forum Index Castle Paradox

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Gamelist   Review List   Song List   All Journals   Site Stats   Search Gamelist   IRC Chat Room

About making hero and enemy health, for a zelda style game

 
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP!
View previous topic :: View next topic  
Author Message
CloudX




Joined: 08 Jan 2004
Posts: 25

PostPosted: Tue Mar 23, 2004 11:48 am    Post subject: About making hero and enemy health, for a zelda style game Reply with quote

Im thinking about making a game, but i need a way to make enemy and hero health outside of battle. And a way to make attacks that do diffrent
amounts of damage. Kinda like a fireball that goes across the screen till
it hits an npc enemy or a bomb that does a 3x3 field like 2 squares in front of you, that kind of stuff. Any help would be much appreciated.
Back to top
View user's profile Send private message
jabbercat
Composer




Joined: 04 Sep 2003
Posts: 823
Location: Oxford

PostPosted: Tue Mar 23, 2004 12:13 pm    Post subject: Reply with quote

use global variables for herohp and variables for enemys hp. For attacks, you could ge the script to check for a tag that you activate when you equipt a weapon and then have it activate an autonumber script with the effect you want.
Back to top
View user's profile Send private message MSN Messenger
RedMaverickZero
Three pointed, red disaster!
Halloween 2006 Creativity Winner
Halloween 2006 Creativity Winner



Joined: 12 Jul 2003
Posts: 1459

PostPosted: Tue Mar 23, 2004 1:24 pm    Post subject: Reply with quote

Worthy, BenJi, and myself did a game exactly like this for the 528 Hour contest. Although the scripts aren't included, Worthy probally does remember a thing or three about it. SO IF WORTHY READS THIS XD HE WILL HELP! Haha. Worthy did all the battle code, but no special attacks, just an ax swing that kills an enemy. Although he made enemies do different amounts of damage.

(PLUG) If you want to see this stuff in action play our example, Smokey McGoo's Grand Adventure!!
_________________
---------------Projects----
Mr.Triangle's Maze: 70%
Takoyaki Surprise: 70%
Back to top
View user's profile Send private message Send e-mail AIM Address
*Worthy*
Critical Thinker




Joined: 11 Aug 2003
Posts: 186

PostPosted: Tue Mar 23, 2004 2:44 pm    Post subject: Reply with quote

Whenever you have any specific questions regarding how to do something (like a fireball attack or something), IM/PM me and I'll help you out. My AIM name is Worthy10188.

~Worthy
_________________
You can do whatever you want...but prison is full of people who make bad decisions.
Back to top
View user's profile Send private message Send e-mail AIM Address
Display posts from previous:   
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP! All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group