09 July 2021, 10:17 | #1041 |
Inviyya Dude!
Join Date: Sep 2016
Location: Amiga Island
Posts: 2,770
|
Hey! You need to leave us non Scorpion devs some room to shine, Earok... haha
|
09 July 2021, 14:46 | #1042 | |
Registered User
Join Date: Jun 2020
Location: Leeds, UK
Posts: 770
|
Quote:
With fmode1 on, and the game set to 32colours, this happens to the copper background.. it’s fine with Fmode1 off though. Last edited by Mixel; 09 July 2021 at 15:14. |
|
09 July 2021, 14:53 | #1043 | |
Registered User
Join Date: Apr 2019
Location: UK
Posts: 300
|
Quote:
Basically what I did for Duckstroma on ZX/MSX (25/50). Fine for me as I'm only targeting A500/600 hardware, after a quick test looks promising for playability with more colours and bigger characters. |
|
11 July 2021, 01:00 | #1044 |
Registered User
Join Date: Dec 2013
Location: Auckland
Posts: 3,539
|
Re: F-Mode 1 thing, that's a really tricky thing with DMA timing being odd on F-Mode 1 and 5BP. I don't know how to fix it.
Got lots of bug reports piling up, so I'll be focusing more on those than new features for the meantime. Today's check in to experimental fixes an issue where the "attack" animation slots were being automatically filled with the "walk" slots if empty. I'm honestly not sure why I did that to begin with (and hopefully it hasn't broken any other projects), but it has allowed us to resolve a certain issue with AlarCity, eg. The main character is supposed to be able to shoot and strafe while walking, and shoot while not walking. So what we've currently done is we've got is a setup like this: Player actor: - Idle anims = Frames of the player standing - Walk anims = Frames of the player walking - Attack anims = (unset) Player shooting actor: - Idle anims = Frames of the player shooting while standing - Walk anims = Frames of the player shooting while walking - Attack anims = (unset) (Previously, since attack anims were being filled with the walk anims, the player would be walking on the spot while shooting) |
12 July 2021, 04:31 | #1045 |
Registered User
Join Date: Jun 2021
Location: France
Posts: 28
|
Hi !
I would like to play a short video in the introduction (32 images in png 254x150 pixel). I saw that there was "Anim5". is it used to read this kind of intro video? How to use it ? (I understand that you have to rename an image at the root of the working folder to * .anim5) otherwise, I thought I would do an animation in the "animations" area. But what should I write in code to make this appear before my title screen for example? |
12 July 2021, 05:29 | #1046 |
Total Chaos forever!
Join Date: Aug 2007
Location: Waterville, MN, USA
Age: 49
Posts: 2,186
|
https://wiki.amigaos.net/wiki/ANIM_I...nimations#ANIM is a description of the file format. Deluxe Paint 3+ will generate them though Personal Paint can also generate them.
|
12 July 2021, 06:24 | #1047 |
Registered User
Join Date: Dec 2013
Location: Auckland
Posts: 3,539
|
I can't really give any advice on making ANIM5s (though Samurai Crow's advice would be a good place to start. I use ADPro myself but it's extremely unwieldly with assembling animations).
On playing them, it's just a case of using "Display -> PlayAnim5" in code. This will load the anim, play it, and unload it before continuing. Any music you have playing will continue to play. |
12 July 2021, 09:12 | #1048 |
Registered User
Join Date: Jun 2021
Location: France
Posts: 28
|
Thanks Samurai_Crow, this is fantastic! I completely forgot that it could be an animation format ... and specific to the Amiga on top of that! ^^
And I'm sorry I forgot to research this format before asking my question! Thanks Earok. I had to go test that! i just hope my images are not too big, otherwise it will scam shrink |
12 July 2021, 09:34 | #1049 |
Registered User
Join Date: Jun 2021
Location: France
Posts: 28
|
Earok I thought I noticed that Scorpion, loaded all the images in the project folder when the game starts, which is probably the cause of using more CHIP memory and that it takes at least 2MB of Chip to launch my project. Because by deleting the images which do not serve me for the moment, I was able to redo my project working on an amiga with only 1 mo of ram Chip, and some fast.
My goal being that my project runs at least on an A500 with 1MB of Chip + fast, and with a little power too. A TF536 would be necessary. Is there a way in the future, or maybe even existing, to make the graphics not load all, or put them in FAST? Even on vacation, thank you for answering our questions! |
12 July 2021, 09:54 | #1050 |
Registered User
Join Date: Dec 2013
Location: Auckland
Posts: 3,539
|
It's no worries! I'm actually not on holiday any more (but I'm still very busy with work, so progress is slow)
Recently I added a feature to the experimental - https://github.com/earok/scorpion-editor-experimental - where you can assign an animation to a level, so that animation is only loaded when that level is in memory. But there's improvements to be made, this is currently only really good for "boss" characters that are only in a single level. |
12 July 2021, 09:56 | #1051 | |
Registered User
Join Date: Jun 2020
Location: Leeds, UK
Posts: 770
|
Edit: Earok got there first lol.
Quote:
It shouldn't be loading all the images in the project folder, only the ones that are included in animations and the main font.. Panels etc shouldn't load into chip until they're loaded and displayed? I think! I used the level assign thing for Anna in the demo because she only appears on that one level.. No use for the full game but in this one specific situation it's great. |
|
12 July 2021, 10:00 | #1052 |
Registered User
Join Date: Dec 2013
Location: Auckland
Posts: 3,539
|
That's correct - only animations used in images are put into the project (even if you use the image multiple times, they only go into memory once). Panels are always loaded when requested (except for the talkpad which is always in memory), though I may make it so that specific panels can be kept in memory at all times (which will solve some issues around being able to trigger a "paused" panel at will)
|
12 July 2021, 11:50 | #1053 |
Registered User
Join Date: Dec 2013
Location: Auckland
Posts: 3,539
|
Minor check in to experimental:
1. For top down characters, they no longer "moonwalk" when firing when strafe ticked. 2. When character set to autofire (both platform and top down), if you tapped fire sometimes it wouldn't actually fire. This has been fixed. Edit: I'm giving serious thought to reworking the "push" function so there's the ability to decelerate a push rather than have it moved at a fixed rate for a fixed number of frames. But it may mean that any current code using push may need to be re-tested. Do let me know if you've got any concerns (or any other ideas on how to enhance push) Last edited by earok; 12 July 2021 at 11:57. |
12 July 2021, 13:13 | #1054 | |
Registered User
Join Date: Jun 2020
Location: Leeds, UK
Posts: 770
|
Quote:
Could you have actor variables like.. "resistance" and "momentum" or something, a bit like how gravity works, so you can push stuff but heavy things are slowed down by having a bigger resistance value (1=immovable 0=weightless), but something with a high momentum carries on "sliding" .. This sounds like it might be computationally intensive.. Maybe an overcomplicated way of doing it. |
|
12 July 2021, 17:41 | #1055 | |
Registered User
Join Date: Jun 2021
Location: France
Posts: 28
|
Quote:
I created my animation with a bit of trouble, but I got there ... Unfortunately, Scorpio doesn't want to run it, although I see that there is a dark red image that goes on and off quickly. (I'm just guessing it's loading the palette because it's the dark red color # 1 of the palette that is stealthily displayed) Dpaint V doesn't want to make animation too small, so I did several tests. 1- an animation in 320x256 2-an animated brush in 224x150 (the right resolution) in 16 colors. Strangely, there are some images that don't have the same color palette as the others ... Could it come from there? otherwise, in the "startup" code blocks, I put "play anim5 intro" just after the line "unload the current level". I also tried with and without "don't play an anim5" right after. I don't know if that's what you have to do, to stop the animation like you say Earok, but that doesn't change a thing. note: the animation in 320x256 (too big) is well in 15 fps but it seems to me that it is not adjustable for an animated brush. Can we adjust the FSP in Scorpion? |
|
12 July 2021, 21:30 | #1056 | |
Pixelglass/Reimagine
Join Date: Jun 2012
Location: Athens
Posts: 1,031
|
Quote:
One extra note: we're also considering allowing expressions or feeding these values with variables (currently you can only set numbers). Meaning that f.e. you will be able to roll a dice and then set any value from push = dice for a nice randomising effect |
|
12 July 2021, 21:33 | #1057 |
J.M.D - Bedroom Musician
Join Date: Apr 2014
Location: los angeles,ca
Posts: 3,519
|
Maybe you should treat the animation frames like game characters? How good is Scorpion to do intros arcade styles with bobs?
|
12 July 2021, 23:03 | #1058 |
Pixelglass/Reimagine
Join Date: Jun 2012
Location: Athens
Posts: 1,031
|
|
12 July 2021, 23:07 | #1059 | |
Registered User
Join Date: Jun 2021
Location: France
Posts: 28
|
Quote:
Yes Saimon69, I also tried to do that. Create a bobs animation of my images, but I didn't know what code to write to display it. (if anyone can help a coding newbie, thanks ^^) But now I have an idea that might be a little silly but that might work ... create an empty level, with my actor right in the middle. Anyway, thank you Saimon69 for forcing me to study this track again. Otherwise, what is the "pusch" command for? And I would also have to make a list of all the commands that I don't understand yet. |
|
12 July 2021, 23:58 | #1060 |
Registered User
Join Date: Dec 2013
Location: Auckland
Posts: 3,539
|
Push command means move an actor by X pixels for Y frames. It's used for pushing things around, like crates on a sokoban game.
An alternative to using actors is creating a cutscene out of levels by moving the camera around (see the Ace Attorney intro in the unofficial games repo - https://github.com/earok/unofficial-scorpion-demos - there are no actors in the entire game) |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
2D Platformer Engine | carrion | Coders. Blitz Basic | 27 | 06 June 2019 14:35 |
New Chaos Engine!! | arpz | Retrogaming General Discussion | 75 | 31 August 2013 22:20 |
F/S Warp engine 32 mb | tabuhuso | MarketPlace | 0 | 24 February 2012 15:13 |
PC Engine CD | TodaysForgotten | Retrogaming General Discussion | 47 | 13 May 2009 23:57 |
Scorpion (100% working) | andreas | request.Old Rare Games | 13 | 01 August 2003 08:48 |
|
|