English Amiga Board


Go Back   English Amiga Board > Other Projects > project.Amiga Game Factory

 
 
Thread Tools
Old 27 June 2022, 02:07   #2241
Mixel
Registered User

Mixel's Avatar
 
Join Date: Jun 2020
Location: Leeds, UK
Posts: 652
This is the longest standing consistent source of documentation.. Stuff has often been answered before but may not be easy to find the answers in such a big thread if you don’t know quite what to search for..

Sometimes you might get faster responses from the discord https://discord.gg/CA3Byf7P depending on who’s around to answer. Also asking people while they’re streaming can sometimes work too as they can maybe show you in real-time (depending on the complexity of the question) Earok and I both stream scorpion stuff on twitch, and more people will be soon I’m sure. There are some visual things that are actually pretty hard to explain in text I think.
Mixel is offline  
Old 27 June 2022, 11:19   #2242
earok
Registered User

 
Join Date: Dec 2013
Location: Auckland
Posts: 3,057
Part of the reason I resisted setting up a discord server for so long was precisely because this thread can be searched (here or on google) without needing to be a discord user, but admittedly it would be a bit hard to find specific solutions.

At some stage or another (and I've promised to do so whenever the Patreon crosses the first milestone, it's 80% of the way there), I'll set up a documentation site that may include an FAQ with solutions like how to do pseudo 8x8 platforms.

---

Latest experimental is up, with a sound test keyboard sponsored by BitBeamCannon!




- The sound keyboard can be opened from either the Code tab or the Audio/Anim5 tab. It allows you to quickly test what a sound plays like at each of the 36 predefined semitones.

- The "class" type (actor, player, projectile etc) no longer displays Default. If you haven't manually defined the class, it'll still try to use use the most sensible default for the combination of other settings, but at least you can see at a glance what the class will be when compiled.

- Same as above, but for the "recycle" type too.


This will probably be the last major feature to be added for this iteration, I still need to do some testing and bug fixes before the next public release.
earok is offline  
Old 27 June 2022, 13:34   #2243
UltraNarwhal
Registered User

UltraNarwhal's Avatar
 
Join Date: Apr 2019
Location: UK
Posts: 180
Quote:
Originally Posted by earok View Post

Latest experimental is up, with a sound test keyboard sponsored by BitBeamCannon!

This will probably be the last major feature to be added for this iteration, I still need to do some testing and bug fixes before the next public release.
Some nice new features to use for my future games. Only glitch I noticed is after the splash screen it briefly shows ugly vertical lines.

If I update Duckstroma I'll have to use 2022.4 though, as I lose 30KB using parallax on the title screen.
UltraNarwhal is offline  
Old 27 June 2022, 16:13   #2244
earok
Registered User

 
Join Date: Dec 2013
Location: Auckland
Posts: 3,057
Quote:
Originally Posted by UltraNarwhal View Post
Some nice new features to use for my future games. Only glitch I noticed is after the splash screen it briefly shows ugly vertical lines.

If I update Duckstroma I'll have to use 2022.4 though, as I lose 30KB using parallax on the title screen.
I think that glitch is related to the new background/parallax swapping feature.. I'll fix it for sure before making 2022.5 public.

Part of the reason I was hesitant to add it at all is because I knew there'd be an additional overhead with the preallocated memory, in order to allow the developer to (potentially) use the largest parallax background on the level that uses the most memory. Those used to be counted together, so you might have had your largest parallax file on your smallest level and ended up with small memory footprint overall, but now they're not.


What I'm thinking of doing is adding a "memory unsafe" mode that doesn't allocate memory up front for things that get loaded and unloaded, and deallocates memory when levels/backgrounds/panels/music etc are unloaded.

This'll make it much easier to fit games into less memory, but also puts additional overhead on the developer to make sure that (for example) a player won't spend several hours playing through the game on an A500 only for it to crash on the final boss because the final boss level has the largest music, level etc.
earok is offline  
Old 28 June 2022, 05:25   #2245
earok
Registered User

 
Join Date: Dec 2013
Location: Auckland
Posts: 3,057
Latest experimental update.

- New feature: You can disable "preallocation" of memory. It simply means that it doesn't allocate all of the possible required memory up front, which will save on memory overall but it means that the developer will need to take responsibility to make sure that there is never a combination of levels/music/backgrounds etc loaded that will cause a crash at any part of the game on the target Amiga.

