In need of professional help
-
- Enthusiast
- Posts: 202
- Joined: Sat Feb 18, 2012 10:21 pm
- Location: Leicestershire
In need of professional help
Hi guys,
I am struggling with the game i have been working on for some time now.
I am looking for someone to try and sort out a problem i have
implementing drift on corners, i have had it working but with a problem.
if anyone has the time to look at my code and help i would be grateful.
Regards
I am struggling with the game i have been working on for some time now.
I am looking for someone to try and sort out a problem i have
implementing drift on corners, i have had it working but with a problem.
if anyone has the time to look at my code and help i would be grateful.
Regards
P.N.
-
- Enthusiast
- Posts: 202
- Joined: Sat Feb 18, 2012 10:21 pm
- Location: Leicestershire
Re: In need of professional help
This forum never fails to disappoint, not one reply suggestion or comment.
Thanks for the time taken to read it at least that's one thing i guess.

Thanks for the time taken to read it at least that's one thing i guess.

P.N.
Re: In need of professional help
Well, if no one has a solution or tip, what's the point to post an answer ? No need to be angry about it.
-
- Always Here
- Posts: 6426
- Joined: Fri Oct 23, 2009 2:33 am
- Location: Wales, UK
- Contact:
Re: In need of professional help
I think you need to give more info Pot Noodle - at the moment, your description is a bit vague and you give the impression that all of your code needs review, without indicating just how much code that is - so, not sure about others but my first thought was "sounds like it will take a lot of hours". Time is something that most developers don't have. 

IdeasVacuum
If it sounds simple, you have not grasped the complexity.
If it sounds simple, you have not grasped the complexity.
Re: In need of professional help
Pot Noodle,
Is it a 2D or 3D game ?
OGRE or not ?
Canvas or Screen mode ?
...
Marc,
Is it a 2D or 3D game ?
OGRE or not ?
Canvas or Screen mode ?
...
Marc,
- every professional was once an amateur - greetings from Pajottenland - Belgium -
PS: sorry for my english I speak flemish ...
PS: sorry for my english I speak flemish ...
Re: In need of professional help
I suggest that after that statement, everybody who wants to help is waiting for the code ... where is it?Pot Noodle wrote: if anyone has the time to look at my code and help i would be grateful.
Regards
--------------
Yes, its an Irish Wolfhound.
Height: 107 cm; Weight: 88 kg
Yes, its an Irish Wolfhound.
Height: 107 cm; Weight: 88 kg
-
- Enthusiast
- Posts: 202
- Joined: Sat Feb 18, 2012 10:21 pm
- Location: Leicestershire
Re: In need of professional help
First off let me apologize for my comment, it's not like me but i think this project of mine
is a bit more than i bargained for.
when you are writing something and you get stuck and your not sure how to put the problem
in to words it's very hard to explain, just as hard to fix as well, so forgive me
As for the game problem it is a 2D rep of the old Amiga XJ220 car game and the problem i have
is a pause with this line of code
The car is supposed to go into a corner and drift depending on the speed it is going.
but this one works but with a pause just as it goes in to the corner.
a car would go off road if you did not turn the corner, mine pauses for a second and then goes off road.
I hope i have summed it up ok, here is the game/code.
https://dl.dropboxusercontent.com/u/71849177/XJ220.rar
is a bit more than i bargained for.
when you are writing something and you get stuck and your not sure how to put the problem
in to words it's very hard to explain, just as hard to fix as well, so forgive me

As for the game problem it is a 2D rep of the old Amiga XJ220 car game and the problem i have
is a pause with this line of code
Code: Select all
jPlayerX - (jSpeed*(BottomSegDX)*3.0)
but this one works but with a pause just as it goes in to the corner.
a car would go off road if you did not turn the corner, mine pauses for a second and then goes off road.
I hope i have summed it up ok, here is the game/code.
https://dl.dropboxusercontent.com/u/71849177/XJ220.rar
P.N.
Re: In need of professional help
Hey , its hard to find such bugs for other people.
The best way is to find by your self
Have you found the bug ?
greets.
The best way is to find by your self

