Jump to content


Photo
- - - - -

Gearshift Car Physics Engine-new Unreg Version!


  • Please log in to reply
200 replies to this topic

#151 king_of_llamas

king_of_llamas

    KoL Games

  • New Member
  • 1079 posts

Posted 21 February 2009 - 08:10 PM

I know. Just saying...
also you just replace pointdir with direction and it works like a charm...
  • 0
I am looking for team members! See my thread!
http://gmc.yoyogames...howtopic=504050

#152 king_of_llamas

king_of_llamas

    KoL Games

  • New Member
  • 1079 posts

Posted 21 February 2009 - 08:11 PM

I know. Just saying...
also you just replace pointdir with direction and it works like a charm...
  • 0
I am looking for team members! See my thread!
http://gmc.yoyogames...howtopic=504050

#153 nayon

nayon

    GMC Member

  • New Member
  • 15 posts

Posted 21 February 2009 - 08:14 PM

Still goes through solids slowly...

Also, police cars can push you into solids. I think this is not trivial enough for anyone but the engine writer to solve. I'll wait for his input.

Edited by nayon, 21 February 2009 - 09:02 PM.

  • 0

#154 chaz13

chaz13

    GMC Member

  • GMC Member
  • 4213 posts
  • Version:Unknown

Posted 21 February 2009 - 09:44 PM

Whoa, lots of posts!

I fixed that bug for someone before, but I forgot to update the editable. you just need to add:

var pointdir;
pointdir=point_direction(x,y,other.x,other.y)

But I just realised that you'd be better of replacing pointdir with direction, as king_of_llamas suggested :D

I never noticed the bug where police push you through solids, I'll take a look at it.
  • 0

#155 nayon

nayon

    GMC Member

  • New Member
  • 15 posts

Posted 22 February 2009 - 07:47 AM

As I said, not only police, you can push yourself through solids too, if you are persistent enough. It happens especially easy when turning. Sticking to a wall and turning the car into the wall causes this I think.
  • 0

#156 T@stylas3rs

T@stylas3rs

    GMC Member

  • New Member
  • 38 posts

Posted 24 February 2009 - 05:10 PM

10/10 Nice engine man!
but you should make the keys to be WASD
its more comfterble
  • 0

#157 tdmgames

tdmgames

    GMC Member

  • New Member
  • 1641 posts

Posted 24 February 2009 - 05:12 PM

10/10 Nice engine man!
but you should make the keys to be WASD
its more comfterble


Not too difficult to do this.
  • 0
OH Balls!

Domain change: If any of my links do you not, please PM me and I will send you a working link :)

t3mp3st+Me+BMG = t3mp3st's edited avatar with changing colour effect.

#158 chocoblock

chocoblock

    GMC Member

  • New Member
  • 35 posts

Posted 24 February 2009 - 07:12 PM

very nice example you did a great job with the physics :)
  • 0

#159 jimbojames

jimbojames

    GMC Member

  • New Member
  • 1 posts

Posted 04 March 2009 - 03:20 PM

Hi, could someone post some new links to this? All download links I've tried are dead.
  • 0

#160 BretHudson

BretHudson

    indie(Function);

  • GMC Member
  • 371 posts
  • Version:GM8

Posted 05 March 2009 - 07:16 PM

10/10 NICE!!!
I am definately making a game like this!
  • 0

#161 gamegecko

gamegecko

    GMC Member

  • New Member
  • 308 posts

Posted 08 March 2009 - 09:20 AM

lol for a car physics engine, i honestly hate it, theres no good drifting...

but for the collision parts and the AI i LOVED IT!!

the absolute rapage you get from the cops when you put 30 or so in there reminds me alot of Left 4 Dead when the horde comes after you

8/10!! lol




im having so much fun with just the .exe =P

Edited by gamegecko, 08 March 2009 - 09:28 AM.

  • 0

#162 chaz13

chaz13

    GMC Member

  • GMC Member
  • 4213 posts
  • Version:Unknown

Posted 16 March 2009 - 04:32 PM

Thanks for the reply. I must inquire- Did you change the values to make the drifting how you would like it?
  • 0

#163 Unleashed

Unleashed

    Sketchzone Admin

  • New Member
  • 99 posts

Posted 17 March 2009 - 09:14 PM

Uh oh. I got a Error that says that it's not a gm file, and that its corrupted.....
  • 0
Sketchzone!
Free High Quality Graphics

#164 True Valhalla

