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 / strategy game

Author
Message
Dodic
19
Years of Service
User Offline
Joined: 6th Nov 2005
Location: SNM (Serbia&Montenegro)
Posted: 8th Dec 2005 00:52
hi , i now sad i will stop posting "..." posts , so here is what i realy need to know , so please help me.

I want to make strategy game in dblite , now i would like to make unit selecting like in age of empires or something like that.

I mean when clicked , a box starts to draw , when click unpressed , then all units that were insite it get "SELECTED" , now becouse of db lite , i cant use any external dlls or stuff like that , so is there any way of making a strategy game in it?

i make free 3d models , then you tell me some stuff about usseles posts and then something heppen...
Grog Grueslayer
Valued Member
19
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 8th Dec 2005 06:32 Edited at: 8th Dec 2005 06:32
I know you've been shown this page before:
http://darkbasic.thegamecreators.com/?m=pagemail&f=lite

Quote: "We created the Lite version of DarkBASIC especially for you to test out DarkBASIC for an extended period of time. "


The above quote means Darkbasic Lite was created to allow you to test code beyond the trial period.

Quote: "Although you cannot save an EXE file from the Lite version "


The above quote means you can't make an .exe with Darkbasic Lite. This reason alone should cause you to not want to use DBLite.



blanky
20
Years of Service
User Offline
Joined: 3rd Aug 2004
Location: ./
Posted: 8th Dec 2005 08:31
@Dodic:

Yes, you can make a game in DB without external DLLs... it's just a tiny bit harder.
DBC's collision isn't messed up like DBP's, so the only hard bit would be the 'selecting' like you said.

I recommend you make an invisible 3D box, and position it to wherever the user drags; Then, just check for collision between the invisible box and characters and you'll know what the user's trying to select!

(Easier said than done, I know...)

16-colour PNGs pwn.
TDK
Retired Moderator
22
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 9th Dec 2005 01:51
Dodic, you have been ticking all of us off recently with your posts telling us about the new projects you seem to start every few hours.

However, I've decided to have a go at solving your problem - providing that you at least try to finish this project!

I've spent a while working on the code below because it's DBC - rather than DBPro, where what you want is quite easy to do. It's not an ideal way to do it I know, but it works in DBC.

Therefore, I will be annoyed if you announce yet another project before you've shown us this one up and running!



TDK_Man

blanky
20
Years of Service
User Offline
Joined: 3rd Aug 2004
Location: ./
Posted: 9th Dec 2005 21:37
Bookmarked this code for later reference.

16-colour PNGs pwn.
Dodic
19
Years of Service
User Offline
Joined: 6th Nov 2005
Location: SNM (Serbia&Montenegro)
Posted: 12th Dec 2005 03:40
tdk , thanks for code , i will work on THIS PROJECT NOW , thanks ! it`s cool!

i make free 3d models , then you tell me some stuff about usseles posts and then something heppen...

Login to post a reply

Server time is: 2025-05-22 20:02:07
Your offset time is: 2025-05-22 20:02:07