English Amiga Board


Go Back   English Amiga Board > Coders > Coders. General

 
 
Thread Tools
Old 07 February 2018, 23:15   #81
mcgeezer
Registered User
 
Join Date: Oct 2017
Location: Sunderland, England
Posts: 2,702
Quote:
Originally Posted by Shatterhand View Post
Nowadays I understand it very well and even explains it to other people.

Champion, when I get stuck with my title screen I'll give you a shout!

I'm thinking a more complex version of the SR intro below:

[ Show youtube player ]

Instead of those orbs, it will be the Red bombs circling over the Bomb Jack logo....

Just a thought... along with maybe a wavy scroller etc....

The title screen will be fun to code... will be like doing a cracktro.
mcgeezer is offline  
Old 09 February 2018, 13:53   #82
phx
Natteravn
 
phx's Avatar
 
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,496
Quote:
Originally Posted by mcgeezer View Post
Here's my current memory map.
I think I would pack all the initialised data (graphics assets, music, etc.) tightly at the beginning of the memory space. Then manage the remaining, uninitialised space, with internal alloc/dealloc routines.

The deallocation could be really simple, like remembering the memory pointer at the beginning of the game's main loop and then restoring it when leaving the main loop again.

Moving the uninitialised space to the end of your program also makes the file much smaller. You don't have to store that part.

Quote:
I keep all of the assets compressed which then unpack to chip ram. I think a good compromise for the game would be full load if the target has a 1/2 meg expansion but if it's a stock Amiga A500 then it'll be track loading the levels.
Yes. That's always a good last option.

Last edited by phx; 09 February 2018 at 13:54. Reason: BE
phx is online now  
Old 09 February 2018, 21:03   #83
Asman
68k
 
Asman's Avatar
 
Join Date: Sep 2005
Location: Somewhere
Posts: 828
+1 for phx solution with memory pointer. It's really simple and will give you opportunity to check available memory in every moment of you game and there is a possibility to check if you cross the bound. If you interested I can post here my proposal which I use.

I think that is possible to fit everything into naked A500 (0.5 MB CHIP) but is just my opinion and this needs much more work to do. There are exists very nice packers like shrinkler and I was so surprised when I packed assets. For example file assets_G16x16.iff (40kb) was packed to 6000 bytes. Of course depacking take some time and will need additional 4k but I think that is worth to test it.

In your memory map I can't find tiles for levels, where are they stored ?
No offence but I also think that fixed addresses are so wrong. If I were you then I would sacrificed one register (i.e. a4) for DT. You can save a lot cycles.
I saw your sources on git and there is a plenty things which could be faster but for sure You already know that. Good luck with your project.
Asman is offline  
Old 09 February 2018, 23:05   #84
mcgeezer
Registered User
 
Join Date: Oct 2017
Location: Sunderland, England
Posts: 2,702
Quote:
Originally Posted by Asman View Post
+1 for phx solution with memory pointer. It's really simple and will give you opportunity to check available memory in every moment of you game and there is a possibility to check if you cross the bound. If you interested I can post here my proposal which I use.

I think that is possible to fit everything into naked A500 (0.5 MB CHIP) but is just my opinion and this needs much more work to do. There are exists very nice packers like shrinkler and I was so surprised when I packed assets. For example file assets_G16x16.iff (40kb) was packed to 6000 bytes. Of course depacking take some time and will need additional 4k but I think that is worth to test it.

In your memory map I can't find tiles for levels, where are they stored ?
No offence but I also think that fixed addresses are so wrong. If I were you then I would sacrificed one register (i.e. a4) for DT. You can save a lot cycles.
I saw your sources on git and there is a plenty things which could be faster but for sure You already know that. Good luck with your project.
When I get the game fully up and running I'll be happy to come back to this. There is no offense taken at all. The tiles are stored at $20000 with the sprite assets. The packer I use is the RNC Pro Packer.

I'm happy to upload my latest source, but it will be without the sfx/mods as they are not mine. Let me know and I will upload them and you can help me solve the problem.
mcgeezer is offline  
Old 10 February 2018, 19:35   #85
saimon69
J.M.D - Bedroom Musician
 
Join Date: Apr 2014
Location: los angeles,ca
Posts: 3,516
From my side you can upload my mod files and sound effects, as long as credit is given ^^
saimon69 is offline  
Old 11 February 2018, 22:21   #86
mcgeezer
Registered User
 
Join Date: Oct 2017
Location: Sunderland, England
Posts: 2,702
So I finally got round to doing some more work and what I was keen on doing is testing the game on real Amiga hardware. I managed to optimise the blitter routines by running just one blit instead of one for each bitplane - it made a massive difference. The other change I've made is moving Jack, the Bonus token and Powerball as hardware sprites.

Aside from the bugs which I know about, such as
-Graphics/Colour bugs
-Collision bugs here and there
-Some sound bugs
-Scoring bugs...

