Search found 10 matches
- Tue Nov 04, 2014 12:37 am
- Forum: SGDK
- Topic: Background size
- Replies: 10
- Views: 10034
In the code you originally posted, the call to VDP_setPlanSize sets the background plane size to 32x32 tiles. At this setting, it's too small to fit your 680 pixel image. You'd have to set the plane size to 128x32 which would give you a maximum size of 1024 x 256. If your image fits into that, then ...
- Mon Nov 03, 2014 6:06 pm
- Forum: SGDK
- Topic: Background size
- Replies: 10
- Views: 10034
Hi,
I made the changes with & 31 and & 127. My background image is 680 px wide and with the "& 127" modification I can't display the entire image. So maybe I need to charge another background image (maybe is less memory consuming) when the posx is bigger than 128 tiles each time or I need to place ...
I made the changes with & 31 and & 127. My background image is 680 px wide and with the "& 127" modification I can't display the entire image. So maybe I need to charge another background image (maybe is less memory consuming) when the posx is bigger than 128 tiles each time or I need to place ...
- Fri Oct 31, 2014 5:05 pm
- Forum: SGDK
- Topic: Background size
- Replies: 10
- Views: 10034
- Wed Oct 22, 2014 5:57 pm
- Forum: SGDK
- Topic: Background size
- Replies: 10
- Views: 10034
- Tue Oct 21, 2014 10:34 pm
- Forum: SGDK
- Topic: Background size
- Replies: 10
- Views: 10034
Background size
Hi!
I was playing with the sprite demo included with the sgdk download. I was trying to make the "level" bigger than it actually is so I modified the following lines of main.c:
Line 25: #define MAX_POSX FIX32(3200)
and
Line 190: // clip camera position
if (npx_cam < FIX32(0)) npx_cam = FIX32(0 ...
I was playing with the sprite demo included with the sgdk download. I was trying to make the "level" bigger than it actually is so I modified the following lines of main.c:
Line 25: #define MAX_POSX FIX32(3200)
and
Line 190: // clip camera position
if (npx_cam < FIX32(0)) npx_cam = FIX32(0 ...
- Thu Sep 11, 2014 10:13 pm
- Forum: SGDK
- Topic: undefined reference to main
- Replies: 14
- Views: 12473
- Thu Sep 11, 2014 4:26 pm
- Forum: SGDK
- Topic: undefined reference to main
- Replies: 14
- Views: 12473
- Wed Sep 10, 2014 10:37 pm
- Forum: SGDK
- Topic: undefined reference to main
- Replies: 14
- Views: 12473
- Wed Sep 10, 2014 5:37 pm
- Forum: SGDK
- Topic: undefined reference to main
- Replies: 14
- Views: 12473
- Tue Sep 09, 2014 4:45 pm
- Forum: SGDK
- Topic: undefined reference to main
- Replies: 14
- Views: 12473
undefined reference to main
Hi!
I was trying to setup and run the HelloWorld demo on Windows 7 but I'm getting this message:
11:28:49 **** Build of configuration Debug for project HelloWorld ****
"C:\\genesis\\sdk\\bin\\make" -f "C:/genesis/sdk\\makefile.gen"
C:/genesis/sdk/bin/gcc -BC:/genesis/sdk/bin -n -T C:/genesis/sdk ...
I was trying to setup and run the HelloWorld demo on Windows 7 but I'm getting this message:
11:28:49 **** Build of configuration Debug for project HelloWorld ****
"C:\\genesis\\sdk\\bin\\make" -f "C:/genesis/sdk\\makefile.gen"
C:/genesis/sdk/bin/gcc -BC:/genesis/sdk/bin -n -T C:/genesis/sdk ...