English Amiga Board


Go Back   English Amiga Board > Coders > Coders. General

 
 
Thread Tools
Old 29 November 2019, 22:08   #41
donnie
Registered User
 
Join Date: Jul 2010
Location: sthlm
Posts: 194
Cool!

Suggestion. It would be great if there where an alternative soundtrack/sfx. The original arcade sound effects are ear crushing horrible.
donnie is offline  
Old 29 November 2019, 22:39   #42
VincentGR
Registered User
VincentGR's Avatar
 
Join Date: Dec 2012
Location: Greece
Posts: 91
Looks amazing indeed!!!
VincentGR is offline  
Old 30 November 2019, 06:34   #43
OmegaMax
Knight Of The Kingdom

OmegaMax's Avatar
 
Join Date: Feb 2016
Location: Mordroc's Castle
Posts: 142
Arcade game(and nes) uses a constant array of time steps for enemies X Velocity,Y Velocity,Animation Frame,should be quite easy to duplicate.

Last edited by OmegaMax; 30 November 2019 at 07:10.
OmegaMax is offline  
Old 01 December 2019, 12:55   #44
agermose
Registered User

 
Join Date: Nov 2019
Location: Odense / Denmark
Posts: 42
Quick update.
Been working on enemy spawn and movement algorithms.

Nightshift has done some samples.
I'm switching over to getting the samples to play in the game. I seem to have lost my old sfx code.
Frank Wille's ptplayer looks promising.