True Valhalla

    ಠ_ಠ

  • GMC Member
  • 5277 posts
  • Version:Unknown

Posted 18 March 2009 - 12:11 PM

Wow! Great engine!

So using this for my muck-around Death Race clone =D
  • 0

html5ebook20.png


#165 chaz13

chaz13

    GMC Member

  • GMC Member
  • 4213 posts
  • Version:Unknown

Posted 18 March 2009 - 04:31 PM

Thanks, I'd love it if you'd pm me a link when you release the first demo. :blink:
  • 0

#166 True Valhalla

True Valhalla

    ಠ_ಠ

  • GMC Member
  • 5277 posts
  • Version:Unknown

Posted 18 March 2009 - 09:09 PM

Hehe, will do!

Do you mind if I use the sprites in the game, but heavily altered?
  • 0

html5ebook20.png


#167 chaz13

chaz13

    GMC Member

  • GMC Member
  • 4213 posts
  • Version:Unknown

Posted 18 March 2009 - 09:17 PM

The cars are not my sprites, so I don't mind. They're from the original gta game, or atleast a fan based website where people submit cars like those.
  • 0

#168 True Valhalla

True Valhalla

    ಠ_ಠ

  • GMC Member
  • 5277 posts
  • Version:Unknown

Posted 19 March 2009 - 05:35 AM

Ok, no problem then =D

It's coming along better than I expected. I was originally just mucking around with the engine, but now I can see it's actually quite versatile. Enemy AI was easy to implement (as in driving around a circuit), and the number of variables I have access to is excellent.

Only issue I had, the walls aren't fully coded? I fixed them up, but are you going to get around to that?

Anyway, great engine, and I might even continue with my muck around game, and maybe I'll get something good out of it.

Cheers,
~TV
  • 0

html5ebook20.png


#169 chaz13

chaz13

    GMC Member

  • GMC Member
  • 4213 posts
  • Version:Unknown

Posted 24 March 2009 - 05:37 PM

That sounds brilliant, I can't wait to see it.

I have started to consider re-writing Gearshift. The current version has been going on for too long and is becoming rather innefficient. It's not definate, or even probable, but it's definately a possibility.
  • 0

#170 yodudez

yodudez

    NoD Moderator

  • New Member
  • 1220 posts

Posted 24 March 2009 - 07:02 PM

Uh oh. I got a Error that says that it's not a gm file, and that its corrupted.....


I got the same error....
  • 0
Enormous over-sized signature removed by moderator.

This is the THIRD time you've been warned about following the signature rules.

Your account is disabled until further notice.

#171 chaz13

chaz13

    GMC Member

  • GMC Member
  • 4213 posts
  • Version:Unknown

Posted 24 March 2009 - 09:57 PM

Strange, it's working for me.

EDIT: Perhaps I left a gb1 in there, make sure you're opening the editable.

Edited by chaz13, 24 March 2009 - 09:57 PM.

  • 0

#172 GTA1993

GTA1993

    GMC Member

  • New Member
  • 14 posts

Posted 30 March 2009 - 02:49 PM

when is the new version coming i hope you will ad some cool features and fixes to the scripts
  • 0

#173 chaz13

chaz13

    GMC Member

  • GMC Member
  • 4213 posts
  • Version:Unknown

Posted 30 March 2009 - 03:55 PM

I'm not sure. I doubt I'll be updating this version of Gearshift any further, but there's a definate possibility I will be re-writing it.
  • 0

#174 sanassar

sanassar

    GMC Member

  • GMC Member
  • 125 posts

Posted 31 March 2009 - 01:32 AM

This is pretty cool. I will definetly use it in my game I'm making called Pacman Unlimited.(Yes, It means Pacman will be allowed to drive a car, xD).
  • 0
CODE
game_create(platform,online,shooter,like_halo);

We wish for this script everyday.(But if it is made I will use it and credit the people who made it .)
Well, now I'm making it, Just watch for all the new platformers made with GML coding. (EHEM! a script?)

I am a a Mega Geek in the GEEK test!

Moving forward, because we can't stop.

#175 Mr_Drayton

Mr_Drayton

    GMC Member

  • New Member
  • 10 posts

Posted 31 March 2009 - 04:13 PM

Definitely what I was trying to do for years... :P That's perfect, I think I'll use it in my project. But there's a problem: I get an error about the point_direction when hitting a wall_obj...
  • 0

#176 chaz13

chaz13

    GMC Member

  • GMC Member
  • 4213 posts
  • Version:Unknown

Posted 31 March 2009 - 07:53 PM

