01 August 2020, 18:22 | #101 |
Banned
Join Date: Aug 2005
Location: London / Sydney
Age: 47
Posts: 20,420
|
How do you start this alain.treesong?
Extracted all files from your archive to hard disk... there's no game exe. And what's with "Streets_of_Rage_with_intro.AMOS" and "Streets_of_Rage_with_intro_C.AMOS"; both aren't needed are they? I'd also say drop the "FPS counter" though. |
01 August 2020, 18:31 | #102 |
Registered User
Join Date: Nov 2004
Location: Germany
Posts: 629
|
Hi, here is a small info:
When i tried to compile the sourcecode, the include file just wont load. (the include file is/was the Intro.Amos) I have tried with and without the path, and it just refused to load. Then i decided to save the intro as ascii, and merged it manually with the main file, and saved it as: Streets_of_Rage_with_intro.AMOS I see, "Streets_of_Rage_with_intro_C.AMOS" is the Amos Pro compiled program (compiled, but runable only in/from amos editor) The other (without _C) is the sourcecode of it. Last edited by Dan; 01 August 2020 at 18:39. |
01 August 2020, 18:41 | #103 |
Aghnar
Join Date: Jan 2019
Location: France
Posts: 153
|
Yes, it is more a version for (amos) coder. So the fps counter is interesting
There is the .amos with all the assets and also an amos compiled one but to be executed in the amos pro editor. The only difference with the version you used is the counter and the removal of the tome dependencies but the other things are the same. Anyway, here is a amiga executable version (the assets must be the same that provided with Dan version) to be included after unzip in an adf for example streetOR.zip |
01 August 2020, 18:56 | #104 | |
Banned
Join Date: Aug 2005
Location: London / Sydney
Age: 47
Posts: 20,420
|
Quote:
This won't fit on disk without some magic. |
|
01 August 2020, 19:05 | #105 |
Aghnar
Join Date: Jan 2019
Location: France
Posts: 153
|
Indeed I forgot to say that the level1.iff must be in the "Backgrounds" folder...
So to avoid other pb, here is a complete distrib, with the assets, the .amos, the compiled .amos and the executable file (streetOR) I provided in the last message. streetOfRage.zip |
01 August 2020, 19:25 | #106 | |
Registered User
Join Date: Nov 2015
Location: Vaasa, Finland
Posts: 525
|
Quote:
Some computers and consoles have hardware based sprite flipping, and can therefore do it instantly (Amstrad is probably one of them). But when you mirror blitter objects on the Amiga, there is no hardware acceleration of any kind. Even when the image data flipping is done in assembly, from what I have understood, you still need a 128 kilobyte look-up table to do it fast enough. But if you can somehow fit enough animations into Chip RAM without real time flipping, then maybe you can avoid the problem. |
|
01 August 2020, 19:27 | #107 | |||
Banned
Join Date: Aug 2005
Location: London / Sydney
Age: 47
Posts: 20,420
|
Quote:
Quote:
The following .ADF has now been created / uploaded to The Zone! Streets of Rage (demo-playable) (2020)(Nash, Brick)[m alain.treesong][AMOS].adf...unfortunately though, this version no longer works with only 1MB Chip (background is blank). Works fine with: Quote:
|
|||
01 August 2020, 19:44 | #108 |
Banned
Join Date: Aug 2005
Location: London / Sydney
Age: 47
Posts: 20,420
|
|
01 August 2020, 22:47 | #109 |
Aghnar
Join Date: Jan 2019
Location: France
Posts: 153
|
@DamienD
Here is a version without the fps counter. streetOR.zip It is the same source than the Dan version except the iff instead of using Tome. So if it is quicker, it probably comes from the compiler. The compilation uses a version of Amos pro I built from the last version of F.Lionet (2.0) + Amcaf + Amos turbo + little enhancements by Amos Factory. I link this version : AMOSPro_Community_2020_1.zip Last edited by alain.treesong; 01 August 2020 at 23:47. |
02 August 2020, 00:35 | #110 |
Banned
Join Date: Aug 2005
Location: London / Sydney
Age: 47
Posts: 20,420
|
Perfect, thank you kindly Alain
So now in The Zone! you will find: ... Streets of Rage (demo-playable) (2020)(Nash, Brick)[m alain.treesong][AMOS][with FPS].adf [your old file] ... Streets of Rage (demo-playable) (2020)(Nash, Brick)[m alain.treesong][AMOS].adf [your newest file] |
02 August 2020, 02:53 | #111 |
Phone Homer
Join Date: Jun 2006
Location: 5150
Posts: 5,773
|
Nash managed to display the background as a Map but you've replaced it with an IFF? this is a step backwards.
|
02 August 2020, 08:59 | #112 |
Prototron
Join Date: Mar 2015
Location: Glasgow, Scotland
Posts: 411
|
Wow, lot been happening in a few hours!
alain.treesong - thank you for the new version and all your advice. It's great to hear stuff like that because I have no clue what to even look for in my code to be able to optimise it, so that's valuable information. Dan and DamianD - thank you also for helping to compile properly to adf. I've still no clue what to do really. Just to say, I noticed that there was a couple of bugs in the demo from watching Superman's much appreciated playthrough. The flashing enemy is a mystery as it's fine on my PC, but the other bug was that the enemies will get trapped in their "punch" state until hit again (something that I was working on but never finished). If the player scrolls the screen past them while this happens the enemies won't re-spawn as the remaining enemy will be off screen still punching away. I've fixed this by using alain's new source, so they will break out of punching if the player is outside the attack range. I don't know how to compile it as fast as alain's version, but this is the fixed (uncompiled) source (FPS counter deactivated as well): https://drive.google.com/uc?export=d...7RmmdgRQt-3ubr Regarding the flipping, if it's that much of a bottleneck I could write something in the slicer which imports the chunks off the sheet, then uses HREV to flip it, draw it on a hidden screen, then re-import it into the bank. This would save having another sheet and would be done in loading time, so it wouldn't affect the game. As for displaying the entire map level, I've not worked that out yet. Creating a big screen and just scrolling through it is the only method I know, but that's limited to 1023 pixels wide (that's why I split the level map into three chunks). The full level map is there, (L1_16x16_TOP.map) but I don't know how to apply it. Anyway, thanks for all the effort and interest folks! |
02 August 2020, 14:26 | #113 |
Aghnar
Join Date: Jan 2019
Location: France
Posts: 153
|
Hi all,
@DamienD In fact, to be honest, it is more the source of Brick (of course) and Dan because Dan fixed all the path problems and integrates the include. I only add the iff instead of the use of Tome and the fps counter. So we can say it more a version like that :-) : Streets of Rage (demo-playable) (2020)(Nash, Brick)[m EAB members][AMOS] @Retro1234 The iff is temp. solution to replace the use of Tome. Tome is too slow to be used in a game like that. So it is not a backward. But that's sure not big progress ;-) @Brick Nash To do an infinite horizontal scroll, here is an algo you can use: - open a double width screen + a little margin. For example 320*2+32. +--------+--------+ +A B C D|A B C D +--------+--------+ ---^player The player sees the first ABCD image at the begining - then, while scrolling with screen offset, build the following of the scenery by copying icon E (paste icon or better f paste icon from Amos Turbo) +-+--------+------+ +E|B C D E | B C D +-+--------+------+ ---------^player You have to copy also E in the beginning of the screen. Now the player sees BCDE - Continue the process until the scroll has reached 320 : +--------+--------+ +E F G H|E F G H +--------+--------+ ------------- ^player Now the player sees EFGH but in the right part of the screen. So we can't scroll more at right. BUT we have built exactly the same image in the left part of the screen, so if we scroll offset to 0, the player can't see the difference but he is now came back at the beginning of the screen +--------+--------+ +E F G H|E F G H +--------+--------+ ----^player So we can continue the same process infinitely. Another thing : I see in the code the use of the bob instruct in the main loop. The bob initializes all the things so it is a relative slow process. The idea is more to initialize the bobs at the beginning and then in the main loop to modifty the postions and image by using amal. It is faster. To finish with that, because I have another project in the works, here's one last thing: I speak about splitting the render into two parts : the back with the scenery and the front for the bobs. The problem is that we lose the 16 colors palette to a palette 8 + 8 (in fact 8 + 7). So I try to reduce the scenery to 8 colors + rainbow. Here is the result. Not so bad for an image which was not designed for this palette : So perhaps the solution can be studied Bye bye. Aghnar |
02 August 2020, 14:28 | #114 | |||
Banned
Join Date: Aug 2005
Location: London / Sydney
Age: 47
Posts: 20,420
|
Quote:
I have experienced the "enemies will get trapped in their punch state until hit again", but never the one that Superman's video shows. Great that this is now fixed Quote:
Quote:
Last edited by DamienD; 02 August 2020 at 14:33. |
|||
02 August 2020, 15:29 | #115 | |
Registered User
Join Date: Jul 2015
Location: Novi Sad, Serbia
Posts: 1,645
|
Ok, I recorded video on my A500 with Aca500+
It's 68000 processor that can go up to 42Mhz. It has 1MB Chip ram, and 7MB other ram. I tested all speeds, at 7,21,28, and 42Mhz. It was with Dan file he uploaded (thanks Dan), because I haven't seen alain.treesong version by the time I recorded. Here it is: [ Show youtube player ] Personally, I haven't felt difference between 28, and 42Mhz, and even on highest speed, it can slow down from time to time (I suspect, it's because of the 1MB chip ram). On 14Mhz, it's a little sluggish (when all 3 enemies are around). However Never, anytime in my life, I've played beat em up on my Amiga, with this great gameplay (not even Golden Exe). Brick Nash did amazing job on gameplay. Amiga desperately needs beat em ups like this. Quote:
Exactly like in my video at 1:05, right? I noticed they get stuck like that, sometimes. |
|
02 August 2020, 16:19 | #116 | |
Banned
Join Date: Aug 2005
Location: London / Sydney
Age: 47
Posts: 20,420
|
Quote:
As soon as there are 2 or 3 enemies on screen; the game slows down. |
|
02 August 2020, 16:21 | #117 |
Total Chaos forever!
Join Date: Aug 2007
Location: Waterville, MN, USA
Age: 49
Posts: 2,186
|
AmosPro redraws all bobs each frame. Graphics.library generates a damage list in contrast.
|
02 August 2020, 17:19 | #118 | |
Prototron
Join Date: Mar 2015
Location: Glasgow, Scotland
Posts: 411
|
Quote:
I downloaded and installed alain.treesong's faster compiler and is used it with the updated code to create a CLI file (I think that's what was used on the disk). This version fixes the punch issue and I've also made the player hitbox a bit more generous as I noticed that folk were getting stuck between enemies while punching and nothing was colliding. I've NO idea if it'll work, because the installation of the compiler was a bit flaky, but it's maybe worth a try? https://drive.google.com/uc?export=d...vQKHzVMnMsE4K7 And this is an updated version of the uncompiled source: https://drive.google.com/uc?export=d...7RmmdgRQt-3ubr Cheers for the kind words dude! I just wish it ran a bit faster on lower spec machines. Last edited by Brick Nash; 03 August 2020 at 08:13. |
|
02 August 2020, 19:51 | #119 |
Phone Homer
Join Date: Jun 2006
Location: 5150
Posts: 5,773
|
Ok I agree, I never liked Tome but did like Shadow Software.
Yeah you can scroll faster without Tome, Tome is just software scrolling. But don't in general like demos with just IFF unless it's a static screen etc. an easier way of horizontal scrolling is the corkscrew and if your only scrolling right its even easier and there was someone on this forum I can't find the thread found a way to disable the screen bob clipping so if it works you won't even need to reposition the Bobs. found it http://eab.abime.net/showthread.php?t=87636 But this won't actually be faster than how he was doing if I understand he was opening one large screen 1024 horizontally and filling it with tiles? and then Hardware scrolling(screen offset) to the end then re-populating it? so this won't actually be faster,but smaller size bitmaps and slightly less memory. but be great if someone had the time and swapped out the main hero for a Sprite instead of a bob and gave him the speed increase he wanted. Last edited by Retro1234; 02 August 2020 at 20:20. |
12 August 2020, 00:26 | #120 |
Registered User
Join Date: Jul 2015
Location: Novi Sad, Serbia
Posts: 1,645
|
I will join Flat Earth Society, if no one continue developing this.
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Streets of Rage 2 with Blitz | Master484 | Coders. Blitz Basic | 48 | 19 April 2020 12:33 |
Streets of Rage I vs II vs III - Which is Best? | ZEUSDAZ | Retrogaming General Discussion | 16 | 15 August 2019 23:53 |
Final Fight vs Streets Of Rage 2 (Which Is Best?) | ZEUSDAZ | Retrogaming General Discussion | 32 | 15 February 2017 20:30 |
Streets of Rage Remake | Retro-Nerd | Retrogaming General Discussion | 10 | 21 April 2011 23:30 |
Streets of Rage for Amiga | The Master | Retrogaming General Discussion | 6 | 17 August 2006 12:26 |
|
|