18 January 2022, 11:10 | #1701 |
Registered User
Join Date: Dec 2013
Location: Auckland
Posts: 3,539
|
Thanks guys!
Another ad hoc test stream scheduled for 7PM UTC Tuesday. |
18 January 2022, 21:41 | #1702 |
Registered User
Join Date: Dec 2013
Location: Auckland
Posts: 3,539
|
New check in - reworked the horizontal shooter considerably to have an orbiting drone as well as a bunch of bug fixes, also added a new demo for the color changing function.
Thanks to everyone that came on the stream. Unfortunately I didn't know about the video saving thing so I didn't have the automatic saving setting on (and it would have been a nice one to save since I made a demo from scratch), but next time I'll make sure that whatever I work on will be saved on Twitch (and ultimately uploaded to YouTube). |
18 January 2022, 22:43 | #1703 |
Registered User
Join Date: Apr 2021
Location: FRANCE
Posts: 93
|
Yes, thanks for automatic saving…
|
19 January 2022, 04:10 | #1704 |
Registered User
Join Date: Dec 2013
Location: Auckland
Posts: 3,539
|
Did another hot fix, experimental and public
- Fixed bug where sometimes code after loading a level wouldn't run - Prevented parallax on 7 and 8 bitplane modes (doesn't seem to work) - Fixes for camerax_max (variable that determines how far to the right the camera can go) - Removed ability to set number of bitplanes per level (this was problematic and didn't really add anything of use) - Fixes for cpu_platform on slopes - Increased loading delay on kickstart 1.3 from 1 second to 2 seconds to try and solve drive sound issues (does not affect kickstart 2.0 and up) |
19 January 2022, 18:42 | #1705 |
Registered User
Join Date: Jun 2020
Location: Leeds, UK
Posts: 770
|
Great stream yesterday.
bug: camera_ymax seems totally broken for me now, various places where i set it in codeblocks have no effect anymore.. As for Xmax, im not entirely sure why i have xmax set to the level width on some maps (i think it was to solve a long-fixed bug ages ago) but in the places where i do.. you can scroll off the side of map resulting in a load of corruption on the right. (like this) - not sure if thats a bug though as you dont need to xmax the right side of the map anyway! Ed: this screen actually has both glitches in, the Ymax is supposed to be limited so you can’t see the room below the grey platform, too. (So you can see more in the boss fight) Last edited by Mixel; 20 January 2022 at 01:53. |
20 January 2022, 02:54 | #1706 |
Registered User
Join Date: Nov 2021
Location: Italy
Posts: 39
|
So I've been trying the parallax system in SE. I'm using a single-layer (full-screen, so to speak) parallax. I see that the default scrolling settings are... Jim-power style, aka "reversed". I thought they were reversible using negative value in the scrollspeed in the parallax csv, but that doesn't seem to be the case? Any insight?
|
20 January 2022, 07:36 | #1707 |
Registered User
Join Date: Jun 2020
Location: Leeds, UK
Posts: 770
|
It sounds like you’ve pretty much got how it works? you need -numbers in the scrollleftspeed and normal numbers in the scrollrightspeed, and probably 0 in scrollidlespeed for regular scrolling.
Last edited by Mixel; 20 January 2022 at 09:37. |
20 January 2022, 13:08 | #1708 |
Registered User
Join Date: Dec 2013
Location: Auckland
Posts: 3,539
|
@Mixel sadly the camera min/max etc was something I did wrong the first time around.
Latest check in adds: - MapWidth and MapHeight (in pixels) as variables - A new "camera bounds" function under Display that replaces manually setting cameraxmin, cameraxmax etc. The new function is what will need to be used going forward. It *should* all work if you plug the values into it that you used to use. |
20 January 2022, 18:11 | #1709 |
Registered User
Join Date: Jun 2020
Location: Leeds, UK
Posts: 770
|
Oh that sounds great!
So far though it doesn't work exactly the same as it used to, it doesn't seem to include the stuff off the bottom of the visible window anymore.. previously i had to factor in my smaller than average vertical view and the statusbar into the max value, that doesn't seem to be the case now (this way is much better!) ATM i am having some issues with teleporting the player and camera and setting the camera bounds in the same code block, i'll tinker with it a bit more but i think there might be a bug there.. it keeps teleporting the player out of bounds or putting the camera in odd places. |
20 January 2022, 22:46 | #1710 |
Registered User
Join Date: Dec 2013
Location: Auckland
Posts: 3,539
|
There were definitely some oddities about how camera_xmax etc used to work that could have required putting in values that didn't really make sense. But the new camera bounds function should be more reliable in that regard.
Checked in one more fix for the camera bounds, not sure if that will fix your issues or not. I completely forgot that I added a new "palette crunch" feature, which may make it a little easier to squeeze the palette down if you want to drop a bitplane or two. It: A) Removes all duplicate colors. B) Optionally reduces bit depth (so it can convert from 8bit AGA colors down to 4bit OCS colors, 3bit ST/Mega Drive colors, even 2bit Master System colors). C) Optionally removes all colors that are going to be made redundant by EHB mode anyway. Not really a substitute for an artist doing it all manually but it might have some uses. I used Jazz Jackrabbit as a test: Original, 128 colors at 8 bits 64 colors at 3 bits (still AGA required, but a healthy performance and memory boost) 32 colors at 2 bits (I realise it starts to look pretty crappy here but at least it'd now run on an ECS Amiga) I may at future look at making it so that it will merge colors that are visually closest to each other in order to force a palette of exactly a certain number of colors. |
21 January 2022, 11:19 | #1711 |
Registered User
Join Date: Jun 2020
Location: Leeds, UK
Posts: 770
|
That looks super useful!
The camera_bounds thing was mostly me being dumb and mistaking how the 0,0,0,0 things work, I need to leave them blank most of the time, not have 0s in them. Also Up,Down,Left,Right confused me a bit? (not sure why) One thing I was having a bit of trouble with is a block that's supposed to snap the view to a ymax, the xmin is working but the ymax just isn't doing anything.. but my camera_bound bottoms are working in other places, i think! I was able to fix my issue by directly changing the mapheight variable though.. I've commented out my fixes and uploaded it just in case there's an error or im doing it wrong. No rush to look at it though as i've worked around it, but maybe there's an issue.. Jump up once - the green boxes run the codeblock "camerablocks" where they should be limiting the Ymax to 235, at least that did work with Ymax directly.. Now it doesnt. |
21 January 2022, 15:08 | #1712 |
Registered User
Join Date: Nov 2021
Location: Italy
Posts: 39
|
I'm not sure how camerabox and camerabounds are supposed to work. For example, I'd like for the camera to be always "centered", or rather, fixed to a certain relative position. Until now I did that with set manually with set camera position commands and "camera blocks" restraining camera follows in certain directions (say, if I didn't want to show what's on the right or left of a certain wall or things like that) and I'm pretty sure they'll be needed for some situations, but I guess that's not the norm for normal map movement.
I'm attaching a li'l image as an example: the black area is the viewable screen (256x256) and the green area is used to show the "camera box" I'd like the scrolling to react to, centered on the actor icon, but still showing what's in the black box... Ugh, I sound confusing, but I hope the image does a better job at explaining than I. Oh, almost forgot: Thanks @Mixel and @Earok about the parallax scrolling speed explanation! |
21 January 2022, 16:02 | #1713 | |
Registered User
Join Date: Jun 2020
Location: Leeds, UK
Posts: 770
|
Quote:
I think I see what you're getting at.. are you making a mario style platformer? The camera bounds thing is just for setting physical limits to the top/bottom/left/right, so you can use it to guide the scrolling limits.. if you want a little sensitive box like that you want to set Camera box pretty strangely.. try Left: 10 / Right: 10 / Up: -50 / down: 10 (or something) That might be too loose, or it may be too low, or high.. I have a motorbike stage where the bike has to be at the middle-left with lots of scrollspace, i have Right:-88 on that.. It'll definitely take some fine tuning. |
|
21 January 2022, 16:52 | #1714 |
Registered User
Join Date: Jul 2018
Location: Scotland
Posts: 821
|
All okay here Mixel thank you
Was in a state of flux regarding the latest SE builds. However, it didn't take long to patch up some issues and all is working nice again! Camera bounds sounds interesting, will have a fiddle with that later. Was impressed with Neeso's latest demo and noticed at the end of the level the bonus scores adding up in real time. Not seen this effect in any other projects yet and wondered that if this is easy to implement, I'd love some tips on getting that same effect, tried but went haywire! I figure the key is using a separate objects for each number under panel settings? |
21 January 2022, 17:06 | #1715 | |
Registered User
Join Date: May 2021
Location: Italy
Posts: 7
|
Quote:
First of all sorry for not participating much in the discussion here but I'm not very fond of forums The scoring is pretty simple actually: - make a panel with separated elements attached to score values - in the codeblock, after loading/showing the panel, make a while loop - while pows_number > 0: decrease pows_number by 1, increase global score by the bonus points, play the score sfx, yeld for the duration of the sfx - when the loop ends, load next level I hope this helps |
|
21 January 2022, 17:31 | #1716 |
Registered User
Join Date: Jul 2018
Location: Scotland
Posts: 821
|
Cheers Neeso for that, hugely appreciated and no need to apologise at all, just keep up the great work
|
21 January 2022, 17:57 | #1717 | ||||||
It's all in the reflexes!
Join Date: Nov 2009
Location: Wingkong warehouses
Posts: 206
|
Quote:
Quote:
Quote:
Quote:
But idk how to make thin platform instead of these "thick" 16x16 ones... Quote:
Quote:
Some questions : 1) When I hit the attack button, the attack sprite is displayed. But if I move the sprite (right or left) while hitting the attack button, the sprite will move (in fact it slips). How can I block the sprite so that it can't move when attacking ? Does it need some code to implement this behaviour ? [ Show youtube player ] 2) The palette I use is a 16 colors palette with 6 main colors for the player's sprite+panel. So I've 10 "free" colors. Is it possible to change these "free"colors according to the levels/rooms. I saw a "display / setcolor" in the Command's page, but idk if it's intended to be used for this kind of thing. Anyway I made some progress with my test project, and I'm amazed by what's possible to do with almost no code ! I even created a second room and link it to the first one. [ Show youtube player ] Last edited by Jack Burton; 21 January 2022 at 18:19. |
||||||
21 January 2022, 18:27 | #1718 | ||
Registered User
Join Date: Nov 2021
Location: Italy
Posts: 39
|
Quote:
Quote:
As for transparencies, alot of amiga programs don't handle that effectively. I use photoshop on windows (aseprite is great for that, as well), and just add a transparent color when saving pngs. The engine will do the rest and treat is as transparent without using extra colors. I have to say tho, that black border on your sprites give the game a really nice retro feeling, like a spectrum game. I don't mind it at all, personally! Last edited by griffon; 21 January 2022 at 18:57. |
||
21 January 2022, 19:04 | #1719 | |||
Registered User
Join Date: Jun 2020
Location: Leeds, UK
Posts: 770
|
Quote:
Quote:
Quote:
Last edited by Mixel; 22 January 2022 at 00:16. |
|||
22 January 2022, 12:05 | #1720 |
Registered User
Join Date: Jun 2020
Location: Leeds, UK
Posts: 770
|
Feature idea: optional extra collision squares on actors? Was thinking about “spread” projectiles like in Turrican’s multiple, given the sprites are screen height*, could lots of bullets be a single sprite, improving performance in comparison to a ton of little bullets, but that’d only work if the single sprite could have multiple collision boxes?
*I think? Nb: this would be even more interesting if the various collision squares could have different codeblock calls? Last edited by Mixel; 22 January 2022 at 14:11. |
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 |
|
|