English Amiga Board


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

 
 
Thread Tools
Old 14 June 2019, 13:10   #41
earok
Registered User

 
Join Date: Dec 2013
Location: Auckland
Posts: 2,034
Quote:
Originally Posted by Clydos View Post
@earok: Cool stuff!

How does the process "converts into into a tiled map" work? Is that an automated process? Semi-automated? Manually? Would be interested in this process.
Automated. I have a template of a Tiled map which is resized by the Scorpion compiler to dimensions exactly matching the image. Then, a tile set is generated by analysing each 16x16 section and adding every unique tile exactly once to the tileset image (which can be seen at the bottom right)

There would still be a bit of manual cleanup work involved of course, such as declaring which tiles are solid or not, and maybe removing bad tiles (such as the ones made up of the fish and birds that overlap the tiles) but the tool takes most of the work out of manually porting an image to the Scorpion engine.
earok is offline  
Old 14 June 2019, 13:30   #42
Clydos
Registered User

 
Join Date: May 2018
Location: Dresden / Germany
Posts: 101
Alright, interesting, thanks for the info!

So, each extracted tile is then compared pixel by pixel to get the unique once, right? Or is there some kind of "calculating the checksum of each tile" in order to quick compare unique ones?
Clydos is offline  
Old 14 June 2019, 13:31   #43
earok
Registered User

 
Join Date: Dec 2013
Location: Auckland
Posts: 2,034
Quote:
Originally Posted by Clydos View Post
Alright, interesting, thanks for the info!

So, each extracted tile is then compared pixel by pixel to get the unique once, right? Or is there some kind of "calculating the checksum of each tile" in order to quick compare unique ones?
It's pixel by pixel, which I'll admit is inefficient - but since the Scorpion compiler is aimed at modern Windows machines, the whole process runs in a fraction of a second anyway.
earok is offline  
Old 14 June 2019, 13:43   #44
Clydos
Registered User

 
Join Date: May 2018
Location: Dresden / Germany
Posts: 101
Yeah, you are right. Still, I wonder how a checksum based (or so) algorithm could look like. Guess it is about storing each color value in a 16x16 table and "somehow" calculate a checksum on it. I will try that.
Clydos is offline  
Old 14 June 2019, 14:02   #45
earok
Registered User

 
Join Date: Dec 2013
Location: Auckland
Posts: 2,034
Quote:
Originally Posted by Clydos View Post
Yeah, you are right. Still, I wonder how a checksum based (or so) algorithm could look like. Guess it is about storing each color value in a 16x16 table and "somehow" calculate a checksum on it. I will try that.
Let me know how you get on. I've done some thinking about it but I haven't really come up with an 'efficient' way of doing it.
earok is offline  
Old 14 June 2019, 14:18   #46
Clydos
Registered User

 
Join Date: May 2018
Location: Dresden / Germany
Posts: 101
Quote:
Originally Posted by earok View Post
Let me know how you get on. I've done some thinking about it but I haven't really come up with an 'efficient' way of doing it.
Yep, I will do that (but I am no pro coder. Just sayin'. :-))
Clydos is offline  
 


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

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 04:52.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.
Page generated in 0.06367 seconds with 14 queries