...I now have a playable game.

Here's the home amateur video
[ Show youtube player ]


If you want to try it for yourself you can go right ahead and download this ADF

Note, the game will need to run on an A500(+) with 0.5mb chip and 0.5mb fast ram. It will not run on an A1200 (yet) or other config, compatibility will be improved later.

Release date will probably now be pushed to March or February as there's still quite a lot to sort out and I'm getting less time to work on it for various reasons (mainly family time).

I hope you enjoy it.
mcgeezer is offline  
Old 11 February 2018, 23:54   #87
saimon69
J.M.D - Bedroom Musician
 
Join Date: Apr 2014
Location: los angeles,ca
Posts: 3,516
I just realized i will need to debug mods too ^^
saimon69 is offline  
Old 11 February 2018, 23:58   #88
mcgeezer
Registered User
 
Join Date: Oct 2017
Location: Sunderland, England
Posts: 2,702
Quote:
Originally Posted by saimon69 View Post
I just realized i have to move the songs in the second pair of audio channels, will send you updated mods ^^
No mate, u dont need to i just havent spent enough time working on the sfx yet.
mcgeezer is offline  
Old 12 February 2018, 21:20   #89
LeCaravage
Registered User
 
LeCaravage's Avatar
 
Join Date: May 2017
Location: AmigaLand
Posts: 456
Considering the number of persons (two ?) involved in the game dev. I'm pretty impressed by the fast progress you've been making and, all during spare time.
LeCaravage is offline  
Old 13 February 2018, 22:50   #90
mcgeezer
Registered User
 
Join Date: Oct 2017
Location: Sunderland, England
Posts: 2,702
Quote:
Originally Posted by LeCaravage View Post
Considering the number of persons (two ?) involved in the game dev. I'm pretty impressed by the fast progress you've been making and, all during spare time.
Development started around 8th November 2017 so has been going about 3 months.

One of the great things that came out of my last update was that a few Youtuber's seem to have downloaded the ADF to show off the progress of the game in their channels. It's very handy because it has unearthed lots of bugs for me!

Here's a list of them that I know about in no particular order
  1. Enemies don't appear on the next round until the Powerball resets them
  2. Bombs colour issue during start sequence
  3. Scene colour issue during start sequence, affects rounds 2 & 3
  4. ESB collision is broken when Powerball is active at the same time
  5. ESB has double collision when collected (or so it seems - strange)
  6. Sound effects are not fixed to last 2 channels
  7. The Extra token needs to appear after a number of enemies have been killed
  8. Powerball colour cycle issues, should cycle when touches a platform
  9. ESB won't fall from a left platform
  10. The jump/fall routine needs rewriting
  11. The colour cycle needs to made into proper HSL

There'll be other bugs I haven't noticed yet but I'll keep striking them off.
Tonight I nailed the ESB double collision issue (or provided a workaround).

It's an interesting one because each frame I read CLXDAT into a word. The ESB is assigned to sprites 2&3 while Jack is assigned in sprites 0&1. For some reason, even if I move sprites 2&3 after a collision is detected, CLXDAT still returns a collision even after the sprites 2&3 has been moved off screen.

Thinking about it now it may be an issue with the vertical beam and I probably have to wait until the beam is in the blanking period before I read the sprite registers.

Sorry, no video as not much to show. When I iron out most of the bugs I'll do another one and maybe add another enemy.
mcgeezer is offline  
Old 14 February 2018, 08:23   #91
Tigerskunk
Inviyya Dude!
 
Tigerskunk's Avatar
 
Join Date: Sep 2016
Location: Amiga Island
Posts: 2,770
Nice to read your progress here, McGeezer...

Have a good time coding...!
Tigerskunk is offline  
Old 14 February 2018, 16:12   #92
phx
Natteravn
 
phx's Avatar
 
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,496
Quote:
Originally Posted by mcgeezer View Post
It's an interesting one because each frame I read CLXDAT into a word. The ESB is assigned to sprites 2&3 while Jack is assigned in sprites 0&1. For some reason, even if I move sprites 2&3 after a collision is detected, CLXDAT still returns a collision even after the sprites 2&3 has been moved off screen.
IIRC CLXDAT is only updated once per frame. I'm not sure at which point exactly.
phx is online now  
Old 14 February 2018, 16:28   #93
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,502
CLXDAT is updated in real-time, pixel by pixel.
Toni Wilen is online now  
Old 22 February 2018, 23:34   #94
mcgeezer
Registered User
 
Join Date: Oct 2017
Location: Sunderland, England
Posts: 2,702
I thought I would do a quick video update as I haven't done one in a fair number of days.

I've been mainly concentrating on the things that I knew would be the most challenging - stuff with math. Not sure about you, but when I went school way back in the late 80's early 90's they didn't teach mathematics. They probably did but most of the kids back then were more worried about not getting bashed than doing their home work.

