Freeplaytech Forum
Neotile issue - Printable Version

+- Freeplaytech Forum (https://forum.freeplaytech.com)
+-- Forum: Neo Geo Pocket (https://forum.freeplaytech.com/forumdisplay.php?fid=1)
+--- Forum: Software Development (https://forum.freeplaytech.com/forumdisplay.php?fid=4)
+--- Thread: Neotile issue (/showthread.php?tid=5497)



Neotile issue - NeoGeoFreak2004 - 09-03-2025

Hi there everyone, so anyways I have a issue with neotile.  When I create a sprite and add it into my code. It makes the sprite tint. Do any of you know how to make bigger sprites in the program (eg. 32x32)?
Ps: one more question before I go. Can I create backgrounds with neotile? Thanks and have a great day.


RE: Neotile issue - Ahchay - 09-03-2025

You can set the group size in the toolbar (icon next to the new tile button)

So, if you set the group size to 4x4 that would give you 32x32 size sprites. You'd only be able to have four of those at that size before hitting the 64 sprite limit but that might be okay depending on what you were trying to do - would be fine for a fighting game for instance

In terms of using those in the framework, you'll need to chain them together

I'm not at my PC at the moment, but this is from my Joust clone - which uses eight sprites to create 2x2 six colour sprites - the chaining command is the third parameter of SetSprite()

SetSprite(SPRITE_Player, TILE_Player, 0, 16, 80, PAL_PLAYER,24);
 SetSprite(SPRITE_Player+1, TILE_Player+1, 1, 8, 0, PAL_PLAYER,24);
 SetSprite(SPRITE_Player+2, TILE_Player+2, 1, -8, 8, PAL_PLAYER,24);
 SetSprite(SPRITE_Player+3, TILE_Player+3, 1, 8, 0, PAL_PLAYER,24);
 SetSprite(SPRITE_Player+4, TILE_Player+4, 1, -8, -8, PAL_PLAYER+1,24);
 SetSprite(SPRITE_Player+5, TILE_Player+5, 1, 8, 0, PAL_PLAYER+1,24);
 SetSprite(SPRITE_Player+6, TILE_Player+6, 1, -8, 8, PAL_PLAYER+1,24);
 SetSprite(SPRITE_Player+7, TILE_Player+7, 1, 8, 0, PAL_PLAYER+1,24);


RE: Neotile issue - Ahchay - 09-03-2025

Creating larger images is possible in neotile - set the group size to 20x19 or whatever - but some of the other tools available will make your life easier.

Neotile doesn't have very sophisticated palette functions so will force you to use the same three colours for the whole image


RE: Neotile issue - Ahchay - 09-03-2025

If you want a relatively simple example, you can look at my wip version of Don't Die Mr Robot - this chucks a bunch of 2x2 sprites around with one controlled by the player

https://codeberg.org/ahchay/DDMR.ngp

Edit: Also includes a rudimentary logo screen created in Neotile - I'm used to it's foibles but it's definitely not suited for "proper" bitmap editing