• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

A few questions...

0

0Kaizen0

Guest
1. Is a global scope variable that holds the rooms current id is called an object variable?
2. Ini section vs ini key?
3. Draw_set_halign{} - What is this?
4. Does Ini_write_real{} write the game to the file?
5. How to check if sound is true in creation code?

Any answers would be very helpful. Thanks you.
 

The-any-Key

Member
object variable?
Variables ordinary created in an object. It scope only the object. But can be accessed with ex id.varname or with statement. But not with var varname (local) och global.varname (global)

global scope variable
Ex global.varname but there also is built-in variables that are global.

Draw_set_halign
https://docs.yoyogames.com/source/dadiospice/002_reference/drawing/drawing text/draw_set_halign.html

Ini section vs ini key
https://docs.yoyogames.com/source/dadiospice/002_reference/file handling/ini files/ini_write_string.html
Section is the "headline"
Key is the "sub headline"

Ini_write_real
https://docs.yoyogames.com/source/dadiospice/002_reference/file handling/ini files/ini_write_real.html
Write a number to file.

sound is true
https://docs.yoyogames.com/source/dadiospice/002_reference/game assets/sounds/audio_is_playing.html
 
Top