Pages: 1
Author Topic: room_set functions not implemented in ENIGMA????  (29,114 Views)
Offline (Unknown gender) Darkstar2

Member
Joined: Jan 2014
Posts: 1,238
View profile
Posted on: May 27, 2014, 01:25:15 AM
I noticed lot of simple functions are missing in ENIGMA.
You can set those in the IDE, but not in GML:

room_set_background
(compiles but does nothing).
and basically all room_set commands
Offline (Unknown gender) Goombert

Developer
Joined: Jan 2013
Posts: 2,991
View profile
Reply #1 Posted on: May 27, 2014, 01:34:11 AM
Yes, they work the same as GM8.1, you have to switch to another room and then back again.
Offline (Unknown gender) Darkstar2

Member
Joined: Jan 2014
Posts: 1,238
View profile
Reply #2 Posted on: May 27, 2014, 01:57:05 AM
Quote from: lonewolff on May 27, 2014, 01:36:29 AM
Yeah, I have noticed a few things 'off' in the half hour that I have been playing with ENIGMA.

Poor Rob has a lot of weight on his shoulders with this project I think.

lol oh mate you have not seen anything yet !

I am losing my mind here. :D

But I still like to work with ENIGMA, it's a challenge,
and I think I can find ways to work around the issues,
it's a pain in the arse though :P


Offline (Unknown gender) TheExDeus

Developer
Joined: Apr 2008
Posts: 1,860
View profile
Reply #3 Posted on: May 27, 2014, 10:38:28 AM
QuoteYeah, I have noticed a few things 'off' in the half hour that I have been playing with ENIGMA.
In this case though, everything is fine. Those functions work just fine. It's just that you have to restart the room for them to take effect (as that is how GM implemented them). If you want to change something on the fly, then use background_index, view_hport etc. So instead of functions you can use built-in variables. They take effect immediately.

So again, read the manual/s:  http://docs.yoyogames.com/source/dadiospice/002_reference/rooms/room_set_background.html
QuoteWith this function you can set a background for a room (except the current one), with all the same property options that you can find in the room editor like horizontal speed and horizontal or vertical tiling.
Offline (Unknown gender) Goombert

Developer
Joined: Jan 2013
Posts: 2,991
View profile
Reply #4 Posted on: May 27, 2014, 11:45:40 AM
Thank you Harri.
Pages: 1