Search found 172 matches

by alko
Fri Feb 12, 2016 7:41 am
Forum: SGDK
Topic: Is it possible to 'scale' sprites?
Replies: 25
Views: 16443

Re: Is it possible to 'scale' sprites?

Could share code of sprite-scaling from gasega's wolfenstein3d ?
by alko
Wed Feb 10, 2016 6:39 pm
Forum: SGDK
Topic: Raster Effect with Gendev ( SGDK)
Replies: 33
Views: 33179

Re: Raster Effect with Gendev ( SGDK)

up...
by alko
Wed Feb 10, 2016 11:27 am
Forum: SGDK
Topic: Is it possible to 'scale' sprites?
Replies: 25
Views: 16443

Re: Is it possible to 'scale' sprites?

how about this scaling?
https://youtu.be/zpGdWYwDNkk?t=2209

scale too quickly.
Maybe head of Lawnmower Man is not a sprite. This is a raster effect on plane ?
how to do it?
by alko
Tue Feb 09, 2016 1:31 pm
Forum: SGDK
Topic: Is it possible to 'scale' sprites?
Replies: 25
Views: 16443

Re: Is it possible to 'scale' sprites?

How do you think those games did the scaling?
likely, at the race level using same principle of first-person-like level.
namely, ray casting (and mirror top\bottom of objects).

Image

Image
by alko
Fri Jan 29, 2016 8:59 pm
Forum: Demos
Topic: Completed Games List
Replies: 11
Views: 10535

Re: Completed Games List

BigEvilCorporation wrote:
That's a "complete list of games" rather than a "list of complete games", subtle difference ;)
I know.
Just among presented "complete list of games" has some complete games.
by alko
Wed Jan 27, 2016 7:56 am
Forum: SGDK
Topic: Generated side-scroller map
Replies: 3
Views: 2593

Re: Generated side-scroller map

Just use range test like that ?
nope...
because it will unoptimized. In a certain period tiles will be drawn several times.
Reasonably just once place picture on plane.
by alko
Tue Jan 26, 2016 7:31 pm
Forum: SGDK
Topic: Generated side-scroller map
Replies: 3
Views: 2593

Generated side-scroller map

Aloha :o if map scrolled by single speed, then known at which interval update tiles behind the screen. levix++; VDP_setHorizontalScroll(PLAN_A, levix); if(levix==256) VDP_setMap(VDP_PLAN_A, levi2, TILE_ATTR_FULL(PAL0, FALSE, FALSE, FALSE, ind2), 16,0); if(levix==128) VDP_setMap(VDP_PLAN_A, levi3, TI...
by alko
Sun Jan 24, 2016 11:33 am
Forum: SGDK
Topic: Is it possible to 'mirror' the screen easily?
Replies: 23
Views: 12642

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

whether is possible to know when the next release?
by alko
Sun Jan 24, 2016 10:50 am
Forum: SGDK
Topic: Some problems with code compilation
Replies: 10
Views: 5624

Re: Some problems with code compilation

dub wrote:include your .h only one time
I need in each module global variables.

dub wrote:or put "extern" before you variable so the compiler keep only one.
It did not help. Still the same error.
by alko
Sat Jan 23, 2016 7:20 pm
Forum: SGDK
Topic: Some problems with code compilation
Replies: 10
Views: 5624

Re: Some problems with code compilation

I tried to remove the temporary files *.о and rebuild.
all the same.
by alko
Sat Jan 23, 2016 7:17 pm
Forum: SGDK
Topic: Some problems with code compilation
Replies: 10
Views: 5624

Re: Some problems with code compilation

But that is not all. There is another problem. in globalvar.h i'm declare global variables. #ifndef GLOBALVAR_H_INCLUDED #define GLOBALVAR_H_INCLUDED #define bul u8 //уровни #define lvl_first 1 #define lvl_worm_boss 2 #define lvl_jaws_boss 3 #define lvl_psevdo3d 4 #define lvl_rebro 5 #define lvl_rot...
by alko
Sat Jan 23, 2016 6:55 pm
Forum: SGDK
Topic: Some problems with code compilation
Replies: 10
Views: 5624

Re: Some problems with code compilation

oops...

FIX16() - function
fix16 - variable type.
by alko
Sat Jan 23, 2016 4:39 pm
Forum: SGDK
Topic: Some problems with code compilation
Replies: 10
Views: 5624

Some problems with code compilation

For some reason if prescribe thus #include <genesis.h> #include "lyapanimate.h" #include "globalvar.h" #include "gfx.h" struct myLyap { FIX16 x; FIX16 y; FIX16 dx; FIX16 dy; } lyap[16]; errors: ||=== Build: default in agressor (compiler: SGDK) ===| src\lyapanimate.c|11|error: syntax error before "FI...
by alko
Sat Jan 23, 2016 4:14 pm
Forum: Demos
Topic: Completed Games List
Replies: 11
Views: 10535

Re: Completed Games List

MineSweeper. http://pscd.ru/games/smd/msmd/1830-minesweeper.html Tro-now http://bitbitjam.com/d/11 Bug Hunt http://bughunt.nolddor.ovh/ 2048 http://gendev.spritesmind.net/forum/viewtopic.php?t=1730 Battle City http://pscd.ru/games/smd/bsmd/1110-battle-city.html Super Mario Bros http://kotaku.com/557...