Search found 73 matches

by danibus
Thu Dec 12, 2019 12:45 pm
Forum: SGDK
Topic: My SGDK Tutorials (Spanish)
Replies: 7
Views: 2026

Re: My SGDK Tutorials (Spanish)

Little update Lesson 00 - SGDK + CodeBlocks (instalation) Lesson 01 - Hello World Lesson 01 - Clone and Mistakes Lesson 02 - Controls Lesson 03 - Tiles and Plans Lesson 03 - Tiles and Plans (II) Lesson 04 - Tiles from Images Lesson 04 - Tiles from Images (II) Lesson 04 - Tiles from Images (III) Less...
by danibus
Sat Oct 12, 2019 8:08 pm
Forum: SGDK
Topic: Horizontal Scroll not showing all background image
Replies: 12
Views: 1143

Re: Horizontal Scroll not showing all background image

If scrolling is still troubling you, I've altered the SGDK's "Sprite" example to do basic scrolling. (see attachment, scrolling.zip) Made the playfield wider (1280px wide) to see the effect. Also, removed the BEST compression for the tilemaps, as VDP_setMapEx is slower when decompressing data (too ...
by danibus
Fri Oct 11, 2019 11:02 am
Forum: SGDK
Topic: Horizontal Scroll not showing all background image
Replies: 12
Views: 1143

Re: Horizontal Scroll not showing all background image

Still having problems with scroll. Let's work simple. Horizontal scroll only (from left to right). 320x224px. Only 1 plane. No sprites. I'm using sonic background from SGDK sample folder but I add px position (see background's bottom) scroll_v3.png As you can see this image have 640x224px, then 80x2...
by danibus
Mon Oct 07, 2019 6:08 am
Forum: SGDK
Topic: Test Sprite Collision Flag
Replies: 8
Views: 2475

Re: Test Sprite Collision Flag

Hi there, here testing sprite collision flag also :mrgreen: It's working, but not sure why... this is my code [..] //include and all these stuff int a = 0; main() { [...] //add sprites, pals,... and these things while(1) { handleInput(); check_collision(); SPR_update(); VDP_waitVSync(); } } check_co...
by danibus
Sun Oct 06, 2019 10:17 am
Forum: SGDK
Topic: Horizontal Scroll not showing all background image
Replies: 12
Views: 1143

Re: Horizontal Scroll not showing all background image

Awesome, best explanation ever!! :D

Thanks a lot, I will try again, have a nice day
by danibus
Sat Oct 05, 2019 9:20 pm
Forum: SGDK
Topic: Horizontal Scroll not showing all background image
Replies: 12
Views: 1143

Re: Horizontal Scroll not showing all background image

Hi again, I'm afraid I saw lot of threads but no success at all. Ok so by default with SGDK we have 512 pixels wide, that is, 64 tiles (from 0 to 63). Question. bga.png is 640px wide. Where are the last 640-512=128px (16 tiles)? (from 64 to 79) Are they still in memory somewhere? I tried to use VDP_...
by danibus
Tue Oct 01, 2019 10:24 pm
Forum: SGDK
Topic: Horizontal Scroll not showing all background image
Replies: 12
Views: 1143

Re: Horizontal Scroll not showing all background image

Try with another NONE name, img_file, compression, mapopt IMAGE bgb_image "gfx/bgb.png" NONE NONE IMAGE bga_image "gfx/bga.png" NONE NONE This is not working properly, lot of artifacts. The tilemap is 512px wide. You need to draw in new tiles on the sides as you scroll it. Yes, I think this is the ...
by danibus
Tue Oct 01, 2019 3:00 am
Forum: SGDK
Topic: Horizontal Scroll not showing all background image
Replies: 12
Views: 1143

Re: Horizontal Scroll not showing all background image

This is my .res

IMAGE bgb_image "gfx/bgb.png" NONE
IMAGE bga_image "gfx/bga.png" NONE

Tried also

IMAGE bgb_image "gfx/bgb.png" BEST
IMAGE bga_image "gfx/bga.png" BEST

No changes at all
by danibus
Tue Oct 01, 2019 1:48 am
Forum: SGDK
Topic: Horizontal Scroll not showing all background image
Replies: 12
Views: 1143

Horizontal Scroll not showing all background image

I'm learning about scrolling, just made some simple scrolls and found that not all background images are showing at all. Just using files bga.png and bgb.png from Sample/Sprite example (both 640px wide). I write px in bga.png to check where is cut, and happens around 500px (pls see attached). I thin...
by danibus
Wed Sep 25, 2019 11:51 am
Forum: SGDK
Topic: My SGDK Tutorials (Spanish)
Replies: 7
Views: 2026

Re: My SGDK Tutorials (Spanish)

Little update Lesson 00 - SGDK + CodeBlocks (instalation) Lesson 01 - Hello World Lesson 01 - Clone and Mistakes Lesson 02 - Controls Lesson 03 - Tiles and Plans Lesson 03 - Tiles and Plans (II) Lesson 04 - Tiles from Images Lesson 04 - Tiles from Images (II) Lesson 04 - Tiles from Images (III) Less...
by danibus
Sun Sep 08, 2019 12:13 pm
Forum: Megadrive/Genesis
Topic: Megadrive was always the answer
Replies: 22
Views: 2707

Re: Megadrive was always the answer

I really like the 2 MD idea. Won't it be possible to use a slave MD like did with the MCD ? Is it possible to have a "slave cart" on the slave MD with all the logic and send message to the slave ? I don't remember of the MD/MCD sync is done but something similar will be needed ... Even more, could ...
by danibus
Sun Sep 08, 2019 6:07 am
Forum: Megadrive/Genesis
Topic: Megadrive was always the answer
Replies: 22
Views: 2707

Re: Megadrive was always the answer

Why make the slave soundless? Mix it with the other MD either via the video mixing section, or using the audio in lines on the cart of the master MD. Two YM2612/PSG would be VERY helpful for games. At the moment FPGAs and Yamahas are not friends. If cost are to be keep as low as possible, avoid ext...
by danibus
Sat Sep 07, 2019 7:13 am
Forum: Megadrive/Genesis
Topic: Megadrive was always the answer
Replies: 22
Views: 2707

Re: Megadrive was always the answer

Main idea is 2 megadrives, as simple as possible, to start programming with actual resources and be able to make new games asap. This is just a theoretical exercise, I don't have any target price, it's a funny thing design theorical-but-possible new megadrive expansion, just as we did when were chil...
by danibus
Fri Sep 06, 2019 9:07 pm
Forum: Megadrive/Genesis
Topic: Megadrive was always the answer
Replies: 22
Views: 2707

Re: Megadrive was always the answer

I have already explored this sort of stuff, the hardware part is actually easy and not a huge challenge, but it will be incredibly difficult to keep the costs sane even when I used cheapest parts and nobody will pay price of a modern game console for another 32X essentially, which will only ever se...
by danibus
Thu Sep 05, 2019 6:14 pm
Forum: Megadrive/Genesis
Topic: Megadrive was always the answer
Replies: 22
Views: 2707

Re: Megadrive was always the answer

Easy. Can an emulator be altered (beast) to launch 2 instances an mix video output?

Then we can make a proof of concept, without making new hardware.