The Daily Click ::. Forums ::. General Chat ::. Simple Movement Engine, need opinions.
 

Post Reply  Post Oekaki 
 

Posted By Message

DeadmanDines

Best Article Writer

Registered
  27/04/2006
Points
  4758
14th October, 2005 at 18:53:32 -

I felt this was too small to post on the downloads list, it's just an engine test for a game.

I'm trying to develop more intuitive control systems, and would appreciate your opinions on this one.

http://chris.planetabeo.com/files/alphatest.zip

EDIT: File size is a 763k standalone exe, not an installer. All DLLs are built in. I prefer them like this, it means I can test it on my non-mmf friends.

CONTROLS (see readme for more details)
Mouse up/down = Move in that direction.
Mouse left/right = Move in that direction.
Space = set mouse neutral position and start game.
Esc = menu (to quit, alt+f4 is disabled)

It's the basic engine for a sidescrolling arcade style space shooter, although shooting and enemies aren't included yet (thereby rendering the download completely pointless).

The basic movement system is mouse-based. Mouse goes up, ship goes up. Mouse goes down, ship goes down. Mouse dragged sideways, ship accelerates. Simple really.

The game records the position of the mouse at the start as the neutral position (this occurs when you press space, giving you time to set up nicely before the game begins). From then on your thrust is measured in x and y pixels from the neutral position, and then expressed as a percentage to make it more versatile.

This is NOT the same as games that either (a) have the player object tied to the YMouse value, or (b) have an invisible object tied to the YMouse value and have the player gently follow it.

This system just makes things more relative. The game features a small X and Y display at the bottom left to show how much thrust you've applied in each direction.

Playing it probably makes more sense than me explaining, lol.

Image Edited by the Author.

 
191 / 9999 * 7 + 191 * 7

Assault Andy

Administrator
I make other people create vaporware

Registered
  29/07/2002
Points
  5685

Game of the Week WinnerVIP Member360 OwnerGOTM JUNE - 2009 - WINNER!GOTM FEB - 2010 - WINNER!	I donated an open source project
14th October, 2005 at 19:21:07 -

I like it, good idea and the graphics are really good too

 
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

AndyUK

Mascot Maniac

Registered
  01/08/2002
Points
  14446

Game of the Week WinnerSecond GOTW AwardHas Donated, Thank You!VIP Member
14th October, 2005 at 20:56:46 -

Hey thats pretty good. The mouse control was a lot easier than it sounded.

 
.

Peblo

Custom ratings must be 50 characters or less

Registered
  05/07/2002
Points
  185

Game of the Week WinnerVIP MemberI'm on a Boat360 OwnerAttention GetterThe Cake is a LieCardboard BoxHero of TimePS3 OwnerIt's-a me, Mario!
I'm a Storm TrooperSonic SpeedStrawberryI like Aliens!Wii OwnerMushroomGhostbuster!
16th October, 2005 at 00:16:56 -

That IS really good! However, you might want to make sure the game has focus throughout the game, 'cause someone could accidently press a certain windows key and have to spend effort pushing ALT+TAB.

 
"Isn't it always amazing how we characterize a person's intelligence by how closely their thinking matches ours?"
~Belgarath
   

Post Reply



 



Advertisement

Worth A Click