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 Professional Discussion / Resi Style Game Editor

Author
Message
ChrisS
22
Years of Service
User Offline
Joined: 24th Apr 2003
Location:
Posted: 28th Apr 2004 16:40
Im working on a Resident Evil style game at the moment and I am making good progress on the CASE tools, waypoint creation, object interaction via an editor (kind off). The editor can be switched between design and run modes to test stuff out. When complete it will have a dedicated game engine with all the design faclilities taken out to improve performance etc.

Ive already experienced problems with lighting on scaled up object, bu no matter I will wait for patch 6 next year and hope this will resolve it.

My main problem is with collision detection. I have a room with a staircase (done with Cart Shop). Obviously I want my character to walk down the stairs. So I have placed a ghosted box (obj no 301) over the stair case. Then when I move my character (obj no 201) into the box I can detect the collision and them move it down as well as forward (fairly simple and quick).

Ive set both objects up as collidable using the
set object collision on 201
set object collision on 301

and I am attempting to trap the collision using the
hit=OBJECT HIT(201, 301)
or even
hit=OBJECT HIT(201, 0)

but Im not getting anything returned. (I will attempt to get a screenshot up later to help you visualise.)

Am I being a nooooooob?

ChrisS
22
Years of Service
User Offline
Joined: 24th Apr 2003
Location:
Posted: 28th Apr 2004 16:59
Anyway here is a screen shot

[img]http://www.northparade.co.uk/pics/zom.JPG[img]
ChrisS
22
Years of Service
User Offline
Joined: 24th Apr 2003
Location:
Posted: 28th Apr 2004 17:00
Chris K
21
Years of Service
User Offline
Joined: 7th Oct 2003
Location: Lake Hylia
Posted: 28th Apr 2004 21:31
Don't trust the collision commands.
I've never really liked them.

Either use nuclearglory's Collision DLL or use maths collision.

ChrisS
22
Years of Service
User Offline
Joined: 24th Apr 2003
Location:
Posted: 29th Apr 2004 14:07
Yup thats great so there are problems with the collision commands. First the lights, then the collision.....I wonder what else.

No probs I will knock up a function to deal with it.

Nothing ever seems to go smoothly with DBP.

If you look to the right of the image you will see a Zombie, its from Darkmatter. But guess what it faces the wrong way, so instead of moving it forward I have to move it backwards.

Login to post a reply

Server time is: 2025-05-29 05:29:55
Your offset time is: 2025-05-29 05:29:55