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.

DarkBASIC Discussion / how to implement a character selection menu

Author
Message
phukol
21
Years of Service
User Offline
Joined: 22nd Nov 2003
Location:
Posted: 8th Apr 2004 17:28
hi guyz! does anybody have an idea to implement a character selection menu. e.g. when you select a character in a game, the unselected characters will become your opponent. Plz i do need an example in how to do this!

phukol
KC27
21
Years of Service
User Offline
Joined: 18th Mar 2004
Location:
Posted: 9th Apr 2004 03:27
something along the lines of

if rightkey()=1 then playerSelected=oldplayerSelected+1
if leftkey()=1 then playerSelected=oldplayerSelected-1
Hide Object oldplayerSelected
Show Object playerSelected

KC27
21
Years of Service
User Offline
Joined: 18th Mar 2004
Location:
Posted: 9th Apr 2004 03:28
Thats only for chooseing your character though, sorry, I'd need some source code to work from if you want more help.

phukol
21
Years of Service
User Offline
Joined: 22nd Nov 2003
Location:
Posted: 12th Apr 2004 23:36
im just trying to create one. but do u thin k its possible if i use the variables and store the players data and just call them if it has been selected.?

phukol

Login to post a reply

Server time is: 2025-05-23 06:23:05
Your offset time is: 2025-05-23 06:23:05