CPCWiki forum

General Category => Games => Topic started by: invent on 01:38, 12 September 15

Title: Creating a Mode 0 - Game - Technical Help
Post by: invent on 01:38, 12 September 15

Hi Everyone,


Below is more pixel testing :)
I have a few questions:


1) When building a Mode 0 game, is there a tile grid I should work with (eg in Amiga designs I might use 16x16 or 32x32). 
At the moment those checkered boxes are 12w x 24h pixels to keep the square format. 


2) This game will be non scrolling but will be similar to the game "The Covenant (https://www.youtube.com/watch?v=pe35Msm7Y-8)". 


3) If I am aiming to be played on all CPC machines eg 464 upwards. Is there any restrictions I need to think about.


4) No name for this game as yet, so if you have any thoughts :)  I tried here (http://www.litscape.com/word_tools/contains_only_wc1.php) remixing the words Amstrad :)




(http://3.bp.blogspot.com/-YxT-6XnqWT4/VfNub4NK41I/AAAAAAAAClM/hyrf4g8HPLM/s1600/Botrannis_UFO_01.png)




I will probably build the map with [/size]Tiled (https://www.google.com.au/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0CB0QFjAAahUKEwi0v4H3nfDHAhXoG6YKHYhWAAc&url=http%3A%2F%2Fwww.mapeditor.org%2F&usg=AFQjCNFLbGxDlifw8VM3Op1Ohc5Ef2jkkQ&sig2=q0KUhPbov9xl0Jq8E3kimQ&bvm=bv.102537793,d.dGY)[/size] map editor.
Title: Re: Creating a Mode 0 - Game - Technical Help
Post by: reidrac on 08:14, 12 September 15
Interesting one!

I'm trying 8x16, but I feel it might be too small. Still need to mock up everything to be sure.
Title: Re: Creating a Mode 0 - Game - Technical Help
Post by: TotO on 08:35, 12 September 15
Hello!

Yes, for saving memory and display faster, it is better to use sprites and map tiles with "size of char" to display.
12x24 for your tiles is nice to have beautifull graphics.

To work natively on 464, you must not use more than 64K of RAM.
If you want your game look really smooth by using a double buffer, you should be really limited.


The UWOL engine does exactly that:
UWOL for Amstrad CPC - Game engine preview - YouTube (https://www.youtube.com/watch?v=LASZarF_ydE)






Title: Re: Creating a Mode 0 - Game - Technical Help
Post by: ronaldo on 09:03, 12 September 15
It actually depends on your game and design skills. You can use 4x4 pixel tiles and get combinations of them to produce different 8x16, 12x24 "tiles". Drawing 4x4 tiles is just a little bit slower than drawing 8x8 pixel tiles if you do it properly, and could be more flexible depending on your ideas.

It's a matter of choice :).

However, tilesizes like ??x20 are usually slower to draw because you cannot rely on aligned character boundaries (memory sort of "jumps" every 8 lines). It is preferably to have multiples or divisors of 8 on the y-axis.
Title: Re: Creating a Mode 0 - Game - Technical Help
Post by: TotO on 10:10, 12 September 15
In his case, each tiles are 3x3 char sized. That took less memory and print faster than char by char.
But sure, in some cases, reusing char allow to save gfx storage.
Title: Re: Creating a Mode 0 - Game - Technical Help
Post by: invent on 11:16, 12 September 15
Thankyou all for the replies, very useful information that I will go back and experiment on further designs and see what works well.

Title: Re: Creating a Mode 0 - Game - Technical Help
Post by: TFM on 21:28, 12 September 15
Hi! We made best experiences with 16 x 16 Pixel tiles. Here two examples:


Gerelakos - Role Play Gaming on Amstrad CPC (FutureOS) - PrePrePreView - YouTube (http://www.youtube.com/watch?v=zBXRbDGjYYQ)


Giana Sisters clone for Amstrad CPC (FutureOS) III - YouTube (http://www.youtube.com/watch?v=FGfhO-VGNzs)

Powered by SMFPacks Menu Editor Mod