I wondered if there was any code to move the cursor automatically in game maker. I'm creating a 2D platform shooting game, and I wanted to make the cursor (which is a crosshair) to move slightly up and down, left and right, so it's not as easy to aim and shoot other enemies, plus it simulates a bit of inaccuracy with the weapon.
- How to Create a Game with Game Maker 7.0 Lite. This how to article will get your started in making your first game in Game Maker 7.0 Lite. Download and install Game.
- GameMaker is software designed to make developing games easy and fun. It features a unique 'Drag-and-Drop' system which allows non-programmers to make simple games. Additionally, experienced coders can take advantage of its built in scripting language, 'GML' to design and create fully-featured, professional grade games.
Active3 years ago
I'm new to programming on game-maker and programming in general. This is probably very easy but i'm unsure of how to go about things.
I am programming a simple top-down car game in which the car drives (forward) by it's self and is steered with the left and right mouse buttons. I attempted to get the car to drive on it's own with:
speed = 3
This, although making the car go forward, stopped the steering from working somehow and now the car rotates instead of actually turning around the corner.
How can i get the car to drive on it's own and still be able to turn the car?
AmericanSnakeAmericanSnake
![How To Make A Car Move In Game Maker How To Make A Car Move In Game Maker](/uploads/1/2/6/1/126194833/902877319.jpg)
1 Answer
You should not change
image_angle
, but direction
instead. Image_angle is juste what you see, direction is the real physics direction.Replace the code in your link by :
Like this, you turn the car, and then align the image on the car orientation.
An intern has no nameAn intern has no name
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.
Not the answer you're looking for? Browse other questions tagged game-maker or ask your own question.
![Game Game](/uploads/1/2/6/1/126194833/388219302.jpg)
- GameMaker allows you to make exciting computer games without the need to write a single line of code. Using easy-to-learn, drag-and-drop actions, you can make professional-looking games in no time. Games can have backgrounds, animated graphics,. ...
- Game Maker Lite
- YoYogames
- Freeware (Free)
- 10.3 Mb
- Windows2000, Windows2003, WinXP, Windows Vista, Windows 7
- Card Collector Game Maker allows you to create your own card games.customize your games collection..
- Card Collector Game Maker
- Battlarium
- Shareware ($19.95)
- 1.69 Mb
- Windows XP, 2000, 98, Me
- A RacingGame 1.0.0 is a game in which you race your car to the finish line as you erase matching pairs of simple equations. It is free. From a set of twelve equations tap on the pairs that produce the same answers. The faster you reach the checkered. ...
- A Racing Game
- rjen
- Freeware (Free)
- 20 Kb
- Mac OS Classic, Mac OS X, Mac OS X Intel, Mac
- A futuristic style racinggame written using soya ( an opengl 3d engine ) and A futuristic style racing game written using soya ( an opengl 3d engine ) and python..
- pywracer.2004.12.24.tar.gz
- pywracer
- Freeware (Free)
- 4.99 Mb
- Windows; Mac; Linux
- Classic GameMaker is meant to aid in the process of teaching programming and will be based in stages/levels of the development process to allow the gradual progress of students in programming while creating full versions of classic games. ...
- Classic Game Maker
- MWPippin
- Freeware (Free)
- Windows
- A Pokemon game maker. Make your own Pokemon games..
- Pokemon Game Maker
- Gamer0987
- Freeware (Free)
- Windows
- This project is a racinggame developed by Systems Engineering and Industrial Designers from the Pontificia Universidad Javeriana in Bogota, Colombia. The project consists on a cars game based on the Historical events that took place in Bogota in 1948.
- Engineering and DesignRacing Game
- javeriana.edu.co
- Freeware (Free)
- Windows
- Projet that hosts the development of a 2d network racing game in the style of Super Cars and such retro games..
- MagniRacer - 2D networkracing game
- Spygron
- Freeware (Free)
- Windows
- This is simple 3D multiplayer car racinggame that i wrote for one of my assignments for distributed systems subject at University of Melbourne which was the best distributed systems project in second semester of 2008.(Java, JOGL, TCP Socket). ...
- 3D Multiplayer Car RacingGame
- Sadjad Abdoli
- Freeware (Free)
- Windows
- A 3D game maker using the Ardor3D game engine and JOGL/LWJGL for rendering..
- Zove Game Maker
- Zove Games
- Freeware (Free)
- Windows
- The game is fully functional and comes with three ready-made tracks and four different cars. After installing, you must enter a registration key, which you can get using a form on the Ohmikron.com website.
- PCSC_setup.exe
- Ohmikron Corporation
- Freeware (Free)
- 12.4 Mb
- Win95, Win98, WinXP
- Jasmine - Just another SIMulation ENgine. A java based single/multiplayer racing game..
- Jasmine-0.5.zip
- jasminegame
- Freeware (Free)
- 3.09 Mb
- Windows; Mac; Linux
Related:
Make A Car Game
Racing Game Maker - Game Maker Racing - Racing Cars Game Maker - Racing Games Maker - Game RacingHow To Make A Car Move In Game Maker Download
Pages : 1 | 2 | 3>