Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI Z80 => Topic started by: Builderboy on October 27, 2010, 02:00:59 pm

Title: Ingenuity
Post by: Builderboy on October 27, 2010, 02:00:59 pm
So my new game which i am going to be working on for my Cage Match is called Ingenuity.  It is going to be a text based kind of battle game where you are put into a tournament situation and must rise to the top to beat the game.  You are given a certain number of normal items in the beginning to do battle with such as baseball bats, chains, and other things.  You can have as many items in your inventory as you want, but you can only bring three into battle.  Your opponent (computer controlled) also has 3 items and you two must do battle using the attributes and advantages of your weapons to get through your opponents weak spots.  As you beat enemies and rise in the game, you find new items and add into your inventory.

The reason this game is called Ingenuity is because of the special ability that sets this game apart.  Any two (or sometimes more) items can be combined and their attributes are melded.  If you combine the sledgehammer and the axe,  you will get more cutting power because your axe now has the power of a sledgehammer, but it also gets pretty heavy which might make you less accurate.  Maybe you put gasoline onto your knife and light it with your lighter and now you can stab someone and set them on fire at the same time.  The possibilities are endless!  And the more items you get, the more combinations you can make. 

I already have the Basic Item Mixing algorithm set, as well as a way to specify the attributes of an Item.  Progress should be fairly steady :)
Title: Re: Ingenuity
Post by: ztrumpet on October 27, 2010, 04:58:14 pm
Awesome!  This sounds really cool.  I can't wait. ;D
Title: Re: Ingenuity
Post by: squidgetx on October 27, 2010, 04:59:41 pm
ooooooh sounds...ingenious. I wonder how big the database would have to be...sort of reminds me of the concept of Scribblenauts. How many different weapons/items do you think you're going to have?
Title: Re: Ingenuity
Post by: yunhua98 on October 27, 2010, 04:59:48 pm
that sounds cool!

these Cage Matches are really creating some interesting games!  Nice job Raylin!  ;)
Title: Re: Ingenuity
Post by: Builderboy on October 27, 2010, 05:08:39 pm
Currently i have 20 items coded, but some are effects and cannot be combined with each other without using an item to combine on.  Like you can't combine gasoline and a lighter just by themselves because thats just fire :P But if you put the gasoline on an Axe and then light it with the lighter then you have a flaming Axe :D Note that you cant just light the Axe on fire first, you need to first use the gasoline to make it flammable.

Also if you have a flaming weapon, the hotter its burring the higher chance you have of hurting yourself as well :P this also applies to cold things as well.  Also objects can break depending on how strong they are, like a baseball bat itself would break after a bit, but if you use Duct Tape on it, it will last longer :) Or if you combine it with a stronger item like an Axe or Chain ect...
Title: Re: Ingenuity
Post by: DJ Omnimaga on October 27, 2010, 10:58:53 pm
Nice :D

By the way by text-based do you mean there will only be menus and the like? Or do you mean ASCII?
Title: Re: Ingenuity
Post by: Builderboy on October 27, 2010, 11:11:12 pm
There will most likely be only menu's for the building of your weapons, there might be dynamic display of weapons but that would be crazy hard to do since there are already over 5000 different weapons possible.  For the battles i will probably have small basic animations for the basic attacks you can do with your objects, but the objects themselves will not accurately represent the look of the object.  And there will be animations for effects and stuff, if you set your opponent on fire there should be a fire animation, if you stab him its a stabbing animation ect...

And these are some of the weapons i have experimented with so far and what they do:
Sledgehammer + Axe: Weight of a sledgehammer but the sharpness of an Axe :D
Ice + slingshot: A cold projectile that really doesn't do much damage :P
Knife + Gasoline + Lighter + Crossbow: A crossbow that shoots flaming knives!  Extremely deadly   8)
Bowling Ball + Chain + Razors: Kind of like a mace.  Heavy and deadly but inaccurate  ;D

Title: Re: Ingenuity
Post by: Michael_Lee on October 27, 2010, 11:14:14 pm
So will every single combination create a weapon that is better then the previous items, or is it possible to combine weapons that actually lead to a worse one?  (Like slingshot + ice + lighter = burnt slingshot (has a tendency to fall apart! lol))
Title: Re: Ingenuity
Post by: DJ Omnimaga on October 27, 2010, 11:15:53 pm
Ah ok I see. Hopefully you can make it complete enough to be fun. Text games are not very popular because people got sick to death of seeing them flooding ticalc.org archives making it harder to find games with actual graphics, so it's best that text games are made as good as possible to stand out from the others.

I like the ideas so far by the way. :)
Title: Re: Ingenuity
Post by: Builderboy on October 27, 2010, 11:21:35 pm
So will every single combination create a weapon that is better then the previous items, or is it possible to combine weapons that actually lead to a worse one?  (Like slingshot + ice + lighter = burnt slingshot (has a tendency to fall apart! lol))

Its actually possible to have a bad combination yes, like if you light ice on fire ;D and objects do have a strength variable so if they are burnt their strength will go down corresponding to how long and hard the burn is.  Or if you attach two very heavy items it will be too heavy to move and your accuracy will plummet mos likely to zero :P Also note that objects that are very very on fire can burn you if you hold them for too long :P
Title: Re: Ingenuity
Post by: Michael_Lee on October 27, 2010, 11:25:19 pm
Sweet.  This is going to be EPIC.
So in some cases, there'll be a penalty on using one weapon for too long, especially if it's been buffed up by being set on fire?
Title: Re: Ingenuity
Post by: DJ Omnimaga on October 27, 2010, 11:30:42 pm
Sword breaking could maybe also happen after a while, like in Zelda: Ocarina of Time with one of the swords.
Title: Re: Ingenuity
Post by: Builderboy on October 27, 2010, 11:44:57 pm
Its more like it just breaks after a certain amount of time :P combining items in general makes them weaker, but adding duct tape or welding can make them stronger for a bit.  So pretty much everything breaks at some point or another unless you just keep welding it or adding more duct tape.  You just need to make sure you don't break all your weapons in the middle of the tournament or else you wont be able to combine anything and have to default to just using items normally for a bit until you find a few more (and yes you can use them without combining them :P) You win an item after every battle so that means you can afford to break a weapon every 2 battles to keep up an inventory of simple weapons.
Title: Re: Ingenuity
Post by: nemo on October 28, 2010, 05:09:40 pm
will you be able to view your current statistics? like accuracy, weight of weapon, chance of being burnt/frozen by your own weapon, etc?
Title: Re: Ingenuity
Post by: Raylin on October 28, 2010, 05:10:32 pm
Will it be completely text based? Like "Player attacks!" "You see a room to the north." kind of thing?
Title: Re: Ingenuity
Post by: DJ Omnimaga on October 28, 2010, 05:15:41 pm
Yeah from what I read so far it will. I kind of hope for a few graphics like some ASCII magic animations, though, since unfortunately I'M not really a big fan of text-only games. :( Illusiat 13 uses a technique to keep the program for the 54 different magic spells as small as possible (1500 bytes)
Title: Re: Ingenuity
Post by: Raylin on October 28, 2010, 05:16:22 pm
DJ, PM me the technique? What was it? Text compression?
Title: Re: Ingenuity
Post by: DJ Omnimaga on October 28, 2010, 05:23:20 pm
Nah not compression, I just re-used the exact same code for several magic animations. I'll cemetechize the code then PM you, in case it's disallowed by the contest rules to provide code for entries.
Title: Re: Ingenuity
Post by: ztrumpet on October 28, 2010, 05:30:21 pm
Knife + Gasoline + Lighter + Crossbow: A crossbow that shoots flaming knives!  Extremely deadly   8)
* ZTrumpet laughs maniacally ^-^

Wow, this sounds really complex.  I wish you a ton of luck in coding it! ;D

Nah not compression, I just re-used the exact same code for several magic animations. I'll cemetechize the code then PM you, in case it's disallowed by the contest rules to provide code for entries.
Um, isn't the code in prgmI13A, which is included with Illusiat 13 in the download section? ???
Title: Re: Ingenuity
Post by: DJ Omnimaga on October 28, 2010, 05:34:19 pm
Yeah but in case he wanted to quickly look at the code I decided to PM him. Sadly the code doesn't show up right in SouceCoder, though (well, it does, but SourceCoder formats it a bit differently, so it might be a bit hard to read)

I am sure there could be better ways but there's still the fact it's 54 magic spells packed into this program, when most ROL spells take between 150 and 500 bytes each.
Title: Re: Ingenuity
Post by: MRide on October 28, 2010, 06:23:51 pm
Yeah from what I read so far it will. I kind of hope for a few graphics like some ASCII magic animations, though, since unfortunately I'M not really a big fan of text-only games. :( Illusiat 13 uses a technique to keep the program for the 54 different magic spells as small as possible (1500 bytes)
Yeah. same.  It depends on how well The Game is done, though, and this game looks great.
Title: Re: Ingenuity
Post by: Builderboy on October 28, 2010, 07:05:44 pm
Will it be completely text based? Like "Player attacks!" "You see a room to the north." kind of thing?
The interaction with Items is completely Text based (since there really is no other way to interact with that many Items and possibilities other than text) but the battles will have primitive graphics and animations that change based on what type of weapon you use.  And there is no world exploration, merely a tournament style setting where you need to defeat enemy after enemy, getting new items and building new weapons as you go.  Whenever you defeat an enemy you are able to take one of his equipped weapons, and if you lose he takes one of yours.

will you be able to view your current statistics? like accuracy, weight of weapon, chance of being burnt/frozen by your own weapon, etc?
For every single item you have you will be able to view these statistics:

Weight:
Size:
Temperature:
Flammability:
Sharpness:
Strength:
Agility:


Yeah from what I read so far it will. I kind of hope for a few graphics like some ASCII magic animations, though, since unfortunately I'M not really a big fan of text-only games. :( Illusiat 13 uses a technique to keep the program for the 54 different magic spells as small as possible (1500 bytes)

Yep don't worry the battle animations should hopefully be cool :) And yeah i too am using a dynamic system to display animations, so that even the same type of attack (thrust for example) will look and behave differently for different weapons.  Currently i have 3 attacks coded: Swing, Thrust, and Throw.  Im brainstorming more attack types for melee weapons (since thats what all of them basically are).
Title: Re: Ingenuity
Post by: shmibs on October 28, 2010, 07:25:04 pm
maybe a world could be added after the match? this doesn't sound like it would be very high on your list of programs to fix up afterwards, what with all you're doing already, though...

so far, though, it's sounding AWESOME! good luck!
oh, and item breakage is a great idea. the problem with games like scribblenauts is that some items are just better than others, and (after playing around a bit and finding out what all you can make, that is) a player might settle into a boring pattern of using the same things over and over. breaking, however, would force them to make win out of whatever is at hand.

EDIT:\/\/aww... it hatched into a cute little shit dragon...
Title: Re: Ingenuity
Post by: Raylin on October 28, 2010, 07:33:43 pm
OMG.
SUMMON NIGHT: SWORDCRAFT STORY FTW.

http://www.youtube.com/watch?v=u6zJj4xKTO0 (http://www.youtube.com/watch?v=u6zJj4xKTO0)
Title: Re: Ingenuity
Post by: Madskillz on October 28, 2010, 08:25:46 pm
This sounds like a cool idea for a calc game. I like how you seem to be taking the whole idea of putting different weapons/things together to form something new and stretching it to something even more in depth.

Oh and shmibs your edit made me crack up.
Title: Re: Ingenuity
Post by: ztrumpet on October 28, 2010, 08:27:39 pm
Oh and shmibs your edit made me crack up.
Me too.  Every single time I read it. :P
Title: Re: Ingenuity
Post by: DJ Omnimaga on October 28, 2010, 10:13:39 pm
Lol at shmibs edit XD
Title: Re: Ingenuity
Post by: Builderboy on November 10, 2010, 05:05:15 pm
So update on this specific game... it might never be finished for technical and gameplay reasons, it just isn't working out.  The amount of data i have to sort and sift through ingame is huge, i have to jump through hoops just so that you don't get loading screens every menu.  And that is ignoring the issue of saving, which would have to be either 2 min of loading or it uses a couple of you String variables and Lists :( And thats not even counting the issues i am having with gameplay...

Im gonna release the source for people to play with, and i'm leaving it open, but i dont see any way i can finish this...

(on a side note, i had started a separate entry to the cage match a couple days, and it is already complete and finished)
Title: Re: Ingenuity
Post by: MRide on November 10, 2010, 05:09:25 pm
Aw, I wanted to see this finished.  Ah, well, at least you got your entry complete.
Title: Re: Ingenuity
Post by: Builderboy on November 10, 2010, 05:13:32 pm
Note that there is a lot that *is* finished.  For instance you can combine items correctly, you can decombine them, you can even kinda go into battle with them, but the overall game framework is missing
Title: Re: Ingenuity
Post by: ztrumpet on November 10, 2010, 06:10:37 pm
That's too bad, but I understand what happens with some projects. :-\
I can't wait to see the new entry! ;D
Title: Re: Ingenuity
Post by: TIfanx1999 on November 10, 2010, 06:14:38 pm
This sounds cool, a shame it wont' be developed further. I will be looking forward to poking around with the source later though. =)
Title: Re: Ingenuity
Post by: meishe91 on November 10, 2010, 07:13:59 pm
Aw, I'm sorry this wasn't able to be finished :( Maybe one of us can help with this in the future though :)
Title: Re: Ingenuity
Post by: DJ Omnimaga on November 11, 2010, 01:40:34 am
Sorry to hear Builderboy. I'm glad this is getting released still, though, and that you got an idea for a new entry. :)
Title: Re: Ingenuity
Post by: Builderboy on November 17, 2010, 08:10:18 pm
Alright here is the source ^^ AAAMAIN is the start of the program, run it to combine items and stuffs.  As of now i can't figure out how i got FIGHT to work, but its the battle engine kinda halfway finished.
Title: Re: Ingenuity
Post by: DJ Omnimaga on November 18, 2010, 09:08:33 pm
The file is 0.02 KB large and is empty ???
Title: Re: Ingenuity
Post by: Builderboy on November 19, 2010, 06:22:48 am
Argg, it seems it doesn't like group files or something.  I reuploaded it, it should work now
Title: Re: Ingenuity
Post by: DJ Omnimaga on November 19, 2010, 09:48:23 am
Ok, I'll try if I have some time. :)