I Wanna Community

Fangames => Game Design => Programming Questions => Topic started by: slime on July 04, 2015, 08:59:58 AM

Title: roomChanger crashes the game
Post by: slime on July 04, 2015, 08:59:58 AM
I'm really sorry I have to make yet another thread because I can't make my game work.
basically, roomChanger crashes the game, even though I do everything my Bible (https://www.iwannacommunity.com/forum/index.php?topic=856.0 (https://www.iwannacommunity.com/forum/index.php?topic=856.0)) says. I'm using the KS Engine.

Sorry again for making (probably) unnecessary threads
Title: Re: roomChanger crashes the game
Post by: TOKETMEK on July 04, 2015, 09:22:23 AM
Does normal warp crash your game too?
If not, you could try this: Duplicate the warp object and uncheck the "visible" box. Then ctrl+right click it and open creation code. Put there something like roomTo=roomname and it should work. (Though I'm not really a reliable source since I'm a newbie at making fangames)
Title: Re: roomChanger crashes the game
Post by: slime on July 04, 2015, 10:09:36 AM
Warps do work, I had forgotten to mention it.
Thanks, it does work. But this may cause problems if the player backtracks ; so I'd rather find out how to make roomChanger work. Thanks a lot anyway :)
Title: Re: roomChanger crashes the game
Post by: TheGamerGuy500 on July 08, 2015, 04:35:06 PM
I think you gotta put onCollide=false in the roomchanger create event
Title: Re: roomChanger crashes the game
Post by: klazen108 on July 08, 2015, 05:19:31 PM
I think you gotta put onCollide=false in the roomchanger create event

Yep, this is a bug in the current version of the engine, I've got it on my list to fix in the next update. For now that's how you can fix it (there's more detailed instructions on page 5 of the KS engine thread). Sorry about that!