Page 3 of 3

Re: inventory/shop/a-life

PostPosted: Thu Nov 29, 2007 10:55 pm
by speckford123
a-life, well i dont know much and dont care for points but ill try. well if you want your life to follow you you could say something like(in draw actor script)
if(player.x>x+100) x=x+5; //what this will do is when your 100 squares away hell start moving toward you.
as for feeding, etc. you could set it up when you right-click( or left doesnt matter, could be a button press) it opensa menu for the life. this menu could be anywhere on the screen. this could be used to feed and command the life. as for training, well i would use variables such as lifestrength, hp or maxhp.
when you win a match you could have a feature for level ups or just have something like lifestrength=lifestrength+1; etc.

i hope that sortof helped. if not make a post of more specific things you want for the life

Re: inventory/shop/a-life

PostPosted: Sat Dec 01, 2007 2:04 am
by Bannock
I'm only starting here, but what I'd do for the creatures special abilities (in your example, fire breathing), is have certain commands in a menu (or presses of a button, depending on what sort of game your making) be assigned with a few lines of IF scripting.

So fire breathing for pressing down the F key would look something like:

Code: Select all
if(CreatureLevel > 4)
{ChangeAnimation("Creature", "BreatheFire", FORWARD);}

And add script after that for creating an Actor for the fire.

Re: inventory/shop/a-life

PostPosted: Sat Dec 01, 2007 12:58 pm
by j2graves
I have more than one type of a-life that I want to make, but the best way to describe this one is like chao only a LOT more interesting. for one thing, there will be levels that only the a-life animal can access!



I wrote:Yeah but...........................


but when I tried to open your demo kalladdolf, it said that I needed to update my GE.

Re: inventory/shop/a-life

PostPosted: Sat Dec 01, 2007 3:17 pm
by Kalladdolf
then update it.
or download a new demo to have a look at it.

or did you see my demo now?
i could export it so u know what it looks like?

Re: inventory/shop/a-life

PostPosted: Mon Dec 03, 2007 6:14 pm
by Kalladdolf
ok, here's an exported exe to give u some impression of what it's like.

Rules:
You teach UFO how to fight.
The game will end when it's completely trained.
You'll find a little target moving around in the mittle.
Before u can make UFO shoot, feed it.
When it hits the taret you can give the UFO 1 cookie.
Then it will become more powerful.
Important: only award UFO when the number at the top-left
corner says 1. Otherwise you'll make UFO weaker again.
WARNING: Don't let it starve!!!


A-life_exe.zip
(768.22 KiB) Downloaded 114 times

Re: inventory/shop/a-life

PostPosted: Mon Jul 13, 2009 6:43 am
by sillydraco
havent quite thought it out much, but i bet if you had a variable (lives) go down one each time you die, then have the game "save" after you die. then when you respawn, you can have the game load the saved game, which already has one less life.