Jump to content


Photo

Strange Questions


  • Please log in to reply
8 replies to this topic

#1 Debels

Debels

    GMC Member

  • GMC Member
  • 2817 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

This signature has been removed for being to awesome.


#2 Zeddy

Zeddy

    Totally Radical Dude

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

Posted 26 July 2011 - 07:00 PM

You type them in the code editor and supply arguments.

Good luck!
  • 1

#gmc - The totally awesome GMC IRC
Radical — NeaPunch.gif - PsychoPow.gif - DuoShip.png - stefanWalkAndTalk.gif - katiecat.png — Creations
Radical — The Consuming Shadow - Sienna - Turnabout Substitution - Ben There, Dan That — Recommendations


#3 BattleRifle BR55

BattleRifle BR55

    Let Live

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

Posted 26 July 2011 - 07:02 PM

Press F1.
  • 1

c5B1xWI.png
You are my path


#4 creativebunch

creativebunch

    The Bunchiest

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

Posted 26 July 2011 - 07:03 PM

Strange Questions indeed.
  • 0

#gmc - It's the goddamn GMC IRC
Beat Hell Pre-Alpha v2.1.0 | Slender2d | Creeping Insanity

indiedb_88x31.png

buXyYwQ.png
Savant?


#5 Debels

Debels

    GMC Member

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

Posted 26 July 2011 - 07:50 PM

Press F1.

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

This signature has been removed for being to awesome.


#6 Debels

Debels

    GMC Member

  • GMC Member
  • 2817 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

This signature has been removed for being to awesome.


#7 Lightang3l

Lightang3l

    GMC Member

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

Posted 26 July 2011 - 09:50 PM

does it takes them outside the .exe???


What does that even mean? :unsure:
  • 0

New_Sig_small.jpg

Newsig.jpg


#8 IceMetalPunk

IceMetalPunk

    InfiniteIMPerfection

  • GMC Elder
  • 9603 posts
  • Version:GM:Studio

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

:GM123: Are you an artist who likes creating original creature designs? Maybe you can help out with Elementa here! Give it a look; you might like the idea :)

:bunny: :excl: :bunny: :excl: :bunny: :excl: :bunny: :excl: :bunny: :excl: :bunny: :excl: :bunny: :excl: :bunny: :excl: :bunny: :excl: :bunny:


#9 Debels

Debels

    GMC Member

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

Posted 27 July 2011 - 04:00 AM

IceMetalPunk thanks for that information.


BlueDebel
  • 0

This signature has been removed for being to awesome.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users