English Amiga Board


Go Back   English Amiga Board > Main > Amiga scene

 
 
Thread Tools
Old Yesterday, 14:28   #81
Trachu
Registered User
 
Join Date: Dec 2015
Location: Poland
Posts: 180
Quote:
Originally Posted by Steril707 View Post
@DamienD: I think this kind of discussion is rather beneficial, and even if personally I will stay with the way the game looks, this exchange of ideas might be interesting for other people who want to code something..

So, everything's fine...

Plus, I'd rather have some discussion in this thread than none...
OK, lets back to business = talking what can be done on Amiga with this type of games

Is my guess correct that you use 4 sprites for first wave of enemies and another 4 for the second?

You multiple them vertically but not horizontally??

I have now an idea how to multiply 4 HW sprites in single line.
4HW sprite makes single 32px wide 15colour object which we want to mirror lets say 128px to the right.

We would have such copper code:

Set sprite 0 position to X
Set sprite 1 position to X
Set sprite 2 position to X+16
Set sprite 3 position to X+16
Set sprite 4 position to X+128
Set sprite 5 position to X+128
Set sprite 6 position to X+128+16
Set sprite 7 position to X+128+16
Wait till next line position X (plus minus 16px space)

Every vertical blank you would change this X position in order to move the sprites to the left.

It is really important to understand that in 6 bitplanes we can point to execution copper command every 8pixels. The copper in order to position the sprites accordingly would have to change execution point following the sprite moving to the left.

Lets say we have as in your case four 32px height objects. That would mean we would have to update 4x32x9=1152 Words in copper list every Vblank.
Another disadvantage is that using the code above you can move the sprite every two pixels. If you want to move it every single pixel you would have to add another 8 copper instructions which would cause another burden on DMA.

hmm, I would not be sure would we be able with such dma burden to keep 50Hz. There is also another idea which comes to mind.

We can create enemies as 5 colour objects as well using Attach bit trick, but you would have to use the same 5 colours for All of them. hmm, i guess it would be better to use different 3 colours samples which can look more colourful and with some skilled graphician they can still look good.
Attached Images
 
Trachu is offline  
AdSense AdSense  
Old Yesterday, 15:38   #82
Steril707
OCS rocks!

 
Join Date: Sep 2016
Location: Munich/Germany
Posts: 275
@Trachu: Yeah, you guessed right with the Sprite allocation.

From having a look on it, I guess what you describe is possible, but rather complicated and kind of unflexible.

I am not really in need of more Objects, though, since in addition to the Sprites I still have my merry old BOBs flying around, which only have the problem of being a bit less colourful than the Sprites.

Building such a powerful sprite multiplexer would be an interesting exercise, though...
Steril707 is offline  
AdSense AdSense  
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Inviyya - Development Thread (Space Shooter) Steril707 project.Amiga Game Factory 76 13 February 2018 12:06
Unfinished shoot 'em up dreamkatcha Retrogaming General Discussion 26 11 December 2016 19:24
Skeet Shoot mai HOL data problems 6 03 July 2013 01:52
[Found: Shoot Out] Looking for an Amiga PD shoot em up ROYALPAVILLION Looking for a game name ? 3 04 July 2010 15:29
Name for a Space shoot'em up? retrogamer Looking for a game name ? 6 13 April 2007 04:32

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 01:59.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Page generated in 0.10120 seconds with 14 queries