Afterwarp Development  

Go Back   Afterwarp Development > Software/Game Development > Announcements
Announcements The discussion about news and announcements posted on our front page.


 
 
Thread Tools Display Modes
  (#11) Old
DraculaLin DraculaLin is offline
Privileged
DraculaLin has a reputation beyond reputeDraculaLin has a reputation beyond reputeDraculaLin has a reputation beyond reputeDraculaLin has a reputation beyond reputeDraculaLin has a reputation beyond reputeDraculaLin has a reputation beyond reputeDraculaLin has a reputation beyond reputeDraculaLin has a reputation beyond reputeDraculaLin has a reputation beyond reputeDraculaLin has a reputation beyond reputeDraculaLin has a reputation beyond repute
 
DraculaLin's Avatar
 
Posts: 454
Join Date: Oct 2005
Location: Taiwan
24-Oct-2007, 10:45

Great!!
It's very nice to see the engine only for 2D use,but not mix 2D and 3D.
This is compact and small,so very good for some sort of casual game development.
I plan to write a Casual Framework version of Sprite Engine if i have enough time.
  (#12) Old
Pegasus_Seiya Pegasus_Seiya is offline
Moderator
Pegasus_Seiya is on a distinguished road
 
Pegasus_Seiya's Avatar
 
Posts: 232
Join Date: Apr 2006
Location: Brazil, RJ - Petrópolis
Send a message via MSN to Pegasus_Seiya
24-Oct-2007, 14:39

Quote:
Originally Posted by lifepower View Post
This is pretty much a no go. BDS 2006 has language features that reduce the development time greatly and since we use Asphyre as well, it's counterproductive porting Asphyre to something that is 5 years old.

However, FreePascal (and Lazarus) support operator overloading as well, so there is absolutely no need for Delphi 7, except for some "casual" developers, who rarely develop anything.


DX7 already supported, OpenGL is under works. Additionally, DX9 provider will also be added.


Any suggestions? Asphyre natively supports TGA, but PNG seems to be much more popular these days.

Ok

But then you could do it compatible with Lazarus?

This will enhance the Asphyre, so it could be possible to compile the same code for Windows, Linux, and maybe Mac.


thanks


_-Pegasus_Seiya-_
  (#13) Old
CH@$ER CH@$ER is offline
Honoured
CH@$ER is on a distinguished road
 
CH@$ER's Avatar
 
Posts: 372
Join Date: Feb 2006
Location: Voronezh, Russia
Send a message via ICQ to CH@$ER
24-Oct-2007, 15:00

Quote:
I plan to write a Casual Framework version of Sprite Engine if i have enough time.
Then you must look into Hasteroids example


My choice is Asphyre! What YOUR is?!
  (#14) Old
Huehnerschaender Huehnerschaender is offline
Honoured
Huehnerschaender has much to be proud ofHuehnerschaender has much to be proud ofHuehnerschaender has much to be proud ofHuehnerschaender has much to be proud ofHuehnerschaender has much to be proud ofHuehnerschaender has much to be proud ofHuehnerschaender has much to be proud ofHuehnerschaender has much to be proud of
 
Posts: 452
Join Date: Oct 2005
24-Oct-2007, 15:24

Hi Yuriy!

Wow! The power of Asphyre 4 combined with minimum machine specs of DirectX 7.... if't thats no good news.... Great! I will check it out. Hopefully I will find some time to make a small minigame with it to see how easy it is to make games with this casual framework.


Great job Yuriy!
  (#15) Old
lifepower lifepower is offline
Developer
lifepower has much to be proud oflifepower has much to be proud oflifepower has much to be proud oflifepower has much to be proud oflifepower has much to be proud oflifepower has much to be proud oflifepower has much to be proud oflifepower has much to be proud of
 
lifepower's Avatar
 
Posts: 2,072
Join Date: Oct 2005
Location: Pointer = nil;
25-Oct-2007, 02:08

I've updated the package with version 1.0.1. It includes some minor additions to canvas and an example for using KOL (with custom message loop).
  (#16) Old
DExpert DExpert is offline
Professional
DExpert is on a distinguished road
 
DExpert's Avatar
 
Posts: 66
Join Date: Sep 2006
Location: West Java
Send a message via Yahoo to DExpert
25-Oct-2007, 10:10

Yiiihaaa! Thats what actualy we want Yuriy! Multi providers supports is a good idea since OpenGL (for example) would run on both Windows, Linux & Mac.
This will create more market automatically

I think render targets and dynamic textures must be at the 1st priority todo.
Make it completely done under DirectX 7, after that another provider(s) could be added latter...

Creating Lazarus compatibility is good idea too, this would make Asphyre run well on Linux also Mac using OpenGL provider. But this wouldn't a priority, since porting to Lazarus is a peace of cake job

Many thanks for your great framework Yuriy!

Regards,
  (#17) Old
wlion wlion is offline
Resourceful
wlion is on a distinguished road
 
Posts: 48
Join Date: Aug 2006
Question OpenGL Surport Multithread ? - 27-Oct-2007, 03:34

There Would Be Some Problem With OpenGL In MultiThread Mode.
OpenGL Seem Not Surport Multithread, Is't It ?

All I Wanna Know It That Is Asphyre Casual Framework Surport MultiThread ?

Last edited by wlion; 27-Oct-2007 at 04:10.
  (#18) Old
lifepower lifepower is offline
Developer
lifepower has much to be proud oflifepower has much to be proud oflifepower has much to be proud oflifepower has much to be proud oflifepower has much to be proud oflifepower has much to be proud oflifepower has much to be proud oflifepower has much to be proud of
 
lifepower's Avatar
 
Posts: 2,072
Join Date: Oct 2005
Location: Pointer = nil;
01-Nov-2007, 02:11

Quote:
Originally Posted by DExpert View Post
I think render targets and dynamic textures must be at the 1st priority todo.
Make it completely done under DirectX 7, after that another provider(s) could be added latter...
Dynamic textures have been finished. Also added mipmapping support, which was a hell of work to do in DX7! After the site redesign is complete, I'll publish an update to this package.

Asphyre 4.2 will most likely use 2D drawing capabilities from Asphyre Casual. Asphyre 4.2 will support shaders, while Asphyre Casual will include a limited 3D support similar to Asphyre 3.1, using DX7 and other providers (DX9, OGL).

Quote:
Originally Posted by DExpert View Post
Creating Lazarus compatibility is good idea too, this would make Asphyre run well on Linux also Mac using OpenGL provider. But this wouldn't a priority, since porting to Lazarus is a peace of cake job
I'm doing the port right now, so at least you could use Lazarus to create DX7 apps with Asphyre Casual Framework. It takes some time to port operator overloading, but I've already got Vectors2.pas working without problems.

Quote:
Originally Posted by DExpert View Post
There Would Be Some Problem With OpenGL In MultiThread Mode.
OpenGL Seem Not Surport Multithread, Is't It ?

All I Wanna Know It That Is Asphyre Casual Framework Surport MultiThread ?
Under DX7 - yes. In "DX7Devices.pas", find "SetCooperativeLevel()" method code and just before "Result:= Succeeded(...." add:

Code:
Flags:= Flags or DDSCL_MULTITHREADED;
  (#19) Old
CH@$ER CH@$ER is offline
Honoured
CH@$ER is on a distinguished road
 
CH@$ER's Avatar
 
Posts: 372
Join Date: Feb 2006
Location: Voronezh, Russia
Send a message via ICQ to CH@$ER
01-Nov-2007, 06:16

Btw, about class operators. You can do so, that they could be disabled. By compiler directives. Like here:
Code:
type
 PPoint2 = ^TPoint2;
 TPoint2 = record
  x, y: Single;
  {$IFDEF Delphi2006+}
  class operator Add(const a, b: TPoint2): TPoint2;
  class operator Subtract(const a, b: TPoint2): TPoint2;
  class operator Multiply(const a, b: TPoint2): TPoint2;
  class operator Divide(const a, b: TPoint2): TPoint2;

  class operator Negative(const v: TPoint2): TPoint2;
  class operator Multiply(const v: TPoint2; const k: Single): TPoint2;
  class operator Multiply(const v: TPoint2; const k: Integer): TPoint2;
  class operator Divide(const v: TPoint2; const k: Single): TPoint2;
  class operator Divide(const v: TPoint2; const k: Integer): TPoint2;
  class operator Implicit(const Point: TPoint): TPoint2;
  class operator Implicit(const Point: TPoint2): TPoint;
  class operator Explicit(const Point: TPoint): TPoint2;
  class operator Explicit(const Point: TPoint2): TPoint;

  class operator Implicit(const Point: TPoint2px): TPoint2;
  class operator Implicit(const Point: TPoint2): TPoint2px;
  class operator Explicit(const Point: TPoint2px): TPoint2;
  class operator Explicit(const Point: TPoint2): TPoint2px;
  {$ENDIF}
 end;
And then somewhere in the code of Asphyre:
Code:
var
  a, b: TPoint2;
begin
  a:= Point2(...);
  b:= Point2(...);
  {$IFDEF Delphi2006+}
  a:= a + b;
  {$ELSE}
  a:= VecAdd(a, b);
  {$ENDIF}
And then everyone who need could add Delphi2006+ string in conditional defines (Project options).


My choice is Asphyre! What YOUR is?!
  (#20) Old
lifepower lifepower is offline
Developer
lifepower has much to be proud oflifepower has much to be proud oflifepower has much to be proud oflifepower has much to be proud oflifepower has much to be proud oflifepower has much to be proud oflifepower has much to be proud oflifepower has much to be proud of
 
lifepower's Avatar
 
Posts: 2,072
Join Date: Oct 2005
Location: Pointer = nil;
01-Nov-2007, 06:44

Quote:
Originally Posted by CH@$ER View Post
Btw, about class operators. You can do so, that they could be disabled. By compiler directives. Like here:...
Check the attached unit.

By the way, Lazarus port is complete, but ASDb doesn't work. The compression seemed to work fine (using pazlib) and record table gets updated, but when reading records, an access violation occurs.
Attached Files
File Type: pas Vectors2px.pas (13.1 KB, 186 views)
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Asphyre eXtreme II (4.1.0) lifepower Published Resources 7 03-Sep-2008 17:04
Asphyre 3.1 framework Huerefar Published Resources 6 13-Aug-2007 21:54
Resources Asphyre no Fórum sourcecode Asphyre in Portuguese 2 09-Aug-2006 01:24
Getting started with Asphyre - Read First! lifepower Development 0 14-Nov-2005 20:49
Mixing Asphyre eXtreme lifepower Development 4 17-Oct-2005 03:57



vBulletin® is copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com
Copyright (c) 2000 - 2016 Afterwarp Development. All rights reserved.