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
  (#21) 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,943
Join Date: Oct 2005
Location: Pointer = nil;
Send a message via ICQ to lifepower Send a message via MSN to lifepower
21-Dec-2005, 19:20

Quote:
Originally Posted by wagenheimer
I did some optimazations in my code, reviews all my colliderects, and now i´m getting 100 fps with colissions and 124 without collisions. I think that now it´s ok.

Thanks a lot, and sorry for the ammount of questions.
I also think posting some example code would be nice, so other people will see the fix/improvement.


M.Sc. Yuriy Kotsarenko
Ixchel Studios

Reply With Quote
  (#22) 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
05-Jan-2006, 18:09

I did a description for sprite engine(see first post).
New version will coming soon(hope i have time to do).
Reply With Quote
  (#23) 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,943
Join Date: Oct 2005
Location: Pointer = nil;
Send a message via ICQ to lifepower Send a message via MSN to lifepower
05-Jan-2006, 18:19

I've moved the thread to Resources and Downloads section and updated forum permissions. Remember that in this section new threads are approved by admins, but replies can freely be posted.


M.Sc. Yuriy Kotsarenko
Ixchel Studios

Reply With Quote
  (#24) Old
spoooky spoooky is offline
Curious
spoooky is on a distinguished road
 
spoooky's Avatar
 
Posts: 11
Join Date: Oct 2005
Send a message via ICQ to spoooky Send a message via MSN to spoooky Send a message via Yahoo to spoooky
05-Jan-2006, 23:19

I hope to put all that code together and get a better sprite engine.
Reply With Quote
  (#25) 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
13-Feb-2006, 14:04

Sprite Engine Update:

-Compatable with Asphyre 3.1.0
-Remove unused property
-Some bug fix,some small change and improve
-A new class "TJumperSprite" for make side scrolling act game.

The old file is deleted, Although it download time over 700...
Download it from Page1:
http://www.afterwarp.net/forum/thread220.html
Reply With Quote
  (#26) 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
11-Apr-2006, 20:10

Add a RPG map sample for Sprite Engine.
Download from Page1:

http://www.afterwarp.net/forum/thread220.html
Reply With Quote
  (#27) Old
chinadragon chinadragon is offline
Professional
chinadragon is on a distinguished road
 
chinadragon's Avatar
 
Posts: 57
Join Date: Oct 2005
Location: China Xi'An
12-Apr-2006, 01:55

Thank you!
it's works very good !
Reply With Quote
  (#28) 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: 445
Join Date: Oct 2005
12-Apr-2006, 10:04

Yep. Looks good!

Just a little hint. The shadows seem to be processed like all other "objects" in the scene. So if you walk "over" a shadow, you can vanish behind it. Maybe you should draw them always before you draw the players character.

Greetings,
Dirk
Reply With Quote
  (#29) 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
12-Apr-2006, 16:20

Quote:
Originally Posted by Huehnerschaender
Just a little hint. The shadows seem to be processed like all other "objects" in the scene. So if you walk "over" a shadow, you can vanish behind it. Maybe you should draw them always before you draw the players character.

Greetings,
Dirk
This i know,very easy to solve the problem immediately.
This only a simple example, so i don't want to write too many code.

Thanks
Reply With Quote
  (#30) 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
16-Apr-2006, 05:35

to DraculaLin

Using "Trunc" function is not good for drawing the object (procedure "Draw" in TSprite), because sometimes objects are drawing on not there position, especialy when the camera is moving (Engine.WorldX, Engine.WorldY).

I think that you need to change next code:
Code:
To all functions such that
FEngine.Canvas.Draw????(FEngine.Image.Image[ImgName],
  FPatternIndex,
  Trunc(FX + FWorldX + FOffsetX - FEngine.FWorldX),
  Trunc(FY + FWorldY + FOffsetY - FEngine.FWorldY),
to:
Code:
FEngine.Canvas.Draw????(FEngine.Image.Image[ImgName],
  FPatternIndex,
  Round(FX + FWorldX + FOffsetX - FEngine.FWorldX),
  Round(FY + FWorldY + FOffsetY - FEngine.FWorldY),
It's just advice.
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
Asphyre Sprite Engine DraculaLin Project Showcase 21 15-Nov-2005 05:29
Getting started with Asphyre - Read First! lifepower Development 0 14-Nov-2005 20:49
Asphyre eXtreme Installation lifepower Published Resources 0 07-Nov-2005 15:51
Asphyre eXtreme 3.1.0 (04-Jan-2006) lifepower Published Resources 0 07-Nov-2005 04:43
Mixing Asphyre eXtreme lifepower Development 4 17-Oct-2005 03:57



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