inventory/shop/a-life

Game Editor comments and discussion.

Re: inventory/shop/a-life

Postby speckford123 » Thu Nov 29, 2007 10:55 pm

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
speckford123
 
Posts: 334
Joined: Fri May 05, 2006 6:33 pm
Score: 49 Give a positive score

Re: inventory/shop/a-life

Postby Bannock » Sat Dec 01, 2007 2:04 am

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.
User avatar
Bannock
 
Posts: 20
Joined: Tue Sep 11, 2007 7:59 am
Score: 2 Give a positive score

Re: inventory/shop/a-life

Postby j2graves » Sat Dec 01, 2007 12:58 pm

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.
No games to my name...
User avatar
j2graves
 
Posts: 1302
Joined: Thu Aug 16, 2007 6:42 pm
Location: on the other side of infinity
Score: 19 Give a positive score

Re: inventory/shop/a-life

Postby Kalladdolf » Sat Dec 01, 2007 3:17 pm

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?
User avatar
Kalladdolf
 
Posts: 2427
Joined: Sat Sep 08, 2007 8:22 am
Location: Germany
Score: 120 Give a positive score

Re: inventory/shop/a-life

Postby Kalladdolf » Mon Dec 03, 2007 6:14 pm

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
User avatar
Kalladdolf
 
Posts: 2427
Joined: Sat Sep 08, 2007 8:22 am
Location: Germany
Score: 120 Give a positive score

Re: inventory/shop/a-life

Postby sillydraco » Mon Jul 13, 2009 6:43 am

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.
Time for sleepy, dream of new things...new life, new reality, new wings.
Image
User avatar
sillydraco
 
Posts: 71
Joined: Fri Apr 03, 2009 7:54 am
Score: 3 Give a positive score

Previous

Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest

cron