You can fix that by adding

var pointdir;
pointdir=point_direction(x,y,other.x,other.y)

At the start. Glad you like it.
  • 0

#177 06jamhob

06jamhob

    GMC Member

  • New Member
  • 664 posts

Posted 12 April 2009 - 09:13 AM

omg this is amazin i might use it.if i do i will give u the full cred.
its just so good!!!
  • 0

#178 grimmjow

grimmjow

    GMC Member

  • New Member
  • 817 posts
  • Version:GM8

Posted 16 April 2009 - 02:31 PM

The Gearshift Article written by Chaz13 can be seen at our blog: BLOG
  • 0
<div align='center'><!--sizeo:2--><span style="font-size:10pt;line-height:100%"><!--/sizeo--><a href="http://gmc.yoyogames...owtopic=433061" target="_blank"><!--coloro:#000000--><span style="color:#000000"><!--/coloro--><b>Project Leader for the Game Maker Community Game</b><!--colorc--></span><!--/colorc--><!--sizec--></span><!--/sizec--></a></div>

#179 walkerqaz

walkerqaz

    Regular Guy

  • GMC Member
  • 1207 posts
  • Version:GM8

Posted 16 April 2009 - 06:32 PM

OMG!!Now it works with lite edition!! too bad I had pro already :ph34r:
  • 0

#180 chaz13

chaz13

    GMC Member

  • GMC Member
  • 4213 posts
  • Version:Unknown

Posted 16 April 2009 - 07:08 PM

Haha, lucky you :ph34r:
  • 0

#181 magma24

magma24

    GMC Member

  • GMC Member
  • 427 posts

Posted 30 August 2009 - 10:13 AM

Hey for the unregestired version how do I change the left and right steering to make it better?
  • 0

#182 chaz13

chaz13

    GMC Member

  • GMC Member
  • 4213 posts
  • Version:Unknown

Posted 30 August 2009 - 11:10 AM

Define "make it better".
  • 0

#183 magma24

magma24

    GMC Member

  • GMC Member
  • 427 posts

Posted 30 August 2009 - 01:32 PM

Define "make it better".


Increasing the speed which the car turns
  • 0

#184 chaz13

chaz13

    GMC Member

  • GMC Member
  • 4213 posts
  • Version:Unknown

Posted 30 August 2009 - 01:55 PM

Alright, you can increase the second to last argument "turn speed" in the physics_ini_ext script
  • 0

#185 magma24

magma24

    GMC Member

  • GMC Member
  • 427 posts

Posted 30 August 2009 - 02:05 PM

Alright, you can increase the second to last argument "turn speed" in the physics_ini_ext script


Great, Thanks

By the way thank you for posting the Unregistered version, I saw physics like these in a Gta clone called GTA Columbia which was made with Game Maker Pro. I looked at the cars in the editable and I could not understand the code at all. The code in this engine is much better and easier to understand.
  • 0

#186 chaz13

chaz13

    GMC Member

  • GMC Member
  • 4213 posts
  • Version:Unknown

Posted 30 August 2009 - 02:16 PM

No problem, its my pleasure.
  • 0

#187 RamboFox

RamboFox

    Tainted Fortune

  • New Member
  • 992 posts

Posted 01 September 2009 - 01:20 AM

Ehh, I just had a look at your "latest" version - and I don't see much difference.

Cop AI is still in there - which is nice, and my favorite thing of this car physics engine is it's collision/rotation function. Apart from that, it's still pretty basic.

So when will you implement gear changing? I find it rather ironic how you name your physics engine "Gearshift" straight of the bat, and have no basic gear system.

Also: I suggest you add slide to the car if you hammer the brake-pedal too hard - this gives you the illusion that the car has mass and wants to continue on the direction it was going on previously. :)
  • 0

#188 chaz13

chaz13

    GMC Member

  • GMC Member
  • 4213 posts
  • Version:Unknown

Posted 02 September 2009 - 04:36 PM

There is no new version, and I'm no longer developing this.
  • 0

#189 RamboFox

RamboFox

    Tainted Fortune

  • New Member
  • 992 posts

Posted 04 September 2009 - 09:44 AM

Why not? This engine got me interested - I like the collision physics and such, so why stop?
  • 0

#190 chaz13

chaz13

    GMC Member

  • GMC Member
  • 4213 posts
  • Version:Unknown

Posted 04 September 2009 - 04:20 PM

