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 / [LOCKED] Devil Mayhem

Author
Message
Zero #43
21
Years of Service
User Offline
Joined: 5th May 2004
Location: ** in your head **
Posted: 5th Nov 2004 08:20 Edited at: 5th Nov 2004 09:03
(this is Paintball Freak) a cool Devil V.S. Ghost game, made by 12, and 13 year old kids, ryan is me, the same 1 who made Paintball Tournament 04-05. the download includes the .DBA file, and an executable file

Zero #43

Attachments

Login to view attachments
TEH_CODERER
21
Years of Service
User Offline
Joined: 12th Nov 2003
Location: Right behind you!
Posted: 6th Nov 2004 00:09
Doesn't work.
px-6=1 - could not understand command at line 39

Realms Of Tutopia: Rise Of Evil
http://www.freewebs.com/elbsoftware/index.htm
Pricey
22
Years of Service
User Offline
Joined: 22nd Feb 2003
Location:
Posted: 6th Nov 2004 21:35
Should that be px=1-6 maybe?

Zero #43
21
Years of Service
User Offline
Joined: 5th May 2004
Location: ** in your head **
Posted: 7th Nov 2004 10:26
nope, it works fine on DBC, maybe thats the prob.

Zero #43
blanky
20
Years of Service
User Offline
Joined: 3rd Aug 2004
Location: ./
Posted: 8th Nov 2004 05:08
px-6=1? What kind of statement is that?

px=6-1 maybe..

Ah what the hell, comment it out and watch the sparks fly..

Zero #43
21
Years of Service
User Offline
Joined: 5th May 2004
Location: ** in your head **
Posted: 30th Dec 2004 11:38
u dips it works fine, it just means that on the outside of the white circle guy thingy is less than 1 x (stops before it goes off the left side of the screen) Dark Basic Classic its works fine

Zero #43
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 30th Dec 2004 12:19
Dips...
Does that mean Dis S***?
I think it is and that woudl be a harsh comment. I got it to work, the attacking didn't seem to work though...

Have a heart and join my message board.And now my messageboards work again!Woot!
TEH_CODERER
21
Years of Service
User Offline
Joined: 12th Nov 2003
Location: Right behind you!
Posted: 30th Dec 2004 23:04
Yeah well it didn't work in pro and that was the problem.

Realms Of Tutopia: Rise Of Evil
http://www.freewebs.com/elbsoftware/index.htm
Zero #43
21
Years of Service
User Offline
Joined: 5th May 2004
Location: ** in your head **
Posted: 31st Dec 2004 00:22
hmm, lets stop and think if i made it in Dark Basic Pro ........ NO!

Zero #43
blanky
20
Years of Service
User Offline
Joined: 3rd Aug 2004
Location: ./
Posted: 31st Dec 2004 01:04
No, it's a line of bad coding.

px-6=1

DBPro knows that this is random meaningless crap.

DBC makes a variable called px-6, and assigns the value '1' to it.

And if you say If px-6=1, DBC takes 6 away from the px variable, and sees if it equals 1.

Needs fixing, or deletion.

DBPro users, just comment out the offending lines, and the program will act exactly the same as it does on DBC. Probably.

TEH_CODERER
21
Years of Service
User Offline
Joined: 12th Nov 2003
Location: Right behind you!
Posted: 31st Dec 2004 02:51
I know. I tried.
I wasn't complaining about the fact it was coded in DBC I was merely saying why it didn't work for me so no need to be angry.

Realms Of Tutopia: Rise Of Evil
http://www.freewebs.com/elbsoftware/index.htm
Zero #43
21
Years of Service
User Offline
Joined: 5th May 2004
Location: ** in your head **
Posted: 18th Jan 2005 07:40
i use the program all the time it works fine on "DARK BASIC CLASSIC".

Zero #43
Zero #43
21
Years of Service
User Offline
Joined: 5th May 2004
Location: ** in your head **
Posted: 24th Jan 2005 05:33
u retards, i used DBC, use the trial of it then paste in my code. it works perfectly fine, and no dips didnt mean Dis S***. it meant DIPS

