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.

Newcomers DBPro Corner / Ahh im really struggling wid this !

Author
Message
zencreator03
21
Years of Service
User Offline
Joined: 11th Jul 2003
Location:
Posted: 12th Jul 2003 02:45
How do i create sprites and then load them into dark basic pro, im trying to make a game where i load i sprite and then when the user presses the space bar it deletes that sprite and replaces it with a "kicking sprite" and then re-deletes that and returns to the original sprite as if to give the appearence that the player is "kicking", im only a 1st day user of dark basic but im trying to make a VERY simple fighting style of game where one player kicks then that deducts health off the opponent, there is only one problem i dont know how to do any of it.Please Try your best to help.tHANX
andrew11
21
Years of Service
User Offline
Joined: 23rd Feb 2003
Location: United States
Posted: 12th Jul 2003 03:04
The easiest way would be to load the images seperate, then make the sprite. Heres a simple example. It's in pseudo-code, so it will not work directly copied in DB.



"All programmers are playwrites and all computers are lousy actors" -Anon

Login to post a reply

Server time is: 2024-11-24 23:11:41
Your offset time is: 2024-11-24 23:11:41