Will probably do the player fire next, to test the samples.
agermose is offline  
Old 02 December 2019, 22:36   #45
agermose
Registered User

 
Join Date: Nov 2019
Location: Odense / Denmark
Posts: 42
Player bullet code done, but ran into some problems with ptplayer. No audio when playing a sample :-(

Update:
Got Nightshift’s sfx working now.
Disabling audio dma in the copperlist is a bad thing.

Some cleanup to do, video progress to come.

Last edited by agermose; 04 December 2019 at 13:39.
agermose is offline  
Old 04 December 2019, 22:02   #46
agermose
Registered User

 
Join Date: Nov 2019
Location: Odense / Denmark
Posts: 42
New progress video.

[ Show youtube player ]
agermose is offline  
Old 04 December 2019, 23:00   #47
kamelito
Zone Friend
kamelito's Avatar
 
Join Date: May 2006
Location: France
Posts: 1,038
Video unavailable
This video is private.
kamelito is offline  
Old 05 December 2019, 00:17   #48
agermose
Registered User

 
Join Date: Nov 2019
Location: Odense / Denmark
Posts: 42
Quote:
Originally Posted by kamelito View Post
Video unavailable
This video is private.
Sorry try again.
agermose is offline  
Old 05 December 2019, 00:22   #49
Cyprian
Registered User

 
Join Date: Jul 2014
Location: Warsaw/Poland
Posts: 46
nice video
Cyprian is offline  
Old 06 December 2019, 12:16   #50
d4rk3lf
Registered User

d4rk3lf's Avatar
 
Join Date: Jul 2015
Location: Novi Sad, Serbia
Posts: 606
Great stuff.
Thank you for doing this.
d4rk3lf is offline  
Old 12 December 2019, 18:55   #51
agermose
Registered User

 
Join Date: Nov 2019
Location: Odense / Denmark
Posts: 42
Been away for some time, so no progress lately.
Started working on it today and re-organised the code, but introduced some weird flickering, which I need to sort out.

Update:
Sprite DMA got turned on by accident. Problem solved.

Last edited by agermose; 12 December 2019 at 19:07.
agermose is offline  
Old 14 December 2019, 02:28   #52
agermose
Registered User

 
Join Date: Nov 2019
Location: Odense / Denmark
Posts: 42
Back to actual development.
Converted some enemy sprite data and put a few of them in a simple enemy movement.
Still needs a lot of work in enemy spawn and movement algorithms.
Also enemy planes need to appear and disappear gradually on screen, not just dump onto screen.

[ Show youtube player ]
agermose is offline  
Old 23 December 2019, 03:14   #53
agermose
Registered User

 
Join Date: Nov 2019
Location: Odense / Denmark
Posts: 42
Here's a Christmas present for all 1942 fans. Enjoy.

This progress video shows enemies entering and leaving the screen smoothly.
Since my last update I also started working on the character layer. This video shows "1UP" only, but the rest should follow soon.
After Christmas I'll probably get into animating the player plane, and enemies.

[ Show youtube player ]
agermose is offline  
Old 23 December 2019, 09:57   #54
manossg
Registered User

 
Join Date: Nov 2019
Location: Greece
Posts: 95
Looks very nice!
manossg is online now  
Old 23 December 2019, 11:50   #55
phx
Natteravn

phx's Avatar
 
Join Date: Nov 2009
Location: Herford / Germany
Posts: 1,566
Quote:
Originally Posted by agermose View Post
Player bullet code done, but ran into some problems with ptplayer. No audio when playing a sample :-(
Does everything work now? If you need any help, just email me (so I don‘t miss it).
phx is offline  
Old 23 December 2019, 19:17   #56
agermose
Registered User

 
Join Date: Nov 2019
Location: Odense / Denmark
Posts: 42
Quote:
Originally Posted by phx View Post
Does everything work now? If you need any help, just email me (so I don‘t miss it).
Yes thank you, I got it working some time ago.
Really stupid mistake.
agermose is offline  
Old 26 December 2019, 14:53   #57
agermose
Registered User

 
Join Date: Nov 2019
Location: Odense / Denmark
Posts: 42
The screen is set up to 320x256 at the moment, and the scroll only prints tiles to the middle 224x256 pixels.

Switched display window to 224 pixels wide, while keeping the screen buffers 320 pixels wide. This looks weird in UAE. The display is 224 pixels wide, but is wider than before, i.e. the black area on each side is smaller.

Copperlist excerpt:

buildcopper:
move.l #copperlist,a6
move.l #$01005200,(a6)+ ;5 bpl
move.l #$01020000,(a6)+
move.l #$010800a0,(a6)+ ;modulo for 5 bpl interleaved
move.l #$010a00a0,(a6)+
;move.l #$008e2c81,(a6)+ ;diwstrt 320
;move.l #$00902cc1,(a6)+ ;diwstop 320
move.l #$008e2cb1,(a6)+ ;diwstrt 224
move.l #$00902c91,(a6)+ ;diwstop 224
move.l #$00920038,(a6)+ ;ddfstrt 320
move.l #$009400d0,(a6)+ ;ddfstop 320
;move.l #$00920050,(a6)+ ;ddfstrt 224
;move.l #$009400b8,(a6)+ ;ddfstop 224

I arrived at the diw values like this:

PAL 224x256 (48 pixels $30 on each side of 224 pixel display)
display window
$2c, $81+$30=$B1 (upper left)
$12c, $1c1-$30=$191 (lower right)

$1c1-$30-$81-$30=$E0 = 224 decimal
$12c-$2c=$100 = 256 decimal


Update: Started playing around with FS UAE settings. Screen stretching was the culprit. Looks fine when stretching is disabled.

New video with title screen in place.
[ Show youtube player ]

Last edited by agermose; 28 December 2019 at 01:10.
agermose is offline  
Old 27 December 2019, 02:25   #58
roondar
Registered User

 
Join Date: Jul 2015
Location: The Netherlands
Posts: 1,602
Nice! It's looking better every time
Are the raster bars showing total time used in a frame?
Because then you have plenty of time left for collision detection and other game logic, which would be good news.
roondar is online now  
Old 27 December 2019, 11:11   #59
mcgeezer
Registered User

 
Join Date: Oct 2017
Location: Sunderland, England
Posts: 1,634
It's looking excellent agermose, a real treat for the Amiga this and I love that you take the time to do short and sweet dev updates.

Keep it up!
mcgeezer is online now  
Old 27 December 2019, 13:51   #60
agermose
Registered User

 
Join Date: Nov 2019
Location: Odense / Denmark
Posts: 42
Quote:
Originally Posted by roondar View Post
Nice! It's looking better every time
Are the raster bars showing total time used in a frame?
Because then you have plenty of time left for collision detection and other game logic, which would be good news.
Yes the coloured bars are showing time spent in various places.
Since this is running on A1200 hardware (which has faster CPU and faster bitplane DMA) and I want to make it run on stock A500, I need to keep a buffer of raster time on A1200.
I haven't started optimising yet, so I'm confident I can fit everything into OCS.
Before starting optimisation I will run it on OCS and see how it looks there.
agermose 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
1942 monitor mabus MarketPlace 4 20 March 2009 21:27
Schematic diagram of an Amiga 1942 or Amiga 1940 monitor Vaclav support.Hardware 0 18 May 2006 06:18
Any good 1942 conversions? Maverick Retrogaming General Discussion 9 04 September 2005 01:40
Looking for Battlehawks 1942 micktheodor request.Old Rare Games 1 03 September 2004 13:20

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:54.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
Page generated in 0.10096 seconds with 16 queries