![]() |
![]() |
#121 |
Registered User
Join Date: Sep 2019
Location: Italy
Age: 51
Posts: 302
|
Fantastic! Will there ever be a non-tiny Galaga?
![]() |
![]() |
![]() |
#123 |
Registered User
Join Date: Jul 2018
Location: Stockholm / Sweden
Posts: 184
|
|
![]() |
![]() |
#124 |
Registered User
Join Date: Sep 2019
Location: Italy
Age: 51
Posts: 302
|
Ok these are nice games, but they are different from the arcade anyway. A faithful conversion to the original would be nice. IMHO
|
![]() |
![]() |
#125 |
WinUAE 4000/40, V4SA
![]() Join Date: Apr 2020
Location: East of Oshawa
Posts: 538
|
If they were intended to be "faithful conversion[s]", they wouldn't be Tiny.
![]() |
![]() |
![]() |
#126 |
Inviyya Dude!
Join Date: Sep 2016
Location: Amiga Island
Posts: 2,798
|
|
![]() |
![]() |
#127 | |
Banned
Join Date: Aug 2005
Location: London / Sydney
Age: 47
Posts: 20,420
|
Quote:
![]() |
|
![]() |
![]() |
#129 |
Registered User
Join Date: Aug 2018
Location: Untergrund/Germany
Posts: 410
|
The basic idea is to have a 1-dimensional array of linked pointers to hold your collision objects. To get a 1-dimensional array index from your X/Y pos you can use morton codes (see wikipedia).
My implementation looks like this: - Divide X/Y pos by 16 - Have a table that converts each X/Y value into a value interleaved with a 0 for each bit. So for instance 0b1111 becomes 0b10101010. - Shift converted X left by 1 and or with converted Y pos - Now you have a 1 dimensional hash of your position (the morton code) - In my case i insert then the enemies each frame with this hash into predefined bins of an array (just like a hash table). - To test for collision you calc the morton code for your bullet and look into the corresponding bin. Usually the bin is empty. If not you need to make a aabb test against all entries of that bin. This algorithm allows to get the number of comparisons from num_bullets*numEnemies to roughly num_bullets+numEnemies, of course with a much more complicated setup. If you have many comparisons each frame it can be a real time saver. In comparison to array sorting it also doesn't suffer from axis clustering. If your objects can be easily sorted among a single axis then lazy array sorting is usually faster. If you have only a few comparisons then just brute force. |
![]() |
![]() |
#130 | |
Inviyya Dude!
Join Date: Sep 2016
Location: Amiga Island
Posts: 2,798
|
Quote:
![]() Interesting explanation, thank you.. Not a long time ago, I was starting a thread with this kind of question (how to speed up bounding box checks with bullets etc), leading to various results. But this sounds quite brilliant. Not understanding it yet, but will look into it.. |
|
![]() |
![]() |
#131 |
Registered User
Join Date: Mar 2018
Location: Alexandria, VA (USA)
Posts: 14
|
I grabbed the ADF and wrote it out to disk and tried it on my A1000 with 1.3 KS and 512K CHIP and 2MB FAST and it crashes during boot. Is it supposed to run in this machine? Thanks.
bp |
![]() |
![]() |
#132 |
Defendit numerus
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 54
Posts: 4,491
|
|
![]() |
![]() |
#133 |
Registered User
Join Date: Mar 2018
Location: Alexandria, VA (USA)
Posts: 14
|
Sadly, it is indeed an NTSC A1000. The game works great on the A2000 via WHDLoad (with ECS Agnus), where it goes PAL. Would've loved to see this on my A1000. Glad to have it for the A2000 tho -- thanks for the effort.
bp |
![]() |
![]() |
#134 | |
Registered User
Join Date: Sep 2019
Location: Italy
Age: 51
Posts: 302
|
Quote:
They are all beautiful games, clones of Galaga, but they are not faithful to the original. Different spaceship sprites, different enemy sprites, different music and sounds not really my idea of ??arcade conversion. From this point of view, it is much more reminiscent of the original game Tiny Galaga. |
|
![]() |
![]() |
#135 |
Registered User
Join Date: Oct 2014
Location: Klagenfurt / Austria
Posts: 1,571
|
on tiny galaga i encountered a bug: if i score highest highscore (1st), my score is mirrored in 2nd. see screenshot.
another question: how can i exit to workbench without reboot? |
![]() |
![]() |
#136 |
Bug hunter
Join Date: Jul 2006
Location: Italy
Age: 48
Posts: 2,171
|
|
![]() |
![]() |
#137 |
Registered User
Join Date: Oct 2014
Location: Klagenfurt / Austria
Posts: 1,571
|
this score duplication bug can be reproduced, see screenshot.
|
![]() |
![]() |
#138 |
Registered User
Join Date: Oct 2014
Location: Klagenfurt / Austria
Posts: 1,571
|
another bug: if i'm about to enter challenge mode and i get bonus then challenge mode is quit.
|
![]() |
![]() |
#139 |
Moderator
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,658
|
Seems more faithful than Deluxe Galaga, I miss colors though and the screen could be full width. Doesn't mean you can't have a bit of fun with it!
|
![]() |
![]() |
#140 |
Registered User
Join Date: Oct 2014
Location: Klagenfurt / Austria
Posts: 1,571
|
this score duplication bug is recurring. really annoying!
and there won't be a bug fix i assume... |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Tiny Invaders | pink^abyss | Amiga scene | 44 | 23 May 2020 21:28 |
Tiny Launcher help | -Acid- | support.Other | 0 | 08 July 2018 12:22 |
Tiny Launcher 1.7 | gibs | News | 53 | 27 April 2014 21:48 |
Tiny Troops | Dokugogagoji | project.WHDLoad | 3 | 23 November 2013 15:21 |
Tiny Troops | Maverick357 | support.Games | 4 | 29 July 2001 18:21 |
|
|