- A few fixes for bugs relating to loading backgrounds.

(Just realised there's a fix I still need to do to unload parallax from memory if swapping from a level that has parallax to one that doesn't)
earok is offline  
Old 29 June 2022, 07:21   #2246
earok
Registered User

 
Join Date: Dec 2013
Location: Auckland
Posts: 3,057
Latest check in is more or less bug fixes only. It's not well tested, but:

- Fix for Mixel's reported issue re: animations with 0 length frames not playing

- Fix for Mixels' reported issue re: animations linked to levels not display correctly if memory pre-assignment is turned off

- A few optimisations which should hopefully squeeze out a little more memory
earok is offline  
Old 29 June 2022, 19:48   #2247
acidbottle
Registered User

acidbottle's Avatar
 
Join Date: Jul 2018
Location: Scotland
Posts: 519
I think there is an issue with setscrollspeed.

After setting horizontal and vert scrollspeed to 2, on event codeblock trigger, I yield for 1 frame before setting scrollspeed to 0. Sadly it carries on with speed 2. Not been able to fix, worse still it seems very intermittent and sometimes it does work, most not tho.
acidbottle is offline  
Old 30 June 2022, 06:35   #2248
earok
Registered User

 
Join Date: Dec 2013
Location: Auckland
Posts: 3,057
Quote:
Originally Posted by acidbottle View Post
I think there is an issue with setscrollspeed.

After setting horizontal and vert scrollspeed to 2, on event codeblock trigger, I yield for 1 frame before setting scrollspeed to 0. Sadly it carries on with speed 2. Not been able to fix, worse still it seems very intermittent and sometimes it does work, most not tho.
I might need an example. Admittedly scroll speed isn't widely used, especially with diagonal direction, but I'll still need some way of investigating the project to find if the cause is codeblocks or the engine.

---

Haven't been on stream in awhile, will go on at 9PM tonight (approximately 4.5 hours from now).

I'll be remaking the original parallax demo (https://twitter.com/earok/status/1378874623408828420) from scratch to work with the latest Scorpion Engine. It'll be worthwhile to do so because I don't really have any Scorpion Engine samples with multiple overlapping foreground and background layers like that.
earok is offline  
Old 30 June 2022, 10:48   #2249
acidbottle
Registered User

acidbottle's Avatar
 
Join Date: Jul 2018
Location: Scotland
Posts: 519
Cheers eaork, will try and sort out a useful build to test as soon as is possible. It can be tricky to replicate but also seems to be a problem on 1 specific level, similar routines used on another level work with no issue at all!

Its a big one since once this is squashed the game will be completely playable from start to finish by the end of the week! (extensive playtesting, polish and minor bug squashing still to to).
acidbottle is offline  
Old 30 June 2022, 12:40   #2250
UltraNarwhal
Registered User

UltraNarwhal's Avatar
 
Join Date: Apr 2019
Location: UK
Posts: 180
Quote:
Originally Posted by earok View Post
- Fix for Mixels' reported issue re: animations linked to levels not display correctly if memory pre-assignment is turned off
Noticed linking animations to levels is bugged when used, the sprites don't load (memory is preallocated), only when they're unlinked.
UltraNarwhal is offline  
Old Yesterday, 11:37   #2251
earok
Registered User

 
Join Date: Dec 2013
Location: Auckland
Posts: 3,057
I've done a check in to experimental, which may fix some of the bugs reported by UltraNarwhal (and on Mixel's stream), but I need to test much more extensively. I'll spend the next hour or so doing some testing on all of the sample games.

Also did a bunch of tidy ups on Scott Pilgrim (also prompted by issues found on Mixel's stream).

If you happen to be online, and you're still having noticeable glitches with the latest experimental, ping me on discord, twitter or whatever, I'll investigate immediately.

---

Stream announcement:

At 9AM UTC Sunday (Just under 24 hours), I'll be collaborating live with Bit Beam Cannon, doing work on the "Scorpion Boy" game for A500.

http://twitch.tv/earok




---

EDIT: Had a closer look at what was happening on Duckstroma and realized what the bug was. I've checked in a second fix.

Last edited by earok; Yesterday at 12:01.
earok is offline  
 


Currently Active Users Viewing This Thread: 3 (0 members and 3 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

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:28.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, vBulletin Solutions Inc.
Page generated in 0.16362 seconds with 15 queries