Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Neotile issue
#1
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.
Reply
#2
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);
Reply
#3
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
Reply
#4
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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)