Search found 6 matches
- August 7th, 2022, 12:13 am
- Forum: Graphics/GPU
- Topic: Best way to acchieve 2d scrolling
- Replies: 3
- Views: 7671
Re: Best way to acchieve 2d scrolling
Ok scratch that, GsSetOffset works just fine without having to modify the DRAWENV offset directly, guess I just called it at the wrong time
- August 6th, 2022, 11:29 pm
- Forum: Graphics/GPU
- Topic: Best way to acchieve 2d scrolling
- Replies: 3
- Views: 7671
Re: Best way to acchieve 2d scrolling
Some quick updates, found that besides using a BG theres is (duh!) functions like GsSetOffset and GsSetDrawOffset. However they don't seem to do what they're supposed to or I'm reading it the wrong way. A quick workaround for this was to set the global libGS POSITION struct directly, or by modifying...
- August 2nd, 2022, 7:32 am
- Forum: Graphics/GPU
- Topic: Best way to acchieve 2d scrolling
- Replies: 3
- Views: 7671
Best way to acchieve 2d scrolling
I have a top down zelda clone, i have mapped tiles to individual sprites using GsSortFastSprite to render them. The problem I have is that I dont have a proper way to move around in the world. Workaround so far has been to split the world into individual frames matching the size of the screen. Was p...
- April 14th, 2022, 6:57 am
- Forum: Graphics/GPU
- Topic: GsIMAGE spanning multiple texture pages possible?
- Replies: 2
- Views: 7158
GsIMAGE spanning multiple texture pages possible?
I have these tileset images that I would prefer not having to split up into several smaller 256x256 subsets. If i understand the psyq documentation correctly then it is not possible, but I've seen some hints here and there in other projects that it is. In my attempts the image just overlaps as soon ...
- February 24th, 2022, 8:55 am
- Forum: Graphics/GPU
- Topic: question about GsMap.index?
- Replies: 2
- Views: 7520
Re: question about GsMap.index?
That was exactly my conclusion after fiddling around with hex edit with the sony bgd and cel example files. However I composed the index array as a simple array and that did the trick just fine. My base array was already ordered so the index array was just ordered as 0, 1, 2, 3 etc. Quite straight f...
- February 21st, 2022, 2:34 am
- Forum: Graphics/GPU
- Topic: question about GsMap.index?
- Replies: 2
- Views: 7520
question about GsMap.index?
Im trying to get a small POC up and running using GsBG. I manage to get the TIM data loaded as well as the cells. But I am confused about what the index property of the GsMAP actually should consist of. The example in the psyq sdk sets it to start at the address of the BG file after the header (if I...