Search found 144 matches

by POLYGAMe
Sun Jan 24, 2016 6:41 pm
Forum: SGDK
Topic: Possible to load image line by line?
Replies: 10
Views: 1936

Re: Possible to load image line by line?

I thought that might be the case. Damn. I need the road on the front plane so I can do hills. But if I have to load the whole image I'll have to put it in the back. I might be able to work it out with scrolling tricks but I'll need to investigate what an interrupt is. Hehe. In other news, I've start...
by POLYGAMe
Sun Jan 24, 2016 12:16 am
Forum: SGDK
Topic: Possible to load image line by line?
Replies: 10
Views: 1936

Re: Possible to load image line by line?

Hey Stef, I have been getting the required effect by using SetMapEX and it works great but would doing it this way be slower than just adjusting the image's position?
by POLYGAMe
Sun Jan 24, 2016 12:12 am
Forum: SGDK
Topic: Strange garbled graphics
Replies: 7
Views: 2012

Re: Strange garbled graphics

If I read your code, i see you use the same tile_index u16 ind_tileset; ind_tileset = TILE_USERINDEX; ... u16 ind_tileset2; ind_tileset2 = TILE_USERINDEX; Maybe you write tile at the same position in VRAM. You can look in debug mode your vram. Add this to make test : u16 ind_tileset; ind_tileset = ...
by POLYGAMe
Sat Jan 23, 2016 7:51 pm
Forum: SGDK
Topic: Strange garbled graphics
Replies: 7
Views: 2012

Re: Strange garbled graphics

You really need to understand what is a pointer and how that work else you will get many troubles later with your C code ;) Yeah I have a basic grasp of how they work but it's very basic. Haha. Haven't used pointers in five years; not since university. Most of my development has been in Unity so th...
by POLYGAMe
Sat Jan 23, 2016 9:40 am
Forum: SGDK
Topic: Strange garbled graphics
Replies: 7
Views: 2012

Re: Strange garbled graphics

I thought it might be the tile set! Thanks!
As I'm not great with C, would you mind telling me what "->" does? It's been so long since I've used C. lol.
by POLYGAMe
Sat Jan 23, 2016 9:36 am
Forum: SGDK
Topic: Possible to load image line by line?
Replies: 10
Views: 1936

Re: Possible to load image line by line?

Hi Stef,

Yeah I worked that bit out but now I'm having other issues. lol. This is much harder (and more fun) than using Unity!!!
by POLYGAMe
Sat Jan 23, 2016 5:12 am
Forum: SGDK
Topic: Strange garbled graphics
Replies: 7
Views: 2012

Strange garbled graphics

Hi there, I'm trying to load my road on plane b and my sky on plane a. When I load each of them separately it works fine but when I try to load both, I get bits of the road across the top of the screen. What could cause this? Here are some shots and the code I'm using to get the images on screen. I'...
by POLYGAMe
Sat Jan 23, 2016 12:39 am
Forum: SGDK
Topic: Possible to load image line by line?
Replies: 10
Views: 1936

Re: Possible to load image line by line?

Okay, I'm getting somewhere but it's really slow. What's the fastest way to change images? I have a 512x512 image with four roads on it, one for each frame (each road is 128x512). What's the best way to display a road, clear it and then display the next one and so on so that it appears the road is m...
by POLYGAMe
Wed Jan 20, 2016 5:18 am
Forum: SGDK
Topic: Is it possible to 'mirror' the screen easily?
Replies: 23
Views: 3293

Re: Is it possible to 'mirror' the screen easily?

How do I do that test with my tile sets/images? Is that VDP RAM window from a special app?
by POLYGAMe
Tue Jan 19, 2016 9:27 am
Forum: SGDK
Topic: Is it possible to 'mirror' the screen easily?
Replies: 23
Views: 3293

Re: Is it possible to 'mirror' the screen easily?

Awesome :D Pretty sure I can finish the road "engine" this weekend :) Thanks for all your help, Stef!!!
by POLYGAMe
Mon Jan 18, 2016 11:51 pm
Forum: SGDK
Topic: Is it possible to 'mirror' the screen easily?
Replies: 23
Views: 3293

Re: Is it possible to 'mirror' the screen easily?

So rescomp is part of the sgdk... do I need to do anything to utilise it or is it always used when I import resources? Am I right in assuming that if my image is symmetrical it will handle it for me? That sounds better than trying to work out how to fill empty tiles with flipped matching tiles :)
by POLYGAMe
Mon Jan 18, 2016 1:44 pm
Forum: SGDK
Topic: Is it possible to 'mirror' the screen easily?
Replies: 23
Views: 3293

Re: Is it possible to 'mirror' the screen easily?

Cool thanks! I'll look into rescomp :)
by POLYGAMe
Mon Jan 18, 2016 8:51 am
Forum: SGDK
Topic: Is it possible to 'mirror' the screen easily?
Replies: 23
Views: 3293

Is it possible to 'mirror' the screen easily?

For my racing game I'm using a textured road. Obviously I'd like to save as much memory as possible so cutting the road in half and mirroring the other side would be awesome. Is this easily achievable? I haven't seen anything obvious in the various VDP functions I've been playing with. Thanks in adv...
by POLYGAMe
Sat Jan 16, 2016 4:00 am
Forum: SGDK
Topic: Which IDE to use?
Replies: 17
Views: 3177

Re: Which IDE to use?

Ah, good to know. I'll stick with Code::Blocks then now that I have it all working :)
by POLYGAMe
Fri Jan 15, 2016 7:23 am
Forum: SGDK
Topic: Which IDE to use?
Replies: 17
Views: 3177

Re: Which IDE to use?

I might try Eclipse too. Be sure to use Eclipse CDT, not Eclipse (for java) Eclipse CDT comes with makefile support, very handy Thanks. I've been using Code::Blocks but building is pretty unstable. Works maybe 70% of the time and I'm only making small demos. Hate to think how it will be with a full...