Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
  1. #1
    Regular Coder Taro's Avatar
    Join Date
    Oct 2011
    Location
    Geraldton, Ontario
    Posts
    155
    Thanks
    1
    Thanked 1 Time in 1 Post

    Post Are all variable presets in GML are local variables?

    Some variable presets, like
    Code:
    x
    y
    image_index
    mouse_x
    mouse_y
    are some that I think about using if I cannot create my own. Do they have to be defined further? For example:
    Code:
    lives
    globalvar(lives)
    global.var(lives)
    var lives = global
    And do they have to be further defined as local variables so they will not have an effect of in the entire game, rather on the individual object?
    Last edited by Taro; 03-28-2012 at 10:55 PM.
    Element ID

    Webs Support Helper

    Your friendly neighborhood Taroman.


 

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •