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.

The 20 Line Challenge / Return to Phobos complete!

Author
Message
Xeridox
20
Years of Service
User Offline
Joined: 19th May 2003
Playing: Scrap Mechanic
Posted: 20th Aug 2003 11:53 Edited at: 20th Aug 2003 12:01
Here's my entry, nice and done. I haven't updated the pics on my website yet, but they're still there.

Works in DBPro, don't know about classic.
Exactly 200K in media so my computer says, Rich, be sure not to include the readme file as part of the media. If it's too much, I'll send up a different midi file instead. Most everything is straight from Doom, I changed a few things, for instance, the ability to look up and down lol

Download the source and everything from here (116KB zip): http://www.xeridox.com/Phobos.zip

See the old pics here: http://www.xeridox.com/Phobos.html

and be sure to read the readme for controls and storyline.

Enjoy!



Xeridox
20
Years of Service
User Offline
Joined: 19th May 2003
Playing: Scrap Mechanic
Posted: 20th Aug 2003 12:58
Oh yeah, would also like to know what framerates you get.
It's very slow on mine, but I also have a slow comp, only 12 fps

P2 266
Geforce2 mx 32MB
192 MB RAM

Compiuser458
21
Years of Service
User Offline
Joined: 6th Apr 2003
Location: Germany
Posted: 20th Aug 2003 13:06
Doesn't run in classic.
Can you make an exe please?

Xeridox
20
Years of Service
User Offline
Joined: 19th May 2003
Playing: Scrap Mechanic
Posted: 20th Aug 2003 13:11
Compiuser458
21
Years of Service
User Offline
Joined: 6th Apr 2003
Location: Germany
Posted: 20th Aug 2003 13:35
I really want to play your game but my
damn Voodoo 3 doesn't allow 32 bit colours.

Can you please please please send me a 16 bit exe???
My e-mail adress is compiuser458@aol.com

Thanks

Xeridox
20
Years of Service
User Offline
Joined: 19th May 2003
Playing: Scrap Mechanic
Posted: 20th Aug 2003 14:07
keeblerElf
20
Years of Service
User Offline
Joined: 11th Jun 2003
Location: United States
Posted: 21st Aug 2003 05:21
Awesome

Live life and play video games
Ocean Runner
20
Years of Service
User Offline
Joined: 18th May 2003
Location: United States
Posted: 22nd Aug 2003 02:37
The link is broken.

"Computers in the future may weigh no more then
1.5 tons.
- Popular Mechanics, 1949
Falelorn
20
Years of Service
User Offline
Joined: 19th Jun 2003
Location: Canada
Posted: 22nd Aug 2003 04:40
Cool, I liked it.
Xeridox
20
Years of Service
User Offline
Joined: 19th May 2003
Playing: Scrap Mechanic
Posted: 22nd Aug 2003 08:18 Edited at: 22nd Aug 2003 08:20
My site is down for some reason, I just sent a messeage to IrFlash (my host) and am now awaiting a response. Send your email addy to xeridox@hotmail.com and I'll send you the media. Source is available above. You'll know when it's back up when my Avatar is displayed.

zzabb
20
Years of Service
User Offline
Joined: 25th Apr 2003
Location: Seattle, USA
Posted: 25th Aug 2003 10:34
hey great game
you think your comp is slow, my fps rate was5 )-:

i didn't know that we could use data files as part of our code?

My advice is free -
unfortunately you get what you pay for (-:
Xeridox
20
Years of Service
User Offline
Joined: 19th May 2003
Playing: Scrap Mechanic
Posted: 25th Aug 2003 16:04
Data files? You must be talking about the base.phobos file.
The rules state that you can have external media no larger than 200K so I assume you can put about any kind of media you want. I don't know about DLL's though....seems they would rule those out.

Ian T
21
Years of Service
User Offline
Joined: 12th Sep 2002
Location: Around
Posted: 25th Aug 2003 20:50
I dunno... theoretically external media could include a .code file (in DBC that is, with the #include uses) with 200k of code in it... but I suppose that stuff will just be individually judged.

--Mouse

Famous (Avatarless) Fighting Furball
Xeridox
20
Years of Service
User Offline
Joined: 19th May 2003
Playing: Scrap Mechanic
Posted: 26th Aug 2003 17:15
Well, the way I look at it, you must have no more than 20 lines/ 25 commands per line in your game, including any actual DB code you have in external files. If you could make an include file of that size, I could have submitted Dark Realm Demo 3 as it is now, it's over 3400 lines long with several commands on some lines and it's only 71 KB.

granada
21
Years of Service
User Offline
Joined: 27th Aug 2002
Location: United Kingdom
Posted: 26th Aug 2003 19:47
Xeridox
great fun,played for ages

tried the editor got a cube to appear but cant moove
scale or texture it

dave

just trying to learn
Xeridox
20
Years of Service
User Offline
Joined: 19th May 2003
Playing: Scrap Mechanic
Posted: 27th Aug 2003 08:50
Ah yes the editor.

I accidently left the source for that in there when I uploaded it, and now I suppose I'll tell you how to use it.

The camera looks with the mouse, the cursor keys move the camera.
To move/stretch an object:

CTRL+left mouse button=move/stretch the object on the x axis
CTRL+right mouse button=move/stretch the object on the z axis
CTRL+both mouse buttons=move/stretch the object on the y axis

Keyboard commands:

c=create cube
m=move mode
s=scale mode
numbers 1-8 will texture an object
f=scales the texture for floors/ceilings
w=scales the texture for walls
l=loads a map
*=saves a map
+/- = selects objects for manipulation
e=adds a cacodemon at the current camera position
p=saves the current camera position as the player's entry point

The following commands may be entered after the ~ key:
delete all enemies = speaks for itself
reset texture = resets the texture scale to 1, may look funny because of the light change but will come out fine in the game.
scale texture = will ask you for texture scaling values for x and y indepently.
speed = will ask you for a new camera move speed, 3 is default
stairs = will ask for several items:
1st prompt: number of stairs
2nd prompt: Up or Down? specify u or d
3rd prompt: Forward, back, left, or right? specify f,b,l, or r
note: forward is always the direction you are facing when the editor starts.

To test your game, make sure to change the map name in the Return to Phobos source. The default is base.phobos

The object limit is 799, this is because objects 800-899 are reserved for projectiles, and 900-999 are used for cacodemons, the player is object 1000. This editor was meant for a small game, but will be released later with more objects supported and a better environment. After Dark Realm Release 3.0, I am reprogramming Dark Realm and a new editor especially designed for it. The name may also be changed....more news later on my site [href]www.xeridox.com[/href]

granada
21
Years of Service
User Offline
Joined: 27th Aug 2002
Location: United Kingdom
Posted: 27th Aug 2003 17:40
thanks
dave

just trying to learn
David T
Retired Moderator
21
Years of Service
User Offline
Joined: 27th Aug 2002
Location: England
Posted: 28th Aug 2003 22:51
Amazing! great game.

39fps.

Theres no place like 127.0.0.1
There are 10 people in this world, those who understand binary and those who don't
Bus station = where bus stops. Train station = where train stops. Workstation = ?
Cliff 3degs network
20
Years of Service
User Offline
Joined: 23rd May 2003
Location: Sweden
Posted: 5th Sep 2003 01:14
Please help xeridox iam an newbie thats fooling around with your code for phobos trying to get in an 3d enemy instead of the 2d original one.
wath are i doing wrong you are probably the only one that can help me.
i have inserted it to the code but it looks like he floats and have the back towards the player all the time?
behaving yust like the 2d enemy?
why anyone please
iam going crazy..............
and why is it so slow iam an real newbie

must have missed some old code for the 2d one somewhere?

Wannabe coder?
Xeridox
20
Years of Service
User Offline
Joined: 19th May 2003
Playing: Scrap Mechanic
Posted: 6th Sep 2003 07:25
Cliff's problem solved through EMail...

Darin Snow
Xeridox Entertainment Group
Please visit our website for regular updates!
Hamish McHaggis
21
Years of Service
User Offline
Joined: 13th Dec 2002
Location: Modgnik Detinu
Posted: 6th Sep 2003 16:01
Looks pretty cool, although when I tried to restart the program froze.

Brains are for idiots.

Athelon XP 1400 Plus - Nvidia Geforce MX400 - 256mb RAM
Xeridox
20
Years of Service
User Offline
Joined: 19th May 2003
Playing: Scrap Mechanic
Posted: 7th Sep 2003 06:44
The program will appear to freeze for quite a few seconds, then it restarts. If it does it for like 2 or 3 solid minutes, then yes it has probably crashed.

Cheers,

Darin Snow
Xeridox Entertainment Group
Please visit our website for regular updates!
Hamish McHaggis
21
Years of Service
User Offline
Joined: 13th Dec 2002
Location: Modgnik Detinu
Posted: 7th Sep 2003 16:01
Lol, yeah I was waiting for quite a while.

Brains are for idiots.

Athelon XP 1400 Plus - Nvidia Geforce MX400 - 256mb RAM
Teh Missingz0rs
21
Years of Service
User Offline
Joined: 6th Dec 2002
Location: United Kingdom
Posted: 19th Sep 2003 12:43
I got about 5-7 fps.
Small bug: you can keep looking up until you've done a 360 spin.
But what the hey, 20 lines, good game.

I hate these new look forums.
Mussi
21
Years of Service
User Offline
Joined: 27th Jan 2003
Location: Netherlands
Posted: 24th Sep 2003 20:16
omg that looks cool
keep up the good work

fps: +-30

Specs: AMD Athlon 1800, 256 DDRRam 266mhz, 80GB HD 7200rmp U133, Geforce 4 Ti4400 128mb ddr sdram
Northern Fist
20
Years of Service
User Offline
Joined: 23rd Sep 2003
Location:
Posted: 25th Sep 2003 06:13
It looks really good. Just one question: I'm running a 2.4 Gigaherts system on DirectX 9.0. Why in the hell is it running at 8 fps most of the time? Could it be that the entire level structure and the off-screen surfaces be on the memory at the same time? Or is it that there is no BSP in the code, or the fact that there is absolutely NO clipping.

Other than that, I enjoyed it.

"Power, precision, and don't forget about speed. If you practice everyday with these things in mind... you begin to develope A FIGHTING MODE." - Fist of Legend (Jet Li)
HardBoot
20
Years of Service
User Offline
Joined: 10th Sep 2003
Location: Earth
Posted: 25th Sep 2003 09:12
'cannot load music at line 5'

get this error when i run the exe
but if i use the source and DB to run it it works fine.....

Great game! brought back lots of happy memories from making Doom lvls

FPS~35
AthlonXP 2400+, 1G DDR, GeForce4 Ti 4400
Northern Fist
20
Years of Service
User Offline
Joined: 23rd Sep 2003
Location:
Posted: 26th Sep 2003 02:11
This could be another bug: I couldn't find the last cacodemon thingamabob. So, what happens when you kill them all?

"Power, precision, and don't forget about speed. If you practice everyday with these things in mind... you begin to develope A FIGHTING MODE." - Fist of Legend (Jet Li)
Cliff 3degs network
20
Years of Service
User Offline
Joined: 23rd May 2003
Location: Sweden
Posted: 26th Sep 2003 18:29
hi there folks.
yust some small explanations to xeridox great little game.
Yust wath i noticed is that the enemies are shooting constantly if they get in contact with the world cubes so that even if you cant see the enemies so are they shooting in floors under you and they are shotting like hell so simple as this alot of objects to keep up with for the cpu.
thats why low fps.
as i modified the code yust a little bit and have an framerate of 66.
xeridox the nice chapp is helping me out as iam still learning to program.

Wannabe coder?
Xeridox
20
Years of Service
User Offline
Joined: 19th May 2003
Playing: Scrap Mechanic
Posted: 27th Sep 2003 11:17
Hey everyone thanks for the replies!

I'll be updating the game later on so it'll be faster, why on a 2.5 ghz you got so low of a framerate? I got higher than that on my 266mhz and my dad's 2.5 ghz got like 300fps

There's no BSP, its all db primatives with scaled textures. The last cacodemon was probably on top of that really tall tower that you can see from the beginning of the level. Enemies dont shoot until you come close enough to them (they listen hehe) and sometimes can shoot through floors and walls, but hey, it was 20 lines of code hehe.

I updated my webpage a few days back, check out the weapons for my next release, Dark Realm 3.....it's gonna be very cool, and dont worry about the frame rate, I'm getting 60 fps on a 266mhz and a geforce 2, so it should work great on anything higher. I'll update again soon, usually once a week are my updates. Cheers!

Darin Snow
Xeridox Entertainment Group
Please visit our website for regular updates!
denki
21
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 30th Sep 2003 01:06
Yeah, great game, I completed it, had to backtrack to get the last 3 on the towers though

[url][/url]
Magpie
20
Years of Service
User Offline
Joined: 16th Jul 2003
Location: Otherland! Cos it rocks!
Posted: 3rd Oct 2003 22:00
Cool game Xeridox.
If you enlarged the code, added a few monsters and weapons and gave the engine an overhaul it'd be like jDoom all over again.

Magpie
20
Years of Service
User Offline
Joined: 16th Jul 2003
Location: Otherland! Cos it rocks!
Posted: 3rd Oct 2003 22:19
I fell out through the floor!

I'd post a picture but i have [i]NO IDEA HOW!![i]

Xeridox
20
Years of Service
User Offline
Joined: 19th May 2003
Playing: Scrap Mechanic
Posted: 6th Oct 2003 21:46
You fell through the floor???!!!??!!??????????

Now I'd like to know how the [insert favorite cussword here] that happened! lol

Darin Snow
Xeridox Entertainment Group
Please visit our website for regular updates!
Northern Fist
20
Years of Service
User Offline
Joined: 23rd Sep 2003
Location:
Posted: 9th Oct 2003 22:50
Hmmm... I don't care if the revision goes beyond the limits in the contest - I'd like to see a revision that doesn't go at 8fps on my 2.4 Gherts Gateway.

"Power, precision, and don't forget about speed. If you practice everyday with these things in mind... you begin to develope A FIGHTING MODE." - Fist of Legend (Jet Li)
Northern Fist
20
Years of Service
User Offline
Joined: 23rd Sep 2003
Location:
Posted: 12th Oct 2003 01:36
I'm serious, I really liked this entry (good thing it won). It's just a pity that it has a low frame-rate...

"Power, precision, and don't forget about speed. If you practice everyday with these things in mind... you begin to develope A FIGHTING MODE." - Fist of Legend (Jet Li)

Login to post a reply

Server time is: 2024-04-20 15:24:43
Your offset time is: 2024-04-20 15:24:43