Hi guy,
first…sorry for my English
someone may explain the techniques in this games
in particular…
- how to make the way’s scrolling? mode7 techniques, it’s correct?
- i need the raycasting, yes or no?
help me! please
Hi guy,
first…sorry for my English
someone may explain the techniques in this games
in particular…
help me! please
I believe it is quite a simple stack of horizontal lines, roughly like this:
straight
…, ,…
…, ,…
…, ,…
…, ,…
…, ,…
turn
…, ,…
…, ,…
…, ,…
…, ,…
…, ,…
Manipulate the horizontal graphics positions according to some formula that you will have to work out yourself,
draw sprites on top of that.
good solution, can you ensure other games use this solution?
thanks you
Hi,
unfortunately this solution not work impossible draw curves not angular
some idea?
help me, please ???
perhaps show some of your tests, screenshots or code and we could help you more
the results:
the code:
Graphics2D g2 =…// graphics contex
int width = screen.width;
int horizon = width / 4;
int point_of_curve = width / 2;
int carriageway_left = (width / 8 )*3;
for(int x = 0; x < horizon; x++)
g2.drawLine(0, carriageway_left+x, horizon+x, carriageway_left+x);
for(int y = 0; y < horizon; y++)
g2.drawLine(0, (carriageway_left+horizon)+y, point_of_curve-y, (carriageway_left+horizon)+y);
:-
some idea?
waoooooooo, thanks thanks thanks