Search found 172 matches

by alko
Tue Jan 19, 2016 11:30 pm
Forum: SGDK
Topic: Is it possible to 'mirror' the screen easily?
Replies: 23
Views: 12636

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

...Though, probably, instead of prerender better to use ZeroTolerance\bloodshot-like algorithm. I know that gasega the already made fast raycasting engine. But there are wall on map angle only 90 degrees. In ZT or BattleFrenzy - morphing pictures, not raycasting. This can be realized only getPixel (...
by alko
Tue Jan 19, 2016 10:58 pm
Forum: SGDK
Topic: Is it possible to 'mirror' the screen easily?
Replies: 23
Views: 12636

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

yet would be great if be possible to mirror layers in the program just like sprites.
to argument of function DrawImage - mirror flag.

It would be useful in the creation similar engine with pre-rendered wall's:
https://youtu.be/zw0kqJp3NYw?t=334
by alko
Tue Jan 19, 2016 8:04 pm
Forum: SGDK
Topic: Is it possible to 'mirror' the screen easily?
Replies: 23
Views: 12636

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

What matter is the tool used to convert your image to internal binary format. rescomp which comes complete with SGDK. I obtain 135 uniq tiles over the 240 base tiles which is expected given the input image. As well as in my case . Only RLE- algorithm . No mirroring optimization . 8*16+6=134 tiles. ...
by alko
Mon Jan 18, 2016 9:07 pm
Forum: SGDK
Topic: Is it possible to 'mirror' the screen easily?
Replies: 23
Views: 12636

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

troudki wrote: where i can find this "vdp ram " windows tools ?
http://elektropage.ru/publ/programmy_dl ... 38-1-0-122
by alko
Mon Jan 18, 2016 7:38 pm
Forum: SGDK
Topic: Is it possible to 'mirror' the screen easily?
Replies: 23
Views: 12636

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

I use only VDP_drawImageEx(..)
as assures Stef, it should automatically optimize mirrored tiles...
or not?
by alko
Mon Jan 18, 2016 5:14 pm
Forum: SGDK
Topic: Is it possible to 'mirror' the screen easily?
Replies: 23
Views: 12636

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

:D :) :( :cry:
strangely, why I have totally mirrored tiles so obtained...

Image

Image
by alko
Mon Jan 18, 2016 4:59 pm
Forum: SGDK
Topic: On real hardware program hangs
Replies: 13
Views: 7207

Re: On real hardware program hangs

Do you hear anything on real hardware ? VGM|XGM-music played correctly. did you try to comment all your code except the WAV play command ? #include <genesis.h> #include "gfx.h" #include "music.h" #include "fonanimate.h" #include "lyapanimate.h" #include "globalvar.h" #include "menu.h" #include "wor...
by alko
Mon Jan 18, 2016 10:35 am
Forum: SGDK
Topic: On real hardware program hangs
Replies: 13
Views: 7207

Re: On real hardware program hangs

One gets the impression Z80 conflicts with 68000.
They have the common bus.

Or maybe amplitude too large for this audio-driver :|
by alko
Mon Jan 18, 2016 5:24 am
Forum: SGDK
Topic: On real hardware program hangs
Replies: 13
Views: 7207

Re: On real hardware program hangs

I already converts from original file Wav 44 kHz 16bit to Wav 16 kHz 8bit
by alko
Sun Jan 17, 2016 6:42 pm
Forum: SGDK
Topic: On real hardware program hangs
Replies: 13
Views: 7207

Re: On real hardware program hangs

hmmm... standard example of sound-driver works properly...

It may necessary use any specific program to convert the wav?

I use jetAudio (PCM 16 kHz 8bit MONO).
Image
by alko
Sun Jan 17, 2016 3:44 pm
Forum: SGDK
Topic: On real hardware program hangs
Replies: 13
Views: 7207

Re: On real hardware program hangs

Cartridge - everdrive v3
by alko
Sun Jan 17, 2016 11:04 am
Forum: SGDK
Topic: On real hardware program hangs
Replies: 13
Views: 7207

On real hardware program hangs

During playback wav-sample on real hardware (and on android-emulator "Gensoid" ) program crashes. but in the emulator Kega Fusion all right. SND_startPlay_PCM(sample, sizeof(sample), SOUND_RATE_16000,SOUND_PAN_CENTER,FALSE); I tried different samples. Also tried turn off interrupts. It did not help.
by alko
Sun Jan 17, 2016 10:40 am
Forum: Demos
Topic: Mega Marble World
Replies: 54
Views: 73614

Re: Mega Marble World

HardWareMan wrote:
alko wrote:"Спирва дабейся" ?
Разумная критика допускается. Но твое сравнение со спектрумским бейсиком это перебор.
http://m-zhuchkov.narod.ru/spectrum.htm
by alko
Sun Jan 17, 2016 8:27 am
Forum: SGDK
Topic: synchronization of game cycles
Replies: 9
Views: 4893

Re: synchronization of game cycles

how to reset the timer, which receives time of getTick () ?