Zero #43
blanky
20
Years of Service
User Offline
Joined: 3rd Aug 2004
Location: ./
Posted: 28th Jan 2005 21:09
READ MY POST, I explained why it didn't work. If anyone would like to read through and 'back me up' as it were, or provide another theory, please do.

Please, read what others say. And you don't know what 'dips' mean. You heard someone saying it and thought it sounded cool, and not offensive. Also, a 'retard' is a person who is mentally disabled.

We _ARE_ trying to help here.

(On a related note, variable code in DBC is 100% compatible with variable code in DBPro - apart from illogical statements, naturally.)

Oh yeah, and nice game, considering it uses no media - but could you speed it up a bit?

Avatar - white cat in a snowstorm. Look closely.
Emperor Baal
21
Years of Service
User Offline
Joined: 1st Dec 2003
Location: The Netherlands - Oudenbosch
Posted: 29th Jan 2005 07:42
if px-6<1
px-6=1
endif

is not valid... all languages will have problems compiling this.

Rewrite it to:

if px-6<1
px = 7
endif

or

if px<7
px = 7
endif

Zero #43
21
Years of Service
User Offline
Joined: 5th May 2004
Location: ** in your head **
Posted: 31st Jan 2005 07:09
but do u know wut that means

if px-6<1
px-6=1
endif

it means when the edge of the circle (left x) is <= 1, then collision. its a wall. u guys r dumb, it works fine on my version of Dark Basic Classic.

@ all
wut language is every 1 using, because i am not using DBP

Zero #43
blanky
20
Years of Service
User Offline
Joined: 3rd Aug 2004
Location: ./
Posted: 1st Feb 2005 02:21
Quote: "u guys r dumb"


Do you really want a flamewar? Just because you made a 2D game in DarkBasic Classic, doesn't mean you rule the Earth...


Using DBC, but compatibility is a *GOOD* thing, and meaningless code *BAD*.

Our problem is with the statement, 'px-6=1' - what is this meant to do?

I assume it's meant to make it so that if six is taken away from px, then it must equal 1 - this code could be rewritten so it works on *EVERYTHING* as, (as Baal said) px=7.

Done. Change it to px=7.

Avatar - white cat in a snowstorm. Look closely.
Zero #43
21
Years of Service
User Offline
Joined: 5th May 2004
Location: ** in your head **
Posted: 1st Feb 2005 07:06
i didnt mean that is was a *GOOD* thing i made it it DBC. i no its not impressive, i didnt try to make it impress any 1. they dont get it at all. they r using DBPro, i made this game in DBC. thats all i was saying 'Blanky' (Blanky *Minded*). u queers

Zero #43
Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 1st Feb 2005 19:26
Zero,
That line is, infact, illegal.

As has been stated, numerous times, it is wrong, and simply doesn't make sence.

The DBC compiler may not pick it up for the reasons that Blanky stated, or otherwise, and, thus, allow you to run the code, however, it is still illegal code.

When using the '=' operator in this case, it is an assignment operator.
This means, it assigns a value to a variable.
The way that it works, is you put the variable on the LEFT side of the operator, and the value on the RIGHT side of the operator.
The value can be a number ( 10, 3, 9 ), a mathematical function ( such examples include; 4 * 5, 9 - 5, 17 + 39 - 8 ), another variable ( myvar, elmo# ), or a mixture of the above ( myvar * 5, 19 - fred# + 1.0 ).

This is the ONLY way that an assignment operator can work.
No If's, No Buts, No nothing.

Yes, your code may compile for you, and the DBC compiler may miss this illegal code, but that doesn't make it any less illegal.

Next point, do not call people names ( be it "Dips" or "Dip S**t", or anything inbetween ), it really doesn't help your image. If you continue to harass the people that are helping, or pointing out a flaw in your code, then we will be left with no choice but to Ban you.

This thread is locked now.

Jess.

PS. this is also in the wrong place, it should be in WIP or Program Announcements.


Team EOD :: Programmer/All-Round Nice Guy
Aust. Convention!

Login to post a reply

Server time is: 2025-05-24 03:35:26
Your offset time is: 2025-05-24 03:35:26