Anyway, I digress - this video shows some more enemies added, nearly there with the UFO which I'm really pleased about. If I can crack the UFO then I can crack the rest of the enemies.

I've also fixed a shit load of bugs, one in particular was the music/sfx which was a simple mistake of not looking at input data sizes (l/w/b) - gets me every time!

A few of the other coders have really helped me out and I can't thank you enough.

Here's the video. Collisions are disabled on purpose as the video is a performance test.

[ Show youtube player ]

Last edited by mcgeezer; 22 February 2018 at 23:45.
mcgeezer is offline  
Old 26 February 2018, 23:43   #95
mcgeezer
Registered User
 
Join Date: Oct 2017
Location: Sunderland, England
Posts: 2,702
Technical update on Bomb Jack progress.

I decided to take a little break from coding the enemy AI as it nearly broke my brain so Friday night I knocked up a little intro routine which reminded me of my cracking days.... (them were the days).

In this update I've focused on getting rid of most of the bugs, but I've also added some nice little additions most of which revolve around colour.

When Jack collects the Powerball he changes colour to the colour you collected.
The colour cycle routine is now on HSL rather than RGB, so you get a nice rainbow effect.
Added an intro routine as I mentioned with a little scroller.

From my last video I've re-enabled all of the collisions etc... the video shows me playing the game which at the moment is insanely hard (and I'm good at Bomb Jack).

Over the last couple of weeks I've learned a couple of tricks on the enemies, along with my lessons in trigonometry I'm going to re-code them all - Better, Faster, Stronger, Harder.

[ Show youtube player ]

You can download another ADF beta here - http://109.228.4.199/bombjack2.adf

Geezer
mcgeezer is offline  
Old 27 February 2018, 00:42   #96
phx
Natteravn
 
phx's Avatar
 
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,496
Hey, I'm in the credits! Thanks.

Keep on the good work! The game has progressed so far now that I am convinced you will finish it.
phx is online now  
Old 27 February 2018, 01:05   #97
mcgeezer
Registered User
 
Join Date: Oct 2017
Location: Sunderland, England
Posts: 2,702
Quote:
Originally Posted by phx View Post
Hey, I'm in the credits! Thanks.

Keep on the good work! The game has progressed so far now that I am convinced you will finish it.
Thanks man. Come too far now not to finish it.
For me it will be an awesome personal acheivement.
mcgeezer is offline  
Old 28 February 2018, 08:18   #98
Tigerskunk
Inviyya Dude!
 
Tigerskunk's Avatar
 
Join Date: Sep 2016
Location: Amiga Island
Posts: 2,770
Amazing progress again, McGeezer.
Looking forward to the final game.

The last 5 percent of completing something are always the hardest.
Tigerskunk is offline  
Old 28 February 2018, 10:34   #99
mcgeezer
Registered User
 
Join Date: Oct 2017
Location: Sunderland, England
Posts: 2,702
Smile

Quote:
Originally Posted by Steril707 View Post
Amazing progress again, McGeezer.
Looking forward to the final game.

The last 5 percent of completing something are always the hardest.
Yeah. Hardest part will be doing the bird enemy code, but it wont be any harder than what i already did in the sprite driver.

There’s a couple of tricks i’ve learned now which will make recoding the enemies much easier. That and my new found trigonometry skills
mcgeezer is offline  
Old 03 March 2018, 22:39   #100
mcgeezer
Registered User
 
Join Date: Oct 2017
Location: Sunderland, England
Posts: 2,702
Here's another update to the game, I've included a link to this Beta 2 release but it has a rather nasty bug that I have only *just* discovered! Doh. The video I've taken here is for me to try and iron out what the hell is going on with the bug.

Anyway, I've done a fair update on the difficulty, enemies now increase in angst gradually the longer you are on a round, also the difficulty is increased depending on how many rounds you get up to.

Also what I've done is put in all 63 rounds into the game. After level 63 it will loop back to round 32 inline with the arcade game.

Lots of bugs also fixed including quite a few GFX glitches.

ADF here - http://109.228.4.199/bombjack3.adf

Video here - [ Show youtube player ]

Enjoy
mcgeezer is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Docs on writing a handler TCH Coders. System 9 18 June 2017 03:46
Writing an (Xbox 360) Kinect USB Driver - achievable? lantus360 Coders. General 3 13 December 2016 13:56
Process for writing original game disk image to disk Doc99 New to Emulation or Amiga scene 6 19 May 2016 12:20
Writing AVI BippyM support.WinUAE 16 20 May 2005 23:43
Found -> Champion Driver (was: top view racing game) T_hairy_bootson Looking for a game name ? 3 06 December 2003 19:08

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 12:20.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.13195 seconds with 15 queries