Picking up objects in games

I'm attempting to develop a game, through the use of game maker (i'm not allowed to use any other platforms). My idea is that the player gets a number of different shapes (this game is designed for juniors) and they must stack them on top of each other in order to reach a point. This then forms a platforming game. My first problem is: I have no idea how to write a script that will allow me to pick up the objects and place them with the mouse. Has anyone got any ideas?
1) this is a c++ forum, and c++ isnt a scripting language
2) what language DOES game maker use ( i think it might be ruby, but I'm not sure...)
Aight, srry, thought C++ was a scripting language :(
I read on Wikipedia that Game Maker used C++ and Pascal as a scripting language, but i guess wikipedia isn't a very reliable source.
don't worry about it. game maker uses it's own built in language GML (game maker language) What you read was that it borrows some syntax from c++ and pascal (as well as others). GML is a scripting language though. Do a search on game maker language script and it'll help you.
Thanks :D
any time.
Topic archived. No new replies allowed.