Recent content by Valkyrience

  1. Valkyrience

    Tutorial DS Programming for Newbies!

    In main project this part is located in the end of loop. I've placed it out of loop only in test project because I needed only one frame. I'll probably make 256 px border with empty tiles to use only positive values. Thank you so much for your help. 1692879179 But it still bothering me: why 256...
  2. Valkyrience

    Tutorial DS Programming for Newbies!

    I copied this part from night Fox examples. Where should I place vblank for better work 1692875055 Should GRIT bat file be edited for 512 px BG or it define size automatically? Maybe my assets are converted unpropelly?
  3. Valkyrience

    Tutorial DS Programming for Newbies!

    I don't tested it in other emulators but my DSi shows same situation. 1692853381 I think I can surround my scrolled area with 256px empty area to evade negative values but it feels like crutch. And it's irritating that when BG is 256 it works fine
  4. Valkyrience

    Tutorial DS Programming for Newbies!

    #include <gl2d.h> #include <math.h> #include <stdio.h> #include <time.h> #include <nds.h> #include <filesystem.h> #include <nf_lib.h> int main(void) { NF_Set2D(0, 0); NF_Set2D(1, 0); nitroFSInit(NULL); NF_SetRootFolder("NITROFS"); NF_Set2D(0, 0); NF_Set2D(1, 0)...
  5. Valkyrience

    Tutorial DS Programming for Newbies!

    I`ve put a layer that cover all screen underneathe the scrolled layer, so emptyness is covered by it now. But it didn`t change anything.
  6. Valkyrience

    Tutorial DS Programming for Newbies!

    I've put my BG on right left corner of enlarged bmp, so I don't need to correct start position. Now there is nothing underneath this layer, but later will another layer. 1692817086 Or it is necessarily exactly to surround it with empty tiles?
  7. Valkyrience

    Tutorial DS Programming for Newbies!

    This glitch give me empty tiles if I scroll on value greater then -256, and random tiles from my BG on value less than-256. What should I give you to got more help from you?
  8. Valkyrience

    Tutorial DS Programming for Newbies!

    I`ve thought about it and alredy done it. I`ve made my BGs 512x512 instead of 256x256 and fill free space with empty tiles. But now i can`t scroll this BG on negative value (it starts glitching) for some reason. Why could it be?
  9. Valkyrience

    Tutorial DS Programming for Newbies!

    But if I need to scroll it out and dont see it on other side? There are some way?
  10. Valkyrience

    Tutorial DS Programming for Newbies!

    When I scroll background out of screen, part of this BG appears from opposite side. Can i do something with it?
  11. Valkyrience

    Tutorial DS Programming for Newbies!

    Hi. I have a couple more questions: 1) Is there some way to use semitransparent sprites(with alpha channel) in Night Fox lib? 2) About saving game progress. I understand that I should use libfat for this. But in this thread was written that, if I use night Fox library I need to switch between...
  12. Valkyrience

    Tutorial DS Programming for Newbies!

    I'm so grateful to you for your replies, it so much helps to me
  13. Valkyrience

    Tutorial DS Programming for Newbies!

    Very thanks, for your reply, But i need some more help with sprites) May be i lost some rules of creating sprites. If i try to create 24x16(and some other sizes) sprite, it shows only first 8x8 tile. But if i remake it 32x16 it shows correctly. What do i wrong?
  14. Valkyrience

    Tutorial DS Programming for Newbies!

    Hi,sorry for my english, it`s not my native language. Can somebody tell is there some way to create several backgrounds with one tileset (for example if want to create several levels in game with one block set)?