darkBASIC and show_message Help...

Posted by gtvg on Dec. 7, 2007, 10:50 p.m.

Help…

Call me a n00o0b, but how do display variables in a show_message()???

As the title suggests, I need a little help. The first thing is show_message_ext(). How do you define the actions of all of the buttons pressed? For example,

show_message_ext("What do you want to do?","Exit","Info","Play")

How do can you define all three? I can only do one, like

if show_message_ext("""") = 1

game_exit()

How do you do this???

I also plan on making two examples. One will be an example on how to make add ons for your game, such as levels or characters. The other will be a destruction example. It will include a car and show how to damage part of it instead of the whole thing turning black and crispy. Should I try to make these?

I also need some testers for my winter game and a few people to give me some more ideas and suggestions. I may post it on here in a few days if enough people want to, I'm trying to wait close enough to the deadline to where no one can steal my idea. :(((

darkBASIC

Does anyone use or ever used darkBASIC? If you have, is it worth learning? I may start to use it more after(IF) I finish my current projects, mainly the winter comp. game.

4823 hits

~GTVG~

Comments

poultry 17 years ago

darkBASIC is covered in manjuice. Sk8's manjuice, that is.

poultry 17 years ago

=2

wazu 17 years ago

gah, use

switch show_message_ext()

{

case 0:

codecodecodecode

break;

case 1:

codecodecodecode

break;

case 2:

codecodecodecode

break;

}

gtvg 17 years ago

Ty wazu

Juju 17 years ago

show_message(string(variable)+"look at me, you can add strings as well!"+string(another_variable))

Wazu's method is pure shite.

Treebasher 17 years ago

Yeah, you kind of have to use the string(variable) thing too or else it will be like "wrong type of argument to +" or something.

gtvg 17 years ago

Thxs! Time for some Winter pwnage

Evilish 17 years ago

darkBASIC is bad, very bad.

Go for C++, it's epic win

hte_david 17 years ago

I have been using darkBASIC pro for some time… But for some reason, I like gml better. DB is like… "The next level". Of course, I can code DB. And when you can do that, everything gets much easier in gml. As if you know the functions better than previous :P