DDR like demo

Announce (tech) demos or games releases

Moderator: Mask of Destiny

oofwill
Very interested
Posts: 173
Joined: Mon May 03, 2010 6:12 pm
Location: France - Niort

Post by oofwill » Thu Sep 06, 2012 10:18 pm

"farged" i don't know this word :lol:

Thanks if you can take some pictures.
I've a CDX. i would test on it... but without flashcart... i'll have to burn an eprom ^^

For the other stages, no problem in the menu, it's perfectly working.
Different stages are juste copy - paste of sonic stage, with several modifs...

Chilly Willy
Very interested
Posts: 2984
Joined: Fri Aug 17, 2007 9:33 pm

Post by Chilly Willy » Fri Sep 07, 2012 4:04 am

Actually, it CAN be farged from the very start! These images were done from a cold boot. In fact, sometimes it's SO farged it crashes the CDX!

Image

Image

Notice how the first image is slightly farged, and the second almost completely farged. Even the Sonic screen can be farged, but tends to be much less farged than either of the others that I've seen so far. If you are using the cpu to transfer data, I'd suspect your vblank routine of doing something with the VDP, which can interrupt your transfers. If you're using DMA, you must be occasionally setting on of the registers wrong.

oofwill
Very interested
Posts: 173
Joined: Mon May 03, 2010 6:12 pm
Location: France - Niort

Post by oofwill » Fri Sep 07, 2012 6:55 am

:shock:

lingh
Interested
Posts: 20
Joined: Thu Sep 06, 2012 4:57 am

Post by lingh » Fri Sep 07, 2012 7:16 am

Same bugs on my Asian PAL MD2.

Image

And if you continue to leaf right - it gets worse and worse.

Similar bugs on RetroArch emulator.
http://themaister.net/retroarch-dl/retr ... -0.9.7.zip
http://themaister.net/retroarch-dl/libr ... us-x86.zip

Stef
Very interested
Posts: 3131
Joined: Thu Nov 30, 2006 9:46 pm
Location: France - Sevres
Contact:

Post by Stef » Fri Sep 07, 2012 8:31 am

It looks like some VDP data writes are corrupted...
Are you writing to the VDP both from your "main loop" and the V-interrupt code ? This is a typical mistake which can bring to that result.

oofwill
Very interested
Posts: 173
Joined: Mon May 03, 2010 6:12 pm
Location: France - Niort

Post by oofwill » Fri Sep 07, 2012 8:56 pm

What is "V-interrupt code"?

I've modified select stage code, new version is available here

Bugs should have disappeared...

Moreover, when a button is pressed, the direction sprite is highlighted.

Anyway, thanks for your tests ;)

lingh
Interested
Posts: 20
Joined: Thu Sep 06, 2012 4:57 am

Post by lingh » Sat Sep 08, 2012 3:02 pm

Works ok now.

But i have my gameplay complaints.

Pixel perfect detection - not fun. Make it more forgiving.
And controls.

L D U R - L B U C

Make it - L D B C, it's more intuitively this way.

oofwill
Very interested
Posts: 173
Joined: Mon May 03, 2010 6:12 pm
Location: France - Niort

Post by oofwill » Sat Sep 08, 2012 3:12 pm

You think game is too strict?
I should make it easier i guess...

For the controls, i will change them.
I'm only playing with keyboard for the moment, so i don't realised if controls were good or not.

Thanks for advice :)

lingh
Interested
Posts: 20
Joined: Thu Sep 06, 2012 4:57 am

Post by lingh » Sat Sep 08, 2012 3:26 pm

oofwill wrote: I'm only playing with keyboard for the moment, so i don't realised if controls were good or not.
It's very simple. You have left side with L D and right side with U R.
And with current buttons map - it's nightmare.

If you change mapping to L D B C, left side will be controlled with left side of joypad, and right side with right side of joypad.

Also, when i exit 3 level, music doesnt stop playing. I dont no, this part already completed or not, just saying.

oofwill
Very interested
Posts: 173
Joined: Mon May 03, 2010 6:12 pm
Location: France - Niort

Post by oofwill » Sat Sep 08, 2012 8:07 pm

I will changed mapping input, you're right, it's more intuitively.

Then, level 2 and 3 are not completed. Bacground is not the good, sprites are appearing out of order and level 3 is to short comparing to the song.

I won't working on them until i completly finalise level 1. Many things are common and this will be smarter to add level when the "game engine" wil be ok :)

Thanks for your test :)

oofwill
Very interested
Posts: 173
Joined: Mon May 03, 2010 6:12 pm
Location: France - Niort

Post by oofwill » Fri Sep 14, 2012 8:08 am

How can i do this?

I want to have a counter wich doesn't slow down if the game slow down.
A counter synchro with the music, it is possible?

I've made a simple counter with a variable. This works correctly if i don't touch anything, but if i press buttons, the counter slow down...

Maybe not a counter but a timer? based on Z80?

oofwill
Very interested
Posts: 173
Joined: Mon May 03, 2010 6:12 pm
Location: France - Niort

Post by oofwill » Fri Sep 14, 2012 9:31 am

hummm... i see there is timer instructions... i'll try working with this.

TmEE co.(TM)
Very interested
Posts: 2440
Joined: Tue Dec 05, 2006 1:37 pm
Location: Estonia, Rapla City
Contact:

Post by TmEE co.(TM) » Fri Sep 14, 2012 9:43 am

you tie your counter with VBL
Mida sa loed ? Nagunii aru ei saa ;)
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen

oofwill
Very interested
Posts: 173
Joined: Mon May 03, 2010 6:12 pm
Location: France - Niort

Post by oofwill » Fri Sep 14, 2012 11:11 am

I found my happiness with

Code: Select all

startTimer(1);
getTimer(1, 0);
:D

I don't have learned to use HBL & VBL for the moment... :oops:

oofwill
Very interested
Posts: 173
Joined: Mon May 03, 2010 6:12 pm
Location: France - Niort

Post by oofwill » Wed Nov 07, 2012 5:02 pm

So... i've made a cartridge of the demo.
It's perfectly working on emu, even save, but on real hardware... No.

At the very start, when game is supposed to init the save, nothing happens and screen stay black :(

Anyone could test it? 3.8Mo, with sram. I made it on a beyond oasis/ legend de thor similar pcb.

Post Reply