Although the engine itself could probably be improved I think adding some things that may be superfluous to some people wanting to use the engine is a bad idea. I'm also rather busy at the moment which doesn't really help.
  • 0

#191 ShadowAndroidX

ShadowAndroidX

    GMC Member

  • Validating
  • 56 posts

Posted 16 October 2009 - 06:50 PM

Although the engine itself could probably be improved I think adding some things that may be superfluous to some people wanting to use the engine is a bad idea. I'm also rather busy at the moment which doesn't really help.


This engine could really do with some improvement, although the turning is pretty nice; and will really help with a project I'm working on at the moment - Thanks!

#192 spicydeath82

spicydeath82

    Awesomesauce

  • New Member
  • 138 posts
  • Version:GM8

Posted 28 November 2009 - 01:22 AM

i like how people say it could be improved, but never volunteer to do it, it's always gimme gimme gimme! lol.
really, the man(? guessing you are) said repeatedly that it is not supposed to be realistic simulation, so stop *****ing people... frankly i like it, it's fine the way it is, and any thing it could use i'll add myself to soot my needs.
and that's what you should do folks, thank the man(?) for his hard work, and make the changes your selves...
and please for the love of god, read all the posts before you complain... you just might learn something if your not busy moaning...

Great job chaz, the second i started playing with it, it gave a bunch of game ideas...

P.S. by the way chaz, Gore one is awesome... hope you get the chance to finish the second one.

Edited by spicydeath82, 28 November 2009 - 01:24 AM.

  • 0
Life is incapable of of springing from nothing. Science has proven that. So if life here didn't spring up outta the primordial muck then who's responsible? Life has to come from life.

Posted Image

#193 chaz13

chaz13

    GMC Member

  • GMC Member
  • 4213 posts
  • Version:Unknown

Posted 29 November 2009 - 07:53 PM

Thanks for the reply. I won't be updating any of my creations any further, but I'm glad people are still finding good uses for them. I'm only visiting the forums to check up on my threads and pm's, but I suppose over time I'll start to stop coming here.
  • 0

#194 Dylijn

Dylijn

    GMC Member

  • New Member
  • 553 posts

Posted 29 November 2009 - 08:40 PM

Thanks for the reply. I won't be updating any of my creations any further, but I'm glad people are still finding good uses for them. I'm only visiting the forums to check up on my threads and pm's, but I suppose over time I'll start to stop coming here.



So you arent developping Gore 2 anymore ? :D

EDIT:

Just saw that you released the game and the source :(

Edited by Dylijn, 29 November 2009 - 08:41 PM.

  • 0


#195 chaz13

chaz13

    GMC Member

  • GMC Member
  • 4213 posts
  • Version:Unknown

Posted 29 November 2009 - 08:57 PM

Yeah, I'm leaving everything. Sorry, but at least I've released it and you can learn/borrow from it or carry it on or whatever.
  • 0

#196 prahasith

prahasith

    GMC Member

  • New Member
  • 65 posts

Posted 19 July 2010 - 01:17 AM

Broken download links
  • 0

#197 chaz13

chaz13

    GMC Member

  • GMC Member
  • 4213 posts
  • Version:Unknown

Posted 09 January 2012 - 11:42 PM

Sorry for the worlds biggest bump, but I was wondering whether people would be interested in a brand new up to date version of this engine?
  • 0

#198 OldSkoolGamer

OldSkoolGamer

    GMC Member

  • GMC Member
  • 128 posts
  • Version:GM:Studio

Posted 12 January 2012 - 06:08 AM

Sorry for the worlds biggest bump, but I was wondering whether people would be interested in a brand new up to date version of this engine?


I for one would definitely be interested, trying to work on a racing game myself now & having difficulty getting the right "feel" to everything.
  • 0

#199 HayManMarc

HayManMarc

    The HayMan

  • GMC Member
  • 1483 posts
  • Version:GM:Studio

Posted 12 January 2012 - 06:57 AM

I'd be interested in seeing an update for this, too. I have a 'car' game on the back burner, waiting for development.
  • 0

"D'oh!" -- Homer Simpson

 


#200 richicon

richicon

    GMC Member

  • GMC Member
  • 13 posts
  • Version:GM:Studio

Posted 22 June 2012 - 04:26 PM

There is an issue with the smoke effect.

If you switch your map to using tiles, and paint a couple of tiles, the skid smoke then draws on top of the car (rather than below as it should) and no amount of tinkering with layers will fix this. I can only presume it is a bug with the 'effect_create_below' function and tiles.

This is in GM Studio.
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users