The Daily Click ::. Forums ::. Klik Coding Help ::. Skateboarding Game.
 

Post Reply  Post Oekaki 
 

Posted By Message

Jeremiah



Registered
  01/12/2002
Points
  261
1st June, 2003 at 13:07:04 -

I've always wanted to make a side-scrolling skateboarding game. The major problem I have is with the movement engine. I want the player to be able to roll on different slopes. If you remember some algebra slopes, then the basic ones I plan to use are 1/0, 0/1, 1/2, 2/1, and 1/1: a wall, flatground, a shallow slope, a steep slope, and a 45 degree slope. That comes out to sixteeen directions.

Here is my dilemna: how can I determine what type of slope the player is on at any given time? This is so I can set player diretion and movement. The only possiblity I can see is using several sensors, but the sensors are going to have to have their own directions and animations and it's going to take too much work. I'm sure someone already has a game that does the same thing. Does anyone have any ideas as to how to solve this?

I may eventually break down and make it just a game on flat ground. Are there any good examples of skating games? I downloaded roller and that was pretty bad. I heard that Juggy Skating was really good, but I haven't been able to find it. Where can I get this game? I did find a link to a forum post on planetklik about where this game is, but the servers are down at planetklik.


 
|CASHMONEYKLIKKERS|
http://cmk.drunkenkangaroo.com

Matt [cash money klikaz]



Registered
  10/07/2002
Points
  289
1st June, 2003 at 16:07:19 -

bump
bump bump it up

 
cash money klikers

WHAT WHAT

Pkeod

Oontz Oontz Oontz

Registered
  19/11/2002
Points
  93

VIP Member
1st June, 2003 at 17:48:01 -

I made a nice skateboard engine (it was a major bitch)
then i made a few small parks and things...
it was a kind of platform game, the sides of
the ramps were made from active objects and i got every
thing worked out... the problem is I would give you
the code execpt its on my old computer...

but skateboard games are easy to remake... just lots of active objects

 
Faerie Solitaire - Get it now:

http://www.create-games.com/download.asp?id=7792

Eric



Registered
  12/09/2002
Points
  1473
1st June, 2003 at 21:46:28 -

I made one it was sweet, you deck could break and you could get sponsored of you were good enough, I forgot how I did slopes, if I did them at all

 
I wanted to put a bullet in between the eyes of every panda that wouldnt screw to save its own species. - Tyler Durden - Fight Club

Assault Andy

Administrator
I make other people create vaporware

Registered
  29/07/2002
Points
  5686

Game of the Week WinnerVIP Member360 OwnerGOTM JUNE - 2009 - WINNER!GOTM FEB - 2010 - WINNER!	I donated an open source project
2nd June, 2003 at 04:54:55 -

If you want you don't even have to use algebra or trigonometry. You could make it so that if the player is overlapping a backdrop (a slope/ground) then add 1 to it's alterable value a.Next:

Always - set skater.y to skater.y - skater.alt a

If alt a >= 1 - subtract 1 from alt value a.

If you fiddle around with that basic plan that should work. I did it once in a skating engine and it looked pretty good. But if you have done any trigonometry then use that and a 360^ engine, that will be alot more professional.

 
Creator of Faerie Solitaire:
http://www.create-games.com/download.asp?id=7792
Also creator of ZDay20 and Dungeon Dash.
http://www.Jigxor.com
http://twitter.com/JigxorAndy
   

Post Reply



 



Advertisement

Worth A Click