Have you found the bug ?
greets.
-
- Enthusiast
- Posts: 202
- Joined: Sat Feb 18, 2012 10:21 pm
- Location: Leicestershire
Re: In need of professional help
I think the BUG is down to (jSpeed/2) in this bit of code.
If it was just "NewSegZ - jSpeed" then NewSegZ would = 0 and it would update 2 or 3 frames earlier
The down side to this is the road curves to fast.
Code: Select all
NewSegZ - (jSpeed/2); <-- BUG Remove "/2" and no more pause
;
If NewSegZ < = 0.0; NewSegZ never = 0, always < than 0, "-7.000" this could be the pause
;
BottomSegDX = NewSegDX
;
NewSegZ = jZMap(ROAD_LINES)
;
Select jTrackData(Random(2))
Case 0 : NewSegDX = 0
Case 1 : NewSegDX = fDX
Case 2 : NewSegDX =-fDX
EndSelect
EndIf
The down side to this is the road curves to fast.
P.N.
-
- Enthusiast
- Posts: 202
- Joined: Sat Feb 18, 2012 10:21 pm
- Location: Leicestershire
Re: In need of professional help
Still no luck with this problem, having tried everything i can think of.
Don't think it's a bug in the code i just think it needs more code to do the job.

Don't think it's a bug in the code i just think it needs more code to do the job.

P.N.
-
- Enthusiast
- Posts: 202
- Joined: Sat Feb 18, 2012 10:21 pm
- Location: Leicestershire
Re: In need of professional help
I was wondering if someone could test this for me and give feedback.
I still think it needs work.
Thanks
https://dl.dropboxusercontent.com/u/718 ... _XJ220.exe
I still think it needs work.
Thanks
https://dl.dropboxusercontent.com/u/718 ... _XJ220.exe
P.N.
Re: In need of professional help
Hi,
Tested, WIN8 x64.
Works well, but ...
- There are some turns who takes a long time (i mean more than 360 deg) what seems to be unlogic if I not cross the road again)
- With the same turns, the background is not following the rotations / direction of the car.
Good work.
Marc
Tested, WIN8 x64.
Works well, but ...
- There are some turns who takes a long time (i mean more than 360 deg) what seems to be unlogic if I not cross the road again)
- With the same turns, the background is not following the rotations / direction of the car.
Good work.
Marc
- every professional was once an amateur - greetings from Pajottenland - Belgium -
PS: sorry for my english I speak flemish ...
PS: sorry for my english I speak flemish ...
- flaith
- Enthusiast
- Posts: 704
- Joined: Mon Apr 25, 2005 9:28 pm
- Location: $300:20 58 FC 60 - Rennes
- Contact:
Re: In need of professional help
Hi Pot Noodle,Pot Noodle wrote:I was wondering if someone could test this for me and give feedback.
I still think it needs work.
Thanks
https://dl.dropboxusercontent.com/u/718 ... _XJ220.exe
I tried to play with it, but which are the keys I need to use ?
“Fear is a reaction. Courage is a decision.” - WC
Re: In need of professional help
Hi flaith,
For what I found ...
Mouse Left/Right = Car rotation
Mouse button left = accelerate
Mouse button right = Breaks
Marc,
For what I found ...
Mouse Left/Right = Car rotation
Mouse button left = accelerate
Mouse button right = Breaks
Marc,
- every professional was once an amateur - greetings from Pajottenland - Belgium -
PS: sorry for my english I speak flemish ...
PS: sorry for my english I speak flemish ...
- flaith
- Enthusiast
- Posts: 704
- Joined: Mon Apr 25, 2005 9:28 pm
- Location: $300:20 58 FC 60 - Rennes
- Contact:
Re: In need of professional help

So I tried and didn't find any bug
Well done btw

“Fear is a reaction. Courage is a decision.” - WC