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 / cool math code!!!!!!!!!

Author
Message
Gamer Making
18
Years of Service
User Offline
Joined: 20th Sep 2006
Location: sitting at the comp programming
Posted: 6th Nov 2006 03:59
heres a math code simple for beginners:

a= 3+4
print a

h= 5+7
print h

t= 100+100
print t

Bach Tran
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 6th Nov 2006 04:45
ok gamer making i think we went through this the other day.

firstly try to wrap your code in code tags.

[ c o d e ] your code [ / c o d e ]

remove the spaces to use the tags.

secondly, I know your enthusiastic regarding sharing information and everyone is at a different level of expertise, but you have to reframe from posting this code in the wrong section.

if you really want to contribute, look firstly in the search box for something your posting thats similar, if there is nothing similar post it in the code snippets board.

I know you mean well, but being sloppy and thoughtless about it, doesnt help you and anyone else to learn this great package.

it might also help to write a little more about what your presenting. this way people will understand more and it will show that you clearly understand what your are presenting as well.

good effort for trying, cant blame you there, but its time to focus your energy so its not waisted and confines to the forums rules and restrictions.

Grog Grueslayer
Valued Member
19
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 6th Nov 2006 06:11
Quote: "a= 3+4
print a"


Gamer Making, most of the time other people new to Darkbasic read the help files too... so you don't need to post code that you just learned from the help files.

Quote from the help files in Data Types, Variables and Arrays:
Quote: "A variable is used to store a value. It's that simple. You can have a variable that stores any type of data, and you can have as many as you want. The following program shows you how the contents of the variable can be output to the screen:

A = 3 + 4
PRINT A
"
Jay Bee
18
Years of Service
User Offline
Joined: 15th Jul 2006
Location: Ashford, Kent, England
Posted: 6th Nov 2006 17:04
how can you POSSIBLY call this cool maths code? Far cooler is i dunno, using mechanics to write a physics engine, or using trigonometry to make a clock hand which follows the mouse, or using 3D line equations to design a hit testing system.. How, in hell, could you ever call simple addition "cool maths code"? I mean really...

Your signature has been erased by a mod - 404kb is a little large, don't you think? Nope not really, but heh, ur the boss
SimSmall
20
Years of Service
User Offline
Joined: 7th Aug 2004
Location: United Kingdom
Posted: 6th Nov 2006 18:50
even



would be "cooler"
Jack
20
Years of Service
User Offline
Joined: 4th Oct 2004
Location: [Germany]
Posted: 7th Nov 2006 23:11
Quote: "even

"print 3 + 4"


would be "cooler""


no,
a = 3 + 4
print a
print a/2
print a*10

is cooler than
print 3 + 4
print (3 + 4)/2
print (3 + 4)*10


[/center]
Currenty working for the Nvidia Game Dev Competition
Profit
19
Years of Service
User Offline
Joined: 19th Feb 2006
Location: United States
Posted: 9th Nov 2006 00:48
Quote: "how can you POSSIBLY call this cool maths code? Far cooler is i dunno, using mechanics to write a physics engine, or using trigonometry to make a clock hand which follows the mouse, or using 3D line equations to design a hit testing system.. How, in hell, could you ever call simple addition "cool maths code"? I mean really..."

You sure showed him.

common people are walking in line.

Mitsu Fly Ride.
Tapewormz
22
Years of Service
User Offline
Joined: 15th Sep 2002
Location: Winnipeg, Mantoba, Canada
Posted: 9th Nov 2006 14:04
Well, if he's this green at coding...he's probably new to being flamed. Chalk up 1 experience point for each new skill earned.

(that's 2 experience points total)...




indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 9th Nov 2006 14:26
you gained a level GM !

Soroki
19
Years of Service
User Offline
Joined: 26th Jan 2006
Location: United States
Posted: 9th Nov 2006 19:39
Why are you all still replying to this useless post? All you guys are doing are bumping a stupid post and over-flaming someone. If you can't handle something in a mature fashion, and avoid dragging other people down just because they thought their code was cool(even though it isn't, but that is not the point) There are no rules against posting code snippets on the forums, and until there is, leave people alone. You all make mistakes too, and the day you don't make mistakes is the day you will actually be perfect enough to make fun of those that do. So, shut up, grow up, and get something better to do.

bosskeith
19
Years of Service
User Offline
Joined: 5th Dec 2005
Location:
Posted: 9th Nov 2006 20:19
They are just jealous they did not post it first ... lol

(big sniff) I just love the smell of Flamed Noob in the morning.

just kidding everyone.

On a serious note though getting excited over this stuff is cool. He is learning it for the first time and coming to the realization that it will have an impact in his abilities to code, however this should probably be posted in the new comers thread rather than here.

Good Luck
Do not let the flames hold you back. Let it drive you like a combustion engine after all it too runs on flames.

RUCCUS
20
Years of Service
User Offline
Joined: 11th Dec 2004
Location: Canada
Posted: 9th Nov 2006 20:29
Quote: "You all make mistakes too"


Nope, we're perfect. We win at everything. Sorry.

Your signature has been erased by a mod because it's larger than 600x120...
Soroki
19
Years of Service
User Offline
Joined: 26th Jan 2006
Location: United States
Posted: 9th Nov 2006 20:42 Edited at: 9th Nov 2006 20:45
Dude, seriously, you are not funny. Just because someone gets a bit overexcited about their code does not give ANYONE the right to poke fun at them. You should be more mature than that. If there wasn't a rule against religious discussion I would tell you that being perfect would make you better than God, but that isn't allowed on here, so I won't. But I suppose you wouldn't care anyway. Let Gamer Making have his fun, and if you don't like it, keep your insulting keystrokes to your fingers. I am sick of newbies being dragged down on the forums. I hate when people do this crap. It is stupid, and once again, you guys are just bumping a useless topic.

EDIT:
Quote: "Do not let the flames hold you back. Let it drive you like a combustion engine after all it too runs on flames."


Interesting statement...

RUCCUS
20
Years of Service
User Offline
Joined: 11th Dec 2004
Location: Canada
Posted: 9th Nov 2006 21:08
I didnt insult him anywhere. I was trying to make a point, you're overreacting over one small example of what happens to every programmer at some point in their life. Theyll usually start out asking (to the common computer savvy) relatively stupid questions. At the same time, they'll try to up their popularity by either trying to pump out an amazing creation, or by taking the "Teacher" approach. Either one will tend to result in flamage, there'll be one or two people that feel sorry for the guy and will try to fight back (thats your part), and then the creator of the post will either ignore the thread completely, or respond with anger "omgz you guys r jerks i hate u al im leaving for good".

A week, or a month, however long it takes, later, they'll come back, take a bit more of a mature approach to things, but still get "flamed" (such a stupid word) for most things they do. As time progresses, they'll learn more, and soon they'll "evolve" into one of the flamers.

It happens to everyone, all the time, all over the internet. I understand you feel sorry for the guy, true, he was just trying to help, and also true, most of the posts on this thread weren't needed, but it just happens, and will continue to happen.

Let it go.

Your signature has been erased by a mod because it's larger than 600x120...
Lucifer
19
Years of Service
User Offline
Joined: 26th Dec 2005
Location:
Posted: 9th Nov 2006 21:44
Quote: " I would tell you that being perfect would make you better than God"


i'm better than god.. lets just leave it at that..



One is the lonliest number...
Grog Grueslayer
Valued Member
19
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 9th Nov 2006 23:47 Edited at: 9th Nov 2006 23:48
Soroki, I don't consider my message to be insulting (so I doubt you mean me). But I look at it like this... you have to check out his posting history. He has been posting for a while and most of his posts are pretty much useless... and it doesn't appear he's learning... or even acknowledging what the mods tell him.

This is going to seem harsh:


Here's the score on Gamer Making:
6 Totally pointless threads
4 Locked threads ( 1 a team request )
4 Gimmie da codez threads
7 Look at this cool code threads
---
21 threads of uselessness since he started posting. 1 post was ok.

It may seem like we bash newibes just because their new. But it's not like that... we bash newbies because they don't listen to us and learn from their mistakes.
Lucifer
19
Years of Service
User Offline
Joined: 26th Dec 2005
Location:
Posted: 10th Nov 2006 09:17
Quote: "It may seem like we bash newibes just because their new. But it's not like that... we bash newbies because they don't listen to us and learn from their mistakes."


