Kinda Confused


dpoarch

Member
Joined
Dec 26, 2004
Messages
196
Age
37
Location
california
Website
Visit site
I'm trying to learn fenix but I dont know if im doing this right. I have flamebird. I did the first to chapters of evildragons tutorial. I didnt want to wait for the next one so I found a div tutorial. I get everything until It starts talking about loading fpg's and browsing through them to find pictures. I dont have any idea on how to do this with flamebird. Could somebody tell me if im doing this wrong. What im thinking is that you dont get to actually see the picture like in div but you just type the name of the picture in after you specify the fpg? am i totally off?
 
Rushed answer:

Say you have a FPG named "chars.fpg" with 3 sprites in it. Sprite number 1=Mario. Sprite number 2=Sonic. Sprite number 3=Megaman.

To use your FPG in game you must put in your code:
id_chars=load_fpg("chars.fpg");
file=id_chars;
graph=1; //to use Mario Sprite
or
graph=2; //to use Sonic Sprite
or
graph=3; //to use Megaman Sprite

Byes

PD: This example is not a working code... if you don't get it try to look at codes of other Fenix games or wait for another EvilDragoon Tuto Chapter.

Edit: If what you want is to EDIT and make FPGs take a look HERE
 
Last edited by a moderator:
Back
Top