Kuru Kuru Kuririn Clone


Sonic-NKT

Well-Known Member
Joined
Apr 15, 2003
Messages
1,890
perhaps some of you know, i was working on a Zelda game for the Gp32. but since it was really hard i put the project on hold to learn more about Fenix first.
then i read a post about someone asking for a kuru kuru kuririn game and i thought that should be quite easy in phoenix.
so i want to work on this game first..
i have allready plans for almost the whole game on how to do it..
only one thing.. is there a way to rotate a sprite ?
Thanks.. if i get this working i could release a first version next week or so.
 
thanks for the info..
will look at your code..

PS: where can i find it?
 
Yeah, liked it on the gba. (are there other versions?)

Simple rotating:

Code:
angle+=x; //replace x with degree*1000 (x=180000==180*1000==180 degree)

//or

angle-=x; //same here, just rotating the other direction
 
thanks again for the code...
hehe my main problem is in the moment the textures... i woild love to use the GBA ones, but cant find them anywhere, they were never ripped.
ok have to draw my own for first demo... but the will look like crap ;)
 
hmm.. i dont really understand this angle command..
how to use it in a process?
an example..
i have a process which is a controllabke sprite..
it starts with
BEGIN
x=155;
y=155;
graph=1;

so how can i get this to rotate?
Thanks for any help..

PS:
ehmm i made the title screen with the put_screen command.. can i rotate this picture too?
 
Code:
if(key(_left))angle+=1000;end
if(key(_right))angle-=1000;end
if(key(_up))advance(6);end
if(key(_down))advance(-6);end

Also make sure you put this after "BEGIN" (before the loop though):
Code:
resolution=4;

This is to make the rotation more accurate, you will have to multiply any coordinates you set by 4.
 
thanks will try that tomorrow...
btw... this rotate thing only works when i press a button..
for the title screen it should just rotate without..

Sry... this questions may sound a bit stupid but iv never coded before and im just learning fenix. got some things allready working.
(you can control a stick (which doesnt spin) on the screen and if it touches the edges of a way the game stops ( will reduce live energy later).

EDIT:
ok im just stupid.. my break was too long..
 
hehe me again...
working on textures now.. i have ripped some out of the GBA game so it allready looks quite good :).
now i try to get some textures transparent. i read somewhere it was the Zero color in my palett. THis worked when i was making the zelda game, now it doesnt. Any Ideas?
 
no for zelda i used a special lttp style pal..
this one now i made with irfan view out of á picture of the title screen.
would it help to upload the file
 
hmm got it working now.. dont now why ;)
anyway.. thanks
now a question about fenix in general..
for my title screen i have 4 processes they are 4 different layer..
(dont know if its smart to do it this way)
1. dot
2. stick
3. logo (rotates)
4. stars (rotates)

they should run one after another so that dot is on top (on the screen).
look at the screenshot ;)
(in the shot the dot is behind the stick and i want to fix that.)
screen1.jpg



now how can i run them this way.. in a row i doesnt works.. or are that perhaps to much processes in a row.. argh i dont know ;)
 
Sonic-NKT posted on Apr 9 2005 at 01:44 PM said:
thanks again for the code...
hehe my main problem is in the moment the textures... i woild love to use the GBA ones, but cant find them anywhere, they were never ripped.
ok have to draw my own for first demo... but the will look like crap ;)

Just wanted to say (look at the screenshot in the post above) maybe try searching for
Kururin instead of Kuririn, that`ll give you more results :D

But I don`t know if you will find sprite rips this way :)


Your dot question: every process has a "z" coordinate.

Set z the number for the layer you want it to be, for example set the dot z to 1 and the stick z to 2 and the dot should be above the stick.

process dot();
begin
z=1;
...
end;

process stick();
begin
z=2;
...
end;

like this :D
 
Last edited by a moderator:
Back
Top