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.

Code Snippets / writing apps

Author
Message
Pal
21
Years of Service
User Offline
Joined: 13th Apr 2003
Location:
Posted: 25th Apr 2003 16:32
so i want to write cool software in dbpro. I have saw many people making cool software like map editor, matrix editor, model editor etc. i wanna do it too. So where do i start from, what do i make first, what do i need? Please help!
MrTAToad
21
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 25th Apr 2003 17:47
Well, you normally start at the start and end at the end...

Start on something simpler to start with - a good place to start would be noughts & crosses (teaches positioning and simple AI).

Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 26th Apr 2003 01:45
Check out the other recent threads...

http://www.darkbasicpro.com/apollo/view.php?t=8110&b=6

http://www.darkbasicpro.com/apollo/view.php?t=9348&b=10

Thanks in advance.
All the Best,
StevieVee
Conrad Brown
21
Years of Service
User Offline
Joined: 18th Apr 2003
Location:
Posted: 8th May 2003 05:22
Oh, and maybe change your name to 'Dark-Basic-Pro-Beginner'!!

David T
Retired Moderator
21
Years of Service
User Offline
Joined: 27th Aug 2002
Location: England
Posted: 10th May 2003 14:55
Well, apps are slightly harder than games in some respects.

If you want things like buttons etc. you'll have to write functions to do this. Apps are generally written in 2D, so make sure you know to do 2D well.

You'll have to structure them like a game, ie.

Load all stuff

do

- Draw controls
- Check if user is interacting
--> Do something if yes
- Display some sort of feedback, maybe a grid of matrix tiles or a view of a model
- Sync

loop

Functions (eg. buttons + other stuff)

You are the th person to view this signature.
Programmers don't die, they just Gosub without return....
David T
Retired Moderator
21
Years of Service
User Offline
Joined: 27th Aug 2002
Location: England
Posted: 10th May 2003 14:55
Wow, I used an


in my message and it didn't cut it off!

You are the th person to view this signature.
Programmers don't die, they just Gosub without return....

Login to post a reply

Server time is: 2024-04-26 10:31:10
Your offset time is: 2024-04-26 10:31:10