Jump to content


Photo

Strange Questions


  • Please log in to reply
8 replies to this topic

#1 Debels

Debels

    GMC Member

  • GMC Member
  • 2487 posts
  • Version:GM:Studio

Posted 26 July 2011 - 05:49 PM

Hi gmc i wanted to ask this questions:

How can i use object_add() or should i use another one?

It takes something outside the .exe file?

How can i use sprite_add_sprite() or should i use another one?

It takes something outside the .exe file?

how can i use background_add_background() or should i use another one?

It takes something outside the .exe file?

how can i use font_add() or should i use another one?

It takes something outside the .exe file?

how can i use room_add() or should i use another one?

It takes something outside the .exe file?

How can i add scripts?

how can i use path_add() or should i use another one?

It takes something outside the .exe file?

how can i use timeline_add() or should i use another one?

It takes something outside the .exe file?

Thanks
  • 0

#2 Zeddy

Zeddy

    Totally Radical Dude

  • GMC Member
  • 1849 posts
  • Version:GM:Studio

Posted 26 July 2011 - 07:00 PM

You type them in the code editor and supply arguments.

Good luck!
  • 1

#3 BattleRifle BR55

BattleRifle BR55

    Moo

  • GMC Member
  • 8988 posts
  • Version:GM:Studio

Posted 26 July 2011 - 07:02 PM

Press F1.
  • 1

#4 creativebunch

creativebunch

    The Bunchiest

  • GMC Member
  • 893 posts
  • Version:GM:Studio

Posted 26 July 2011 - 07:03 PM

Strange Questions indeed.
  • 0

#5 Debels

Debels

    GMC Member

  • GMC Member
  • 2487 posts
  • Version:GM:Studio

Posted 26 July 2011 - 07:50 PM

Press F1.

lol if im asking is becouse i dident understand.
  • 0

#6 Debels

Debels

    GMC Member

  • GMC Member
  • 2487 posts
  • Version:GM:Studio

Posted 26 July 2011 - 07:52 PM

You type them in the code editor and supply arguments.

Good luck!

wich arguments??

does it takes them outside the .exe???
  • 0

#7 Lightang3l

Lightang3l

    GMC Member

  • GMC Member
  • 1109 posts
  • Version:GM8.1

Posted 26 July 2011 - 09:50 PM

does it takes them outside the .exe???


What does that even mean? :unsure:
  • 0

#8 IceMetalPunk

IceMetalPunk

    InfiniteIMPerfection

  • Retired Staff
  • 9322 posts
  • Version:Unknown

Posted 26 July 2011 - 10:19 PM

Answers are below.

Hi gmc i wanted to ask this questions:

How can i use object_add() or should i use another one?

It takes something outside the .exe file?

No. object_add() simply creates a new empty object. You can then use object_event_add() to add codes to the new object's events.

How can i use sprite_add_sprite() or should i use another one?

It takes something outside the .exe file?

Yes, this one takes a .gmspr file (which you can create by pressing Save Sprite in the sprite editor). Or, you can use sprite_add(...) instead and it'll take a regular image file and turn it into a sprite.

how can i use background_add_background() or should i use another one?

It takes something outside the .exe file?

Same as sprite_add_sprite(), except this one takes a .gmbck file (which, similarly, can be created by pressing Save Background in the background editor). Also similarly, you can use background_add(...) to create a background from a normal image file.

how can i use font_add() or should i use another one?

It takes something outside the .exe file?

This one does not use any external files. You simply specify the properties of the font in the arguments, and it creates a useable font resource wiht hose properties.

how can i use room_add() or should i use another one?

It takes something outside the .exe file?

Again, no external files for this. room_add() is like object_add() in that it just creates a blank room. You can manipulate this room with other room_* functions, such as using room_instance_add(...) to add objects to the room.

How can i add scripts?

You press the New Script button in the toolbar (the icon that looks like a paper with a green arrow on it).

how can i use path_add() or should i use another one?

It takes something outside the .exe file?

No, this doesn't take anything external, either. It simply creates a new blank path that you can manipulate with other functions like path_add_point(...), etc.

how can i use timeline_add() or should i use another one?

It takes something outside the .exe file?

Lastly, no, this one also just creates a new blank timeline, which you can manipulate with functions like timeline_moment_add(...), etc.

Thanks


All those functions, and their arguments and descriptions, can be found in the Help File.

-IMP ;) :)
  • 0

#9 Debels

Debels

    GMC Member

  • GMC Member
  • 2487 posts
  • Version:GM:Studio

Posted 27 July 2011 - 04:00 AM

IceMetalPunk thanks for that information.


BlueDebel
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users