- Game Maker Community
- → Viewing Profile: Topics: RebornGiga
RebornGiga
Member Since 24 Sep 2011Offline Last Active Jan 23 2013 11:49 AM
Community Stats
- Group GMC Member
- Active Posts 14
- Profile Views 906
- Member Title GMC Member
- Age 16 years old
- Birthday October 29, 1996
-
Gender
Male
Topics I've Started
Checking a variable of a specific object
18 April 2012 - 09:37 PM
Lets say I have two object1's in a room. One of them has a non-global variable that is false and the other has the same one that is true. How can I make it so that an object that to them checks if that variable is true. So how would an object check another object's (that is below it) variable? Is it even possible? using object.variable wouldn't work because there are 2 objects one of which had a true variable and the other has the same one that is false. This is kinda hard to put into words sorry.
Object following mouse and aligning to grid
18 February 2012 - 04:35 PM
So I'm making this game that pretty much has a 32*32 object follow your mouse. I need that object to align to a 32*32 grid. How can I do this using GML. If your confused think of the game that comes with windows "minesweeper". When you move the mouse on the squares they highlight. I wan't an object moving around in a way that it looks like that.
Making objects fall on top of each other.
21 December 2011 - 05:27 AM
Hi I'm making a a side scroller with an enemy that's totem pole. I want to make it so if there are 4 or so objects that fall on each other. I have the object all lined up but separated vertically and when they fall they sometimes slide off to the side. There is nothing in my code that would make them go horizontally but they still do. I've tried this with regular square blocks but it still is a problem. I'm not that good at gml but if you tell me how to make four objects all fall on one another without sliding I could figure out the rest.
Object following another object til it they touch.
13 November 2011 - 01:46 AM
I was wondering how do you make an object follow another object until they touch. Something I'm making will have an enemy that drop something and I want it to follow the player and get closer and closer until the two meet.
Code for no string in text box
25 September 2011 - 09:22 PM
I'm making a a game that let's you pick the names of you save files. I got into a bit of a problem. I use a code that asks you for you save file name. However if you don't put anything in the box the game gives you an error and doesn't allow for saves. Here is my code:
In the New Game object:
Load Game object:
What I want to do is have the game save to a default save and say "Game saved as Blah" or something like that.
In the New Game object:
global.savefile = get_string('Enter Save File Name:',0)
game_save(global.savefile)
room_goto (rm_FD1)
Load Game object:
global.savefile = get_string('File Name:',0)
game_load(global.savefile)
if !file_exists (global.savefile)
show_message ("No File by that name in folder.")
What I want to do is have the game save to a default save and say "Game saved as Blah" or something like that.
- Game Maker Community
- → Viewing Profile: Topics: RebornGiga
- Privacy Policy
- GMC Rules and Forum Rules ·



Find content