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 / LineRider Remake

Author
Message
Binary Coder
19
Years of Service
User Offline
Joined: 26th Feb 2007
Location: Queensland, Australia
Posted: 5th Jun 2007 10:16 Edited at: 7th Jun 2007 13:34
Hi,
I decided to design a remake of Line rider (if you don't know what that is, google it). Although this version will have a drag and drop mechanisim. There is probably some obvious reason for it, but I cannot get it to work! Here is my code, It will be greatly appriciated if someone could help! Thank you!



If you need the media files to solve this problem, please notify me.

Thanks again!

Deathead
19
Years of Service
User Offline
Joined: 14th Oct 2006
Location:
Posted: 6th Jun 2007 12:06
Screenie????

My Avatar is copyright to John F's Wick Models
Binary Coder
19
Years of Service
User Offline
Joined: 26th Feb 2007
Location: Queensland, Australia
Posted: 6th Jun 2007 13:27
What's the point? All you can see is a blue line on the screen.

What im am trying to do is have a tool bar up the top, and then you just click to botton and click where you want the track to be.

LBFN
19
Years of Service
User Offline
Joined: 7th Apr 2007
Location: USA
Posted: 6th Jun 2007 15:09
Your code snippet indicates your age. In the past, you were not supposed to show your age like that, though I don't see a sticky on this board that indicates that (it still would be a good idea to remove it).

As to the coding problem, you will need to set up a system to give a status. For example:
Status =
1. waiting for user to select a button
2. user has selected a button/track and is allowed to move the selected track around for placement
3. user is allowed to place the selected track or select a different piece
4. user is allowed to save the particular screen

It would probably be easier to have separate subroutines (procedures) based upon the status.

Hope this helps.

LB
Binary Coder
19
Years of Service
User Offline
Joined: 26th Feb 2007
Location: Queensland, Australia
Posted: 7th Jun 2007 13:34
Woops! Sorry, and thanks for the hint LB. Ill edit the first post.

To the problem at hand...
Do you mean i should check for the first status with if, endif? Then if it's true I gosub it to the subroutine with the next status check? Cool, ill try it out tomorrow, as i've got to go watch T.V.

Thanks again!

Login to post a reply

Server time is: 2026-07-06 06:44:24
Your offset time is: 2026-07-06 06:44:24