Fangames > Programming Questions
roomChanger crashes the game
(1/1)
slime:
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) says. I'm using the KS Engine.
Sorry again for making (probably) unnecessary threads
TOKETMEK:
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)
slime:
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 :)
TheGamerGuy500:
I think you gotta put onCollide=false in the roomchanger create event
klazen108:
--- Quote from: TheGamerGuy500 on July 08, 2015, 04:35:06 PM ---I think you gotta put onCollide=false in the roomchanger create event
--- End quote ---
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!
Navigation
[0] Message Index
Go to full version