Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / quick question on dbplaysprite() function

Author
Message
hwoarang
11
Years of Service
User Offline
Joined: 19th May 2012
Location:
Posted: 20th May 2012 06:51
i have a image with 2 rows and 3 cols.
row 1 has person runing foward.
row 2 has person running backward.

i want to use row 1 if user press right key. and left for row2. right key works fine.
but when i press left key it start from row 1. i want to start from row2 here.

i del most of the code so its easy to read.

JTK
14
Years of Service
User Offline
Joined: 10th Feb 2010
Location:
Posted: 20th May 2012 16:07
You're checking for dbRightKey() in both tests.

Or is it a typo?
hwoarang
11
Years of Service
User Offline
Joined: 19th May 2012
Location:
Posted: 20th May 2012 21:39
ops yes thats a typo. 2nd time it should be dbLeftkey(). which play animate from 1 to 6. but i want to play animate from 4 to 6
hwoarang
11
Years of Service
User Offline
Joined: 19th May 2012
Location:
Posted: 20th May 2012 22:07
ops typo
on 2nd time it should be dbLeftKey()

Login to post a reply

Server time is: 2024-04-25 02:53:35
Your offset time is: 2024-04-25 02:53:35