Afterwarp Development  

Go Back   Afterwarp Development > Asphyre Framework > Development
Development Discuss anything related to developing applications using Asphyre framework series.


Reply
 
Thread Tools Display Modes
  (#1) Old
Qleer Qleer is offline
Visitor
Qleer is on a distinguished road
 
Qleer's Avatar
 
Posts: 1
Join Date: Feb 2010
Location: $location=NULL;
Sprites & Animation in move - 02-Feb-2010, 23:02

Hello guys!
I have some trouble in source code... Okey lets play

I want to move some sprite (creature/monster/hero) - everything its ok, i creating a creature:

Code:
Hero := THero.Create(SpriteEngine);
     Hero.ImageName := 'Player1';
     Hero.X := 32;
     Hero.Y := 32;
     Hero.FramePerDir := 3;
     Hero.AnimSpeed := 0.20;
     Hero.DoAnimate := False;
     Hero.AnimLooped := True;
     Hero.AnimCount := 3;
     Hero.Red := 256;
     Hero.Green := 256;
     Hero.Blue := 256;
     Hero.DoCollision := False;
Ok...How i can do this:
When player move (et: 32px to left) how i can move player & animation ? Simple example is game: Tibia, Wesnoth etc.

I creating a isometric game - 32px is 1sqm so i must move player 1 sqm to left & animating him ?
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
Animation DelphiKareshi Programming and Graphics 3 20-Jan-2009 06:15
Sprite engine improvement: "pinned" sprites masonwheeler Published Resources 1 09-Feb-2008 17:08
Sprite Animation Sequence Question softtouch Development 1 03-Apr-2007 10:57
My Asphyre animation Cervajz Developer's Lounge 40 29-Nov-2006 23:34
SpriteEngine's base sprite level Hiney Development 1 03-Mar-2006 10:28



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