PDA

View Full Version : Few questions



CyberOrcX
18-05-2009, 09:59 AM
Hello, Seniors of Development.

I want using Asphyre, but I don't know how is it doing?
Please, help me!
Sorry, my English is bad. ;)

chronozphere
18-05-2009, 11:20 AM
I'm not sure what you mean. Do you want to know how to use it?

If so, That's not something we can explain to you. You need to ask a more specific question. And if you want to know how to use it, you should look for some proper documentation and code-samples. ;)

CyberOrcX
19-05-2009, 09:08 AM
Thank's for your answer.

I download Asphyre package and set on my Delphi.
I write to formCreate:



procedure TMain.MainFormCreate(Sender: TObject);
begin
if (not aDvc.Initialize) then
begin
ShowMessage('Error initializing Asphyre!');
Main.Close;
end;

//...
end;

procedure TMain.aTmrTimer(Sender: Tobject);
begin
aDvc.Render(clWhite, True);
aDvc.Flip;
end;

//and drawing in procedure aDvc.Render
procedure TMain.aDvcRender(Sender: Tobject);
begin
aCanvas.Rectangle(0, 0, aDvc.Width, aDvc.Height, clLime, clGreen, 1);
end;


how to use AsphyreFont from ASDB archives?

chronozphere
19-05-2009, 01:35 PM
Well.. Did you try to figure it out yourself?

I don't feel like doing all the work for you. You have to do this by yourself.
Go download the latest apshyre package:

http://www.afterwarp.net/products/asphyresphinx

It has a nice bunch of samples. Run them, study them and try to do similair things.
The example game Hastroids has fonts so that's probably what you are looking for. :)

Good luck

pjpdev
19-05-2009, 04:16 PM
http://www.afterwarp.net/products/asphyresphinx

It has a nice bunch of samples. Run them, study them and try to do similair things.
The example game Hastroids has fonts so that's probably what you are looking for. :)

Good luck


I agree... This is the best way due to Asphyre's complete lack of documentation... :o

CyberOrcX
20-05-2009, 06:59 AM
For you: Thanks.