Soroki, listen to the words of the great and almighty Grog Grueslayer. He tells the truth.



One is the lonliest number...
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 10th Nov 2006 09:45
soroki shares an awful lot of ip addresses with frozen flame. perhaps its one in the same.

Soroki
19
Years of Service
User Offline
Joined: 26th Jan 2006
Location: United States
Posted: 10th Nov 2006 15:49
It just so happens that Frozen and I go to the same school, so if you think we are the same person, you could not be more wrong. I often login at his place as well, okay? I am just going to let this topic go now, and some of you have some good points. I guess I was overreacting to this.

Gamer Making
18
Years of Service
User Offline
Joined: 20th Sep 2006
Location: sitting at the comp programming
Posted: 11th Nov 2006 20:11
grog 2 team requests ok! anyways dont tell EVERYBODY ABOUT THOSE POSTS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Bach Tran
Gamer Making
18
Years of Service
User Offline
Joined: 20th Sep 2006
Location: sitting at the comp programming
Posted: 11th Nov 2006 20:13
i just trying to help beginers and secondly i did not look through darkbasic help files at all i learned it somewhere else. How can you just insult me like that grog!

Bach Tran
Frozen Flame
20
Years of Service
User Offline
Joined: 22nd Jul 2004
Location:
Posted: 12th Nov 2006 00:28
Quote: "soroki shares an awful lot of ip addresses with frozen flame. perhaps its one in the same."

lol indi soroki comes over my house every weekend. he doesnt have internet in his bedroom yet and rarely gets to use his moms computer to get on.

But i gotta say.. its the constant flamming and insults in this forum that make me stay away from it. If the moderation was a little better and helped a little more instead of acting just like a regular member would, im sure the place would be a welcoming spot for all people and not just those who are elite in their code or those who can make joke.

-Frozen Flame
Lucifer
19
Years of Service
User Offline
Joined: 26th Dec 2005
Location:
Posted: 12th Nov 2006 00:52
Quote: "i just trying to help beginers"


well i have got some news for you! you are a beginner and the code you post isnt helping anyone, it's just copy/paste from the help file..

Quote: "How can you just insult me like that grog!"


i dont think he was insulting you.. he was just counting up the useless posts you have made..



One is the lonliest number...
Grog Grueslayer
Valued Member
19
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 12th Nov 2006 02:02 Edited at: 12th Nov 2006 02:03
Quote: "grog 2 team requests ok!"


Team requests are ok if their done exactly the way TGC want them done. Team Request Rules: http://forum.thegamecreators.com/?m=team_requests
Why do you think your team request thread was locked?


Quote: "anyways dont tell EVERYBODY ABOUT THOSE POSTS!"


Anybody can see that list just by hitting "Profile" on any message you make and clicking "Search". You can look at the threads that I've started (or anybody) if you want by doing the same thing for any post. Now that you know your threads are easy to see... will it change the way you post messages?

Quote: "i just trying to help beginers"


I agree with Lucifer on this matter.

Quote: "and secondly i did not look through darkbasic help files at all i learned it somewhere else."


So it was mere chance that you used the same variable and the same math that was in the help files and the same statement at the end. That's pretty amazing.

Quote: "How can you just insult me like that grog!"


I'm not insulting you I was just showing Soroki your history. I have nothing against you. I like newbies and love helping them because we are all "newbies" in some way or another. If you posted a message where you actually need help with something if I can help you I will. But your messages have so far been nothing but junk. If you don't like the truth that's your problem.

Posting only to impress people or to help newbies when you are also a newbie will only get you grief.

Stop posting junk messages... we'll like you much better and will be much more willing to help you when you have real code problems.

Learn from this and think before you post.
Gamer Making
18
Years of Service
User Offline
Joined: 20th Sep 2006
Location: sitting at the comp programming
Posted: 12th Nov 2006 17:00
maplestory is a fun game you should create msn acount download game from mapleglobal.com and sign up !!!!!! really ffun

Bach Tran

Login to post a reply

Server time is: 2025-05-25 23:03:03
Your offset time is: 2025-05-25 23:03:03