Yeah, I've got most of the stuff I was talking about yesterday in place, except fixing that one minor bug in the Journal. Sound is in, thanks to Soundsnap and pdsounds, offering free sound samples to use, and OpenAL providing the library!
Anyway, about the sound system:
And, regarding Journal:
Here's the build: adv2_20080425_1.zip
Here's the required Sound Pack, which I'm not going to update as often since it's big: sound_20080425_1.zip
Here's the OpenAL Driver pack if you don't already have a game that installed it for you already: oalinst.ex
Anyway, about the sound system:
- I scrapped the part with the list of samples- now it just registers by filename in the various places it's called
- It keeps any buffer it creates, unless it is cleared (which it does upon entering a new area, and such). it basically acts as a caching system.
- It uses the first sound source (of which there is a limited number.. 20) it can find that's useful. If it can't find anything it fails
- BG is a special source, although it counts towards the 20. If you try to play a new background music it'll stop the old one first.
- I still need to add a timing feature for sound so that they can be properly timed (like special effects)
- monsters and items can have their own 'hit' sounds.
- Skills can have sounds, played at any part as part of the command list
- Area scripting also allows the music to change and for sounds to play (and looping sound samples is also supported here, as well as stopping all sound)
- I don't have the code to play sounds in the subscreen done yet (such as when using healing items)
- the title screen music, miss sound effect, and victory theme are all coded in defines for now, since they're system-wide and not dependant on anything in the content.
And, regarding Journal:
- It loads a big string, splits it by line, figures out wrapping and allows scrolling using the keyboard (although that's not all properly done yet)
- There's a file to define which ones are available, and it uses it's position in the file to determine the order
- The code to 'award' things such as when talking to someone or getting journal pages is not yet in place
Here's the build: adv2_20080425_1.zip
Here's the required Sound Pack, which I'm not going to update as often since it's big: sound_20080425_1.zip
Here's the OpenAL Driver pack if you don't already have a game that installed it for you already: oalinst.ex
I haven't posted a new build in a while, but unlike the other times that doesn't mean i haven't been working on it. I've been working on a few sub-systems which aren't yet ready to show:
- The Journal screen.
I had to find a wrap-supporting code snippet that I could modify into a "scrolling text" thing, which I've largely done. It still has some problems with eating the character immediately after a carriage return, but that should be relatively easy to fix. - Sound support using OpenAL
This is a big thing, since it ties into everything.. I'm still getting my head around the way the "buffers" and "sources" work. I've got it playing some test sounds, but I haven't finished building the Manager which will:- Load a text file containing all the relevant samples
- Load them into a buffer when they're called, using the loading code I already have (which supports pack files)
- Put them into one of X sources when they need to be played
- Remove them from the source when playing is complete, so I can 'juggle' the limited number of sources I have.
What? It's been months upon months, but I've actually gotten some progress done on the game. Isn't that ridiculous?
( Yes, it is.. )
At Capcom's Online Store (http://shop.capcom.com/store/capcomus/D isplayStoreHomePage) they had a deal - pre-order the new Phoenix Wright game and get a free plush Phoenix. I ordered two, one for me and one for my friend.
The game's release date came and went, nothing. Unable to find a phone number for support, I contacted their support page.
After sending a couple of emails without a response, I received a message (sent to everyone who had pre-ordered I assume) saying they were sorry, and here was some compensation.
Unfortunately the compensation was useless - it was a 5% coupon code, only usable in November. Why would I order something from them when I still had no way of knowing I would receive the first thing?
Anyway, they promised it would ship "early november". Mid november hit, and I sent another email, with no response. I sent another one, and they just told me, sorry it's backordered. I sent another email asking if there was a reason it was backordered and when I could expect it. Then, insultingly, I received THE SAME form letter telling me it was backordered. The original email they sent was still visible in the reply quote text, but they sent it to me again.
I then sent another email complaining about my email not being read. And got no response. I sent another, and four days later received an email saying that the game shipped.
I said, okay, finally.
I received it last week, but there were no plush toys. Furious, I sent another email outlining how I've been wronged every step in the process and I demand compensation. I sent another, and another. I finally got a response- and it just said, be patient, the game shipped. WELL YES. It shipped. I have it, but the order was NOT COMPLETE.
I caution everyone never to shop at the Capcom Online Store, or any Digital River run store again - and I caution Capcom to find a provider that can actually provide the service they promise.
The game's release date came and went, nothing. Unable to find a phone number for support, I contacted their support page.
After sending a couple of emails without a response, I received a message (sent to everyone who had pre-ordered I assume) saying they were sorry, and here was some compensation.
Unfortunately the compensation was useless - it was a 5% coupon code, only usable in November. Why would I order something from them when I still had no way of knowing I would receive the first thing?
Anyway, they promised it would ship "early november". Mid november hit, and I sent another email, with no response. I sent another one, and they just told me, sorry it's backordered. I sent another email asking if there was a reason it was backordered and when I could expect it. Then, insultingly, I received THE SAME form letter telling me it was backordered. The original email they sent was still visible in the reply quote text, but they sent it to me again.
I then sent another email complaining about my email not being read. And got no response. I sent another, and four days later received an email saying that the game shipped.
I said, okay, finally.
I received it last week, but there were no plush toys. Furious, I sent another email outlining how I've been wronged every step in the process and I demand compensation. I sent another, and another. I finally got a response- and it just said, be patient, the game shipped. WELL YES. It shipped. I have it, but the order was NOT COMPLETE.
I caution everyone never to shop at the Capcom Online Store, or any Digital River run store again - and I caution Capcom to find a provider that can actually provide the service they promise.
There are things you don't expect are going to happen when you get up in the morning.
For instance, receiving an email from a radio station in Ecuador about being interviewed on the show about superheroes.
If you want to hear the interview, we made a recording... it might not be the best quality though, I'm going to ask if they can send me a disk or something.
But yeah... probably the most surreal thing to happen to me this year.
Edit: Fixed spelling of Ecuador.
For instance, receiving an email from a radio station in Ecuador about being interviewed on the show about superheroes.
If you want to hear the interview, we made a recording... it might not be the best quality though, I'm going to ask if they can send me a disk or something.
But yeah... probably the most surreal thing to happen to me this year.
Edit: Fixed spelling of Ecuador.
To lead off right now I'd like to make an announcement. The game is, and always has been ADVENTURERS 2. The full name of the game is- ADVENTURERS!! II: The Cursed Mask and the Sword of Reality
What, you want to see the logo? As a wallpaper? Well, if You insist..
Some facts: The three characters currently in game are products of the canonical couples from ADV! - Protagonist is Karn and Lumi's son, Dashijiru is Drecker and Karashi's son, and Justica is the offspring of Tesla and Ardam.
The build this time, I built a few days ago but never got around to posting it. New features are listed below.
DOWNLOAD BUILD
I've got a report that the game can crash when you click an item in the item menu, neither they nor me were able to reproduce this bug, but if you see it, let me know.
What, you want to see the logo? As a wallpaper? Well, if You insist..
Some facts: The three characters currently in game are products of the canonical couples from ADV! - Protagonist is Karn and Lumi's son, Dashijiru is Drecker and Karashi's son, and Justica is the offspring of Tesla and Ardam.
The build this time, I built a few days ago but never got around to posting it. New features are listed below.
DOWNLOAD BUILD
- Title screen (with menu)
- You can now use potions at all from the menu screens
- Ditto spells
- Learning spells is implemented (try levelling protagonist up and seeing the spells in the menu)
- There's a few random bug fixes
I've got a report that the game can crash when you click an item in the item menu, neither they nor me were able to reproduce this bug, but if you see it, let me know.
- The Taste of the Danforth is severely overcrowded. I think they need to expand it a bit somehow.
- Someone really, really loves one way streets.
- Try all the doors HARD before you assume you're stuck in the stairway of a parking garage.
- Spaghetti Factory = very good.
- Someone really, really loves one way streets.
- Try all the doors HARD before you assume you're stuck in the stairway of a parking garage.
- Spaghetti Factory = very good.
I spent the last part of the weekend in Toronto with Nicole. We went shopping, and went to Ribfest.
I learned these things:
And one thing learned by another person, at Factory Direct:
I learned these things:
- At Ribfest: Just because a rib place won last year doesn't mean this year they have ribs that are even halfway decent.
- At Computer Stores: Most computer store owners have no clue if laptop DDR downclocks.
- There are parts of Toronto where there are one way streets as far as the eye can see, and they change direction mid way through. It's like living Chu Chu Rocket.
- There are some sketchy dealings at parking lots. The sign can say "$2.65 per half hour" but what that actually means is "$10 all day screw the rest of the sign".
- Silver Snail closes at 6 on tuesdays. I found this fact out at 6:30 after finding parking.
- There's capsule toy mario DS styluses. I got a bullet bill.
- Carnival games are still as sketchy as they always were. There's no actual relationship depending on what you win and how many times you actually win, it seems.
- a lot of games = a lot of customs
- I know where to go if I want to buy a model of R-2 Powered now. Too bad I don't care about R-2 Powered. if it was R-1, maybe...
- Venus versus Virus is a pretty good manga
- It's hard to find a place to buy floppies now a days
- Compusmart shut down all it's toronto stores. I found this out after searching for one for an hour
- Hernando's Hideaway is a really good restaurant - best mexican I've ever had
- Speghetti Factory + Closed due to power problem = Annoying
- Parking is HELL
- Rickard's Honey Brown isn't bad.
And one thing learned by another person, at Factory Direct:
- Defective ram is still defective even if you tell the customer "It's your computer" before letting them finish telling you what's wrong with it.
Today's a great day, if yo like menus
DIAL M FOR MENU! FEETURES:
- Fixed a combat bug with status effects after a character dies
- Added the menus! Press M when walking around
- The item menu shows you the list of items, you can't use them yet
- Quit quits the game (removed the ability to do so from the menu)
- Party lets you switch party members.. double click or hit enter/space on one, and then on another. Use the "nobodies" to create a smaller party.
- Back to return to the game
- The party lists show up for equip and skills but you cant do anything here yet
Upcoming:
- Make more of the menus actually do things
- Replace the menus in the combat with these ones (since they work with both mouse and keyboard)
Known bugs:
- Base 1 won't stay in the party. This is because he's not technically "in" the party but it wasn't checking it. Fixed in my local copy
Here's the new build.
There's actually TWO builds since the last one (apparently livejournal failed to post the last one), so you might as well just read the list:
New features (20070718)
New Features: (20070721)
Known bugs:
There's actually TWO builds since the last one (apparently livejournal failed to post the last one), so you might as well just read the list:
New features (20070718)
- Equipment can now have triggered skills, such as on-attack or on-damage or some such. I've added one to Dashijiru's weapon, a 50% chance of gaining some mp back after his turn.
- Skills can be set to resist (Poison has a small chance of it) based on arbitrary stats
- Skills can have a chance to not fire (see the above 'mp regen" ability.)
- Status Effects, are handled pretty much identically to weapons (and for now are defined in the weapon file)
- I added a walking up animation for Protagonist on the map
- Skills can now be set to either target dead or not target dead- I added a life spell to Dashijiru if you want to test it by killing off a party member
- Added particle effect support (the actual particle engine is built into HGE) - see the healing skill and poison for examples
- Skills can now modify stats, since I handle dead as a stat (instead of a status effect) that's how the revive skill works
- in-combat-only stat modifiers can be done using statname_temp, and until nex turn can be statname_turn
- Changed the directory structure to be easier to manage
- Changed the fonts a bit to actually fit all the skills that need to be fit
- Apparently the latest version of HGE had this all along: press alt-enter to play in full screen
New Features: (20070721)
- Added the title screen handler, and removed the HGE logo in debug mode (when compiling in Release mode, it still shows up)
- Added the beginnings of the camp screen: hit M when walking around
- Added per-hit effects per weapons. Supports both particles and sprites. For the character that throws their weapons, it'll be used for that animation effect too.
- Cleaned up losing code (try it out)
- Added the ability to have a skill cast a second skill as an all target, for targeting all monsters. Try Rays of Lights for an example (it's also a good way to test losing)
- Started making my own Gui controls (using the hgeGUIObject base class) - the first one is the menu items in the menu (notice the pointing finger)
- Cleaned up some of the drawing-special-effect-location-code to use sprite centers instead of the hotspots which are used for sprite positioning
- Put in support for absorbing (cast fire on SlimeLeader) or resistance (he has a high holy resistance, too) and Weakness to elements, properly. A defense stat over 255 starts to absorb.
- Some stuff I dont have tests in for yet.
- Preliminary Unfinished saving code that's currently inaccessable.
Known bugs:
- Status effect.. effectiveness (say poison damage) currently cant be based on the caster's skill, so poison always does 15 damage.
- Sometimes the menu highlights too many items.
I added running and defending. Both of them were very easy to add. Other stuff too, it's really shaping up.
Download build
Feature adds:
Download build
Feature adds:
- Fixed the bug with SlimeA
- Added sprite/weapon for third main character - Dashijiru, the emo white mage
- Shuffled the skills around to more match the character data sheet I wrote
- Added a few skills, including one with a new effect
- Changed the fonts
- Added critical hits - it uses a random number compared with the agility of you and the target to determine if it hits. Basically it compares a random based on your agi, with the opponent agi to the power of two. Crits do double damage, and show up bigger.
- Added misses, with a similar calculation as above. But it doesn't have a power two, so a miss will happen about 50% of the time given equal agility.
- Added a heal spell. Compare Protagonist (mag=2) with Dashijiru (mag=10 +3 for weapon)
- Added the ability to run away. It's based on your entire party's agility, and the agility of the entire monster party. It's rand * agi vs rand * agi * 10
- Added the ability to defend. Any reducable-damage hit is reduced by half until next turn.
- Actually I should talk about damage reduction, since I coded that without really putting any in a few versions ago. Damage has an element. it can be "phys" for physical, "magic" for generic magic, "[phys]fire" and such for fire physical, "fire" for fire magical, "other" for irreducable. Phys is reduced by DEF, magic by MDEF, physical fire by def and fire resistance, fire magic by mdef and fire resistance, and other is never reduced. Healing is not subject to these rules, but MP Damage is. It's vaugely a percentage based system- as your def goes up to 255, you reduce up to 99.9% or so. Damage cannot be reduced to zero. I haven't put in absorbing yet.
- known bug: the fire sword attack is fire magic instead of fire physical, and the animation isn't timed properly for Ray of Light.
First off, here's the file so you can follow along.
I put in the inventory code. At least some of it. Max item stuff isn't coded, but otherwise it works. Basically, an item is attached to a skill, and it runs the skill as if it were casted when you use the item
I put in the inventory code. At least some of it. Max item stuff isn't coded, but otherwise it works. Basically, an item is attached to a skill, and it runs the skill as if it were casted when you use the item
- Added inventory
- Added ability to heal hp/mp
- Added targeting-ally abilities.
- I'm going to change the way target-all abilities work so I've removed the menu option for it.
- Added item use code
- Added menu items for run and defend, but they don't do anything yet
Download new build
I've added a bunch of stuff, here's the rundown:
I think next.. either the Inventory system, or begin work n the Camp screen.
I've added a bunch of stuff, here's the rundown:
- Added a sprite/definition for the 2nd main character: Justica
- Added the Weapon sprite attachment code. Basically, every frame has a point with a rotation where to draw the weapon, which is drawn seperately allowing a huge number of weapon sprites!
- Added the ItemManager and InventoryItem classes, and the beginnings of the equipment system. The default.sav gives each character a weapon, and items.itm defines the actual items.
- There's no inventory yet, but when you gain items it uses the full name from the string file instead of the ID.
- The victory screens are now in place. Try fighting a few times to gain a level to see how that shows up. I lowered the EXP for the fight, btw.
I think next.. either the Inventory system, or begin work n the Camp screen.
New build. I'll let the bullets do the talking..
next up, should be weapon sprites. ( EDIT: Added some videos )
- Replaced the textbox graphic
- Added stats staying outside of battle, and levelling. The level stat gain is defined in the party file at the bottom. I also made the 2nd NPC heal you if you talk to him.
- Added interface graphics in combat
- Added a real headshot of Protagonist.
- Fixed the intermittant second battle crashing issue, I hope.
next up, should be weapon sprites. ( EDIT: Added some videos )
Some major things, this time. I've finally got most of the "test" values out to files, so now the characters, skills, skill lists, abilities, and everything are loaded from files. Even the party is!
Download Build
Download Build
- party.pty loads teh default for each character's stats and stuff.
- Skills are listed as the level they have to be to use it, and negative if they dont 'know it' yet but can learn it.
- default.sav is a save file- this updates what's been lodaed from party.pty, as well as other information. Essentially, starting a new game is the same as loading a 'default save', so that's how i'm going to handle it.
- the main character, Protagonist, now has a preliminary combat sprite.
- Bugs involving going into combat a 2nd time are now fixed.
- The new Party Manager (party.pty) keeps track of all the characters, so you can add another character to it, and it'll be loaded, but not in the party (since that's chosen from the save file)
- Next i'm going to make sure to have the stats go back to the party manager after combat, as well as having levels. There's placeholder code in there for these things already
- I also added some extra friendly things: A line at top which says things like the skills being used, as well as using string tables instead of showing iDs all over the place.
- I made the combat text area at the bottom smaller
Some more skill/skill effect features today.
I need to eventually get the drawing weapons code in, but that's going to be totally murder....
Download now
I need to eventually get the drawing weapons code in, but that's going to be totally murder....
- moving the sprite is now possible in a skill. I've given the slimes an ability that does this
- Monsters can now be given skill lists which let them randomly pick the skill they use
- effect sprites and moves have two new locations to work from: target_above (or self_above) which is the top of the screen above the target, and target/self_default which is where they are supposed to stand.
Download now
I recently bought a Server ($150 for a 4-drive p3 xeon box) and finally can start posting these again.
Click here to download build 20070610_1945
This version, the main features added are 1) one thing I forget that I added months ago but never actually uploaded
2) Spell effects.
Basically, a skill can now have effects added to it.
Try the Doublefire, Firesword, and Fire1 abilities to see three examples of using the same animated sprite.
Click here to download build 20070610_1945
This version, the main features added are 1) one thing I forget that I added months ago but never actually uploaded
2) Spell effects.
Basically, a skill can now have effects added to it.
- Only sprite animations are supported now. Eventually particle, and 'beam' sprites will be available as well.
- You can animate based on time, and positions. EG: Fireball from caster to target, or a series of flames in different locations on the target
- A sprite is given the amount of time it'll animate, AND another time number- this is how long it will take to start. It accomplishes this by adding the numbers together, and then not doing any drawing/animating until the value is in the 'regular' time. Eg: 1000 250, counts down from 1250, and starts animating at 1000.
Try the Doublefire, Firesword, and Fire1 abilities to see three examples of using the same animated sprite.
So, I went to Anime North last week. Here's some, as it were, "reporting" of it.
Anyway, I'm sure I forgot some stuff, so next post, I guess, i'll probably add stuff.
- I lost my sheet. Fortunately, I was a panelist so...
- When I got there after work on Friday, I went to the panelist reg desk instead of the normal reg desk (where I would have to stand in line)
- After getting my badge (and a little name sign) I ate, and relaxed a bit before going to the VGCats panel
- After the VG Cats panel, Scott got mobbed, and never showed up at the panel right after which was..
- Webcomics, with me, and a webcomic fan, and someone who does a print comic that also posts on the web, and a not-present Scott.
- I answered some questions about making comics, and then met up with the CMC crew right after.
- I made a few sketches for them, and then left to sleep
- Nicole was gracious enough to let me stay at her place during the weekend. We went to Golden Griddle, and I had half a sandwich (I didn't know it was going to be so big >_>)
- I slept in a bit, and got to the Con in the afternoon by bus/sbway. Basically just hung out with the guys, and shopped a bit.
- At like, midnight, I left, and decided once and for all to avoid Kennedy Station in toronto
- On sunday, I got some stuff for my friends at the Con (including some plushies for Nicole) and then after the Con me and Nicole went downtown.
- I got some manga books, and found a candy store that sold my favorite semi-nerdy candy: candy lego blocks. They even fit together and everything. I also got some Nintendo mints
- Then we went to an all you can eat Sushi place, and I ate slightlky more than I could eat.
Anyway, I'm sure I forgot some stuff, so next post, I guess, i'll probably add stuff.
I visited Nicole in Toronto last weekend, we played games and I stayed over (and broke the bed I was sleeping on >_>) and she took me around some places downtown. (Actually, she navigated and I drove. Driving in downtown Toronto is fun! for a given value of fun..) I got an import DS game (Jump Ultimate Stars) and she showed me a Korean BBQ place- if you've never been to one, they have a grill built into the table, and they give you raw meat to cook on it. (don't remember the name, Korean Grill maybe?) It's awesome. We went to Korea town afterwards, and I got some snacks (including more emoticon chocolates) and then we went to pacific mall. I almost bought some stuffed mario Mushrooms but didn't. I did get an 8-bit-mario keychain out of a bubble vending machine. It was a fun weekend=)
The rest of the week has been pretty normal. I cleaned up the apartment and put up a new bookshelf to separate my books and games. With the games all on their own shelf, with so much extra space, it feels like I don't have enough games. It's a weird feeling.
I went to Tom and Stephie's barbeque tonight, that was fun.
I can't find the coupons I had for the movie theatre =/
The RC helicopter that was missing a couple of parts that I bought cheap off a 'returns' table is going well. I actually hit it off the ceiling once. I just need to figure out how to stabilize it better... presumably that's one of the things the missing peice of hard plastic tube did.
Next week is Anime North. I'm on the Webcomics panel! Whee!
Heroes season finale is tomorrow, too...
Also: OMG WTF STARCRAFT 2!
The rest of the week has been pretty normal. I cleaned up the apartment and put up a new bookshelf to separate my books and games. With the games all on their own shelf, with so much extra space, it feels like I don't have enough games. It's a weird feeling.
I went to Tom and Stephie's barbeque tonight, that was fun.
I can't find the coupons I had for the movie theatre =/
The RC helicopter that was missing a couple of parts that I bought cheap off a 'returns' table is going well. I actually hit it off the ceiling once. I just need to figure out how to stabilize it better... presumably that's one of the things the missing peice of hard plastic tube did.
Next week is Anime North. I'm on the Webcomics panel! Whee!
Heroes season finale is tomorrow, too...
Also: OMG WTF STARCRAFT 2!
Yeah, I haven't really posted here in a while. I was going to keep posting on the game, but then redleaf went down and I haven't decided what I was going to do with that, so uh, woops.
Anyway, 10xStuff Up With Mes:
1- I was in a car accident, banged up my bumper, but it was entirely not my fault so I didn't pay anything to get anything fixed
2- Book #1 got published
3- I got a HDTV
4- I got a 360 (gamertag is emperorwebrunnr )
5- Nicole showed me this great sushi place in Toronto. Some of the best Sushi I've ever had, actually. It was a fun night, but I ate too much.
6- Phoenix Wright is awesome
7- I've bought like, one game at full price in the last 4 months, but i've been getting a lot of games. Thanks, Cheap Ass Gamer!
8- 52 ended with a moth eating time. Couldn't have asked for a better series, except maybe wishing that Vic didn't die. Countdown starts this week.
9- I finally got a Question heroclix
10- The new building at work is pretty neat
I'll be posting on this more often. I hope.
Anyway, 10xStuff Up With Mes:
1- I was in a car accident, banged up my bumper, but it was entirely not my fault so I didn't pay anything to get anything fixed
2- Book #1 got published
3- I got a HDTV
4- I got a 360 (gamertag is emperorwebrunnr )
5- Nicole showed me this great sushi place in Toronto. Some of the best Sushi I've ever had, actually. It was a fun night, but I ate too much.
6- Phoenix Wright is awesome
7- I've bought like, one game at full price in the last 4 months, but i've been getting a lot of games. Thanks, Cheap Ass Gamer!
8- 52 ended with a moth eating time. Couldn't have asked for a better series, except maybe wishing that Vic didn't die. Countdown starts this week.
9- I finally got a Question heroclix
10- The new building at work is pretty neat
I'll be posting on this more often. I hope.
