Afterwarp Development  

Go Back   Afterwarp Development > Software/Game Development > Published Resources
Published Resources Post any source code, images and tools here that you want to share with the community.


Reply
 
Thread Tools Display Modes
  (#1) 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: 453
Join Date: Oct 2005
Location: Taiwan
Sprite Engine for Asphyre Sphinx(2009,Feb) - 19-Feb-2009, 12:41

Official Sprite Engine for Asphyre Sphinx.

The Sprite Engine Framework is a collection of extremely useful function/feature that you can use to make professional or commercial game rapidly and easily.

The Sprite Engine has already become commercial class stuff. But now you can use it in your game for free.
It is a full featured engine for all who want to develop commercial quality 2D games rapidly and easily.
It covers all imaginable 2D game genres.You could create any type of game.

Alternative download (1.3 Mb):
SpriteEngine19Feb2009.rar
Attached Thumbnails
Click image for larger version

Name:	Animation.jpg
Views:	218
Size:	41.5 KB
ID:	1422   Click image for larger version

Name:	PowerBlaster1.jpg
Views:	188
Size:	54.7 KB
ID:	1423  
Attached Files
File Type: rar SpriteEngineSphinx_01.rar (976.1 KB, 619 views)
File Type: rar SpriteEngineSphinx_02.rar (1.74 MB, 628 views)

Last edited by lifepower; 22-Feb-2009 at 15:46. Reason: added download mirror
Reply With Quote
  (#2) 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: 453
Join Date: Oct 2005
Location: Taiwan
19-Feb-2009, 12:55

More demos.
Attached Thumbnails
Click image for larger version

Name:	MouseEvent.jpg
Views:	124
Size:	96.4 KB
ID:	1424   Click image for larger version

Name:	ScrollingMap.jpg
Views:	135
Size:	78.8 KB
ID:	1425   Click image for larger version

Name:	Basic.jpg
Views:	110
Size:	95.9 KB
ID:	1427   Click image for larger version

Name:	ColorEffect.jpg
Views:	103
Size:	56.2 KB
ID:	1428  

Click image for larger version

Name:	DouDou.jpg
Views:	125
Size:	58.1 KB
ID:	1429  
Attached Files
File Type: rar SpriteEngineSphinx_03.rar (1.64 MB, 560 views)
File Type: rar SpriteEngineSphinx_04.rar (1.43 MB, 565 views)
Reply With Quote
  (#3) 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: 453
Join Date: Oct 2005
Location: Taiwan
19-Feb-2009, 13:09

More demos
Attached Thumbnails
Click image for larger version

Name:	RPGMap.jpg
Views:	113
Size:	58.8 KB
ID:	1431   Click image for larger version

Name:	Shooter.jpg
Views:	114
Size:	20.0 KB
ID:	1432   Click image for larger version

Name:	PaperDolls.jpg
Views:	132
Size:	93.8 KB
ID:	1434  
Attached Files
File Type: rar SpriteEngineSphinx_05.rar (1.17 MB, 583 views)
File Type: rar SpriteEngineSphinx_06.rar (944.7 KB, 591 views)
Reply With Quote
  (#4) Old
wagenheimer wagenheimer is online now
Honoured
wagenheimer is on a distinguished road
 
wagenheimer's Avatar
 
Posts: 336
Join Date: Dec 2005
Location: Brazil
Send a message via ICQ to wagenheimer Send a message via MSN to wagenheimer Send a message via Skype™ to wagenheimer
19-Feb-2009, 14:16

Hi DraculaLin, thanks for the Release!

I do not understand very well! Is there a distinct commercial version of SpriteEngine?
Reply With Quote
  (#5) 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: 1,988
Join Date: Oct 2005
Location: Pointer = nil;
Send a message via ICQ to lifepower Send a message via MSN to lifepower
22-Feb-2009, 16:35

Many thanks! I have added an alternate link in the first post.


M.Sc. Yuriy Kotsarenko
Ixchel Studios

Reply With Quote
  (#6) Old
lucasnsa lucasnsa is offline
Visitor
lucasnsa is on a distinguished road
 
Posts: 2
Join Date: Feb 2009
Location: Brazil
Send a message via MSN to lucasnsa
22-Feb-2009, 16:57

I can use with Lazarus (FPC)?

"sorry for bad English"
Reply With Quote
  (#7) 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: 453
Join Date: Oct 2005
Location: Taiwan
23-Feb-2009, 12:01

Quote:
Originally Posted by lucasnsa View Post
I can use with Lazarus (FPC)?
The Sprite Engine is just use Asphyre's draw routine.So it
not related to Sprite Engine.Since Sphinx works with Lazarus.It should works.
But i don't understand why you don't just try that??
Reply With Quote
  (#8) Old
softtouch softtouch is offline
Reputable
softtouch is on a distinguished road
 
softtouch's Avatar
 
Posts: 107
Join Date: Mar 2007
Location: Cebu City, Philippines
Send a message via Yahoo to softtouch
24-Feb-2009, 02:29

I have a stupid issue...

I create the sprite engine:

Code:
Sprites:=TSpriteEngine.Create(nil);
Sprites.Images:=Images;
Sprites.Canvas:=MyCanvas;
I then define a class (for testing):

Code:
type
  TScroller = class(TSprite)
  public
    procedure DoMove(const MoveSpeed:single); override;
  end;
Next, I create the sprites:

Code:
images.AddFromASDb('scrollfont.image',asdb);

with TScroller.create(sprites) do
begin
  X:=100;
  Y:=100;
  Width:=64;
  Height:=64;
  ImageName:='scrollfont.image';
  Patternindex:=33;
end;
In the RenderEvent I have:

Code:
sprites.draw;
sprites.move(1);
sprites.dead;
In the sprites DoMove I have:

Code:
procedure TScroller.DoMove(const MoveCount: Single);
begin
  inherited;
  x:=x-1.0;
end;
And the sprite moves so fast, I can't barely see it!
It is moving with the framerate, which is 2300FPS.
What am I doing wrong??? I am totally lost now.

Last edited by softtouch; 24-Feb-2009 at 02:58.
Reply With Quote
  (#9) 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: 1,988
Join Date: Oct 2005
Location: Pointer = nil;
Send a message via ICQ to lifepower Send a message via MSN to lifepower
24-Feb-2009, 03:34

Quote:
Originally Posted by softtouch View Post
And the sprite moves so fast, I can't barely see it!
It is moving with the framerate, which is 2300FPS.
What am I doing wrong??? I am totally lost now.
Place Sprites.Move(1) in Timer.OnProcess event (and remember to call Timer.Process() in your OnTimer event) instead.


M.Sc. Yuriy Kotsarenko
Ixchel Studios

Reply With Quote
  (#10) Old
softtouch softtouch is offline
Reputable
softtouch is on a distinguished road
 
softtouch's Avatar
 
Posts: 107
Join Date: Mar 2007
Location: Cebu City, Philippines
Send a message via Yahoo to softtouch
24-Feb-2009, 06:47

Quote:
Originally Posted by lifepower View Post
Place Sprites.Move(1) in Timer.OnProcess event (and remember to call Timer.Process() in your OnTimer event) instead.
I did, but then its not smooth anymore...
It then looks like it missed from time to time a movement.
And the sprite seems to flicker a little (just a 64x64 image)...

But in older asphyre versions, I used draw/move/dead in the RenderEvent procedure, and it was always smooth.

I also noticed that when I compile the sprite engine examples (error free), and run them, I get with all of them an access violation... so i cannot test them...

This is only related to sprites, everything else is perfectly fine.

My hardware is (cannot be the issue for sure):
GeForce 8800GTX Extreme
Intel Q6600
4GB DDR2
Vista Ultimate 32
Reply With Quote
Reply

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
Sprite Engine for Asphyre Casual Framework DraculaLin Published Resources 43 15-Jul-2008 12:19
Sprite engine improvement: "pinned" sprites masonwheeler Published Resources 1 09-Feb-2008 16:08
Minor Sprite Engine optimization for HUGE large-map improvements masonwheeler Published Resources 7 13-Jan-2008 17:03
My own sprite engine CH@$ER Programming and Graphics 16 29-Aug-2007 09:59
sprite engine sprite alpha value lordzero Development 2 14-May-2006 18:24



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