Now that its all working, it appears to be quite a bit harder.... Closer inspection shows that the changes to the bullet collision have actually made it tougher! This is because coins can now be hit! So its pretty tough to shoot a line of aliens if they all drop coins, and means you really need to shoot it close to you, and then quickly pick up the coin so you can shoot the next one in line!
This is pretty hard, particually if your being hammered from all sides by turrets! I could change it now, but I think I'll wait and see what the feed back is. Of course, the temptation of gamers it to make it reasonably easy so they can finish it, so all comments will have to be taken with a pinch of salt, but lets see what you all say.
Tuesday, June 10, 2008
XeO3: At LAST!!!
Well, its offical....I'm a prat. Let the word go forth.... I am a moron. Yes, I've fixed my bug, and wouldn't you know it... it was the change I made a few hours before when altering the collision flags. I was simply branching to the wrong location when I detected a NOSHOOT flag. What a prat.
Oh well... Debug code now removed and we're back on track! Now I just need to finish this level off, and build a scripting framework.... almost there!
*sigh* oh well at least its fixed, but I still feel like a twat.
Oh well... Debug code now removed and we're back on track! Now I just need to finish this level off, and build a scripting framework.... almost there!
*sigh* oh well at least its fixed, but I still feel like a twat.
Saturday, June 07, 2008
XeO3: I knew it!!!
Oh well... I knew it was going to smoothly... I've discovered a bug thats gonna delay things until I manage to find and fix it. Shooting at the boss you eventually stop firing for some reason. No idea why, but it looks like your bullet counter goes negative, and then is unable to fire any more. No idea why - theres only 2 places which reduce the counters, and I cant see how this is possible - fek.
XeO3: The finishing touches!!
I'm now putting the final touches to the demo! Yep, I'm almost there... I'm adding a simple BOSS to get the end of level some meaning, although while doing so it threw up a couple of bugs and issues.
First, I've changed how the NOSHOOT and NOCOLLISION flag works. NOSHOOT now simply means that while the bullet hits, it won't cause any damage, while NOCOLLISION now means it has no collision AT ALL! So neither Bullets or players will hit it. This makes a little more sense and allows for baddies to be shot at while coming on screen, but take no damage.
I've also changed the parent system, so that a sprite marked as a CHILD now uses the path/sprite than SPAWNED it as its parent. This feels more logical when building paths.
I've also fixed a bug where by if you kill a sprite that was PAUSED, the BOOM animation was over running.
So... there you go... Almost there! Just need to finish the level off, and then make up a batch file to allow you to build your own levels, an that'll be that! (I think...)
First, I've changed how the NOSHOOT and NOCOLLISION flag works. NOSHOOT now simply means that while the bullet hits, it won't cause any damage, while NOCOLLISION now means it has no collision AT ALL! So neither Bullets or players will hit it. This makes a little more sense and allows for baddies to be shot at while coming on screen, but take no damage.
I've also changed the parent system, so that a sprite marked as a CHILD now uses the path/sprite than SPAWNED it as its parent. This feels more logical when building paths.
I've also fixed a bug where by if you kill a sprite that was PAUSED, the BOOM animation was over running.
So... there you go... Almost there! Just need to finish the level off, and then make up a batch file to allow you to build your own levels, an that'll be that! (I think...)
Monday, June 02, 2008
TG16 fun...
With XeO3 being easy to port to the C64, I started thinking about other 6502 platforms... SNES is one I'd like to lookat, particually as I have a couple of old DevKits AND a couple of magicoms. these were copy devices, but I used to use them for homebrew development as you could squirt code down to them from a PC/Amiga.
So, I started reading up on some old PC Engine stuff, and was trying to find something (outside an emulator) that would let me code for it again. I was hunting for something called TurboRAM which was a prototype device to let you download to the TG16, but I couldn't find anything - I guess its long gone now. But this would be cool, so I started hunting for info on the expansion bus to see whats invloved.
I actually found info on the Cartridge port, and its quite interesting... It's only address+data lines, it doens't appear to be encrypted at all!! This means it shouldn't be too hard to make a RAM card that you can download to! So thats another thing on my to-do list, see if i can hack together a RAM card for a PCEngine, then I could actually code for this great little machine again!
(I also have an old MegaDrive devkit! It should work, but i've haven't used it in over10 years now).
So, I started reading up on some old PC Engine stuff, and was trying to find something (outside an emulator) that would let me code for it again. I was hunting for something called TurboRAM which was a prototype device to let you download to the TG16, but I couldn't find anything - I guess its long gone now. But this would be cool, so I started hunting for info on the expansion bus to see whats invloved.
I actually found info on the Cartridge port, and its quite interesting... It's only address+data lines, it doens't appear to be encrypted at all!! This means it shouldn't be too hard to make a RAM card that you can download to! So thats another thing on my to-do list, see if i can hack together a RAM card for a PCEngine, then I could actually code for this great little machine again!
(I also have an old MegaDrive devkit! It should work, but i've haven't used it in over10 years now).
Saturday, May 31, 2008
XeO3: Scripting....
Not doing much but cleanign up the script for the demo. I manged to 148 bytes by swapping from
to...
And the code looks much nicer too. Of course I added around 100 bytes of code for the new function, but theres more space there as the script only has 3k to play with!
PFor 10
Move -2,10
PNext
to...
MoveLoop 10, -2,10
And the code looks much nicer too. Of course I added around 100 bytes of code for the new function, but theres more space there as the script only has 3k to play with!
XeO3: Move commands...
I've just finished adding the MoveLoop command, so I hope this helps to make script writing simpler. Now I need to go through and change all the demo levels scripts to use this new command.
I've also started to fill in the code documentation on the grounds that if I leave it to last, then even when I finish I'll not be able to release the source for months after - until the documentation is complete. So if I start now, it shouldn't be long after the game comes out that the source code is released too! It should be fine though as the code isn't going to change hugely at this stage, so documenting it now I suspect is fine.
I've also started to fill in the code documentation on the grounds that if I leave it to last, then even when I finish I'll not be able to release the source for months after - until the documentation is complete. So if I start now, it shouldn't be long after the game comes out that the source code is released too! It should be fine though as the code isn't going to change hugely at this stage, so documenting it now I suspect is fine.
Thursday, May 29, 2008
XeO3: Script Docs complete!!!
Well, I've finished the 1st pass of the scripting docs!! Didn't take too long at all, I'm quite pleased about that. I do still have a couple of examples to do, but they can be added anytime really....
I also just realised I should really add a MoveLoop command since 90% of move commands are surrounded by For/Next loops!
This takes 6 bytes. But if I were to do this....
It would only take 4. Now, 2 bytes doesn't seem like much, but I have 91 loops in level 1 at 2 bytes per loop which makes 182 bytes saved. Not only that but you'd have less typing, and the code would just look nicer!
becomes....
Which is much nicer!! Not only that.... But that would give you VERY simple loops in loops.... So a Square path that would look like this...
becomes - THIS! (which obviously saves even MORE memory!)
I also just realised I should really add a MoveLoop command since 90% of move commands are surrounded by For/Next loops!
PFor 50
Move -2,0
pNext
This takes 6 bytes. But if I were to do this....
MoveLoop 50, -2,0
It would only take 4. Now, 2 bytes doesn't seem like much, but I have 91 loops in level 1 at 2 bytes per loop which makes 182 bytes saved. Not only that but you'd have less typing, and the code would just look nicer!
;-----------------------------------------------------------------------------
; tear drops...
;-----------------------------------------------------------------------------
Drop_1:
DRIFT -1
Move 0,1
Move 0,1
Move 0,2
Move 0,2
Move 0,2
PFOR 4
Move 0,3
PNEXT
PFOR 5
Move 0,4
PNEXT
PFOR 6
Move 0,5
PNEXT
PFOR 200
Move 0,6
PNEXT
KILLSPRITE
becomes....
;-----------------------------------------------------------------------------
; tear drops...
;-----------------------------------------------------------------------------
Drop_1:
DRIFT -1
Move 0,1
Move 0,1
Move 0,2
Move 0,2
Move 0,2
MoveLoop 4, 0,3
MoveLoop 5, 0,4
MoveLoop 6, 0,5
MoveLoop 200, 0,6
KILLSPRITE
Which is much nicer!! Not only that.... But that would give you VERY simple loops in loops.... So a Square path that would look like this...
PFOR 90
Move -4,0
Move -4,0
Move -4,0
Move -4,0
Move 0,4
Move 0,4
Move 0,4
Move 0,4
Move -4,0
Move -4,0
Move -4,0
Move -4,0
Move 0,-4
Move 0,-4
Move 0,-4
Move 0,-4
PNEXT
KILLSPRITE
becomes - THIS! (which obviously saves even MORE memory!)
PFOR 90
MoveLoop 4, -4,0
MoveLoop 4, 0,4
MoveLoop 4, -4,0
MoveLoop 4, 0,-4
PNEXT
KILLSPRITE
Wednesday, May 28, 2008
XeO3: Wiki
I'm slowly updating the wiki just now, and documenting the scriping system as best I can. I was going to keep the wiki quiet for now, but Luca's let the cat out the bag so what the hell!
You can get to the wiki either via the main XeO3 web site, or directly at wiki.xeo3.org. All I'm doing there just now is script documentation, but feel free to go and have a read and give me some feedback. Remember the whole reason for doing this was to get a modern game engine out there for people to be able to MOD and release more games! So for that there needs to be some good documentation, and that means people have to understand when the hell I'm talking about!
Still we're on target and things are progressing well (for a change).
I also finished updating my DMADESIGN.ORG site to use my new CGI script, and I did my first perl script as well...very odd - oh well.
You can get to the wiki either via the main XeO3 web site, or directly at wiki.xeo3.org. All I'm doing there just now is script documentation, but feel free to go and have a read and give me some feedback. Remember the whole reason for doing this was to get a modern game engine out there for people to be able to MOD and release more games! So for that there needs to be some good documentation, and that means people have to understand when the hell I'm talking about!
Still we're on target and things are progressing well (for a change).
I also finished updating my DMADESIGN.ORG site to use my new CGI script, and I did my first perl script as well...very odd - oh well.
Monday, May 26, 2008
Bandwidth Leachers!
I've just spent an hour getting an image script working so that I can stop people leaching bandwidth. Now, dont get me wrong, I actually have stacks of bandwidth left, and I don't even mind them using the images! But what really gets me is when they point directly to one of my images for use as an avatar! If they're a moderator or something, then this image could get pulled down thousands of times! More to the point, if they're a moderator, then they should have the good manners to copy the image onto their own bloody servers! It's not like I'm going around demanding they take down stuff thats on my site, I'm pretty open about people using stuff.. *sigh*
Actually... I downloaded a nice little script, then spent an hour debugging it and making it work! It had several errors in it - typical. :)
(Fek... Now I have to update all my sites so that they can't just pinch another one!)
Actually... I downloaded a nice little script, then spent an hour debugging it and making it work! It had several errors in it - typical. :)
(Fek... Now I have to update all my sites so that they can't just pinch another one!)
Subscribe to:
Posts (Atom)