Gear_The_Hedgehog Posted September 2, 2009 Report Share Posted September 2, 2009 well as the title says, im using the Unleashed Revival Engine to do a game, but i have a little problem, lags, the game lags badly, even reducing the size of the room or putting the objdeactivate, well putting that object makes the game almost playable but the problem is it deactivates the paralax and put the scenary objects in front of sonic instead of behind, i dunno how to fix the lag i tried everything but it keeps laging, so anybody knows a better way to fix the lags in the engine? Link to comment Share on other sites More sharing options...
DimensionWarped Posted September 2, 2009 Report Share Posted September 2, 2009 Never heard of it. Could you post a link to it? Also, I need to know the following: processor speed, ram, Operating system Also, bam. 7000 posts. For some reason that seems like a significant number. Much more so than 6969. Link to comment Share on other sites More sharing options...
LarkSS Posted September 2, 2009 Report Share Posted September 2, 2009 Slow down and type a clean, readable post next time Gear. Guessing that you're using GM since you failed to mention what program you're using, I think your major problem is the lack of object management support. Damizean made a DLL for GM that stores and manages objects within your room, which you may be able to dig up with a good old forum search. @DW: You're 3000 posts away from retirement! Link to comment Share on other sites More sharing options...
Password Posted September 2, 2009 Report Share Posted September 2, 2009 It could just plain be your computer, or maybe Game Maker itself. Or maybe just sloppy code that lags the engine as the errors try to straighten itself out. @Lark: There's a 10,000 post limit? D: Link to comment Share on other sites More sharing options...
Gear_The_Hedgehog Posted September 2, 2009 Author Report Share Posted September 2, 2009 Thanks, yeah i forgot to mention my PC specs and the program im using, i thought that in here was a post to the Game Maker engine Sonic Unleashed revival engine, i don't remember now who did the engine, but yeah it could work trying to find that dll thanks LarkSS for the tip, i dunno my computer is a 512 MB of Ram, with a GeForce 5200 with 128 mb ram and a Pentium 4 2.2 GHZ, i think isn't my computer since i can play other sonic games without problem, i will try all you guys said, thanks again and sorry for the fast speed post ñ_ñ sometimes i forget to put the comas XDD EDIT: here i find the link to the engine after a little search in the forum http://www.sonicfangameshq.com/forum/showthread.php?t=5149 the engine is modified by Sponik, but im not using the beta 3, im using the beta 4 Link to comment Share on other sites More sharing options...
DimensionWarped Posted September 2, 2009 Report Share Posted September 2, 2009 @Lark: There's a 10,000 post limit? D: Yeah, but you can always choose to come back as a consultant. Link to comment Share on other sites More sharing options...
flame6753 Posted September 2, 2009 Report Share Posted September 2, 2009 its most likely your pc. 1GB at least is ideal to run games. If you're using game maker, lol you can forget about it. Link to comment Share on other sites More sharing options...
LarkSS Posted September 2, 2009 Report Share Posted September 2, 2009 @Flame: I can run GM games full speed without any issues on this computer with only 512MB of RAM and 16MB video memory. Well, those that have been optimized in any case. Boosting the system requirements for your projects is the lazy man's way out. Link to comment Share on other sites More sharing options...
Hypersonic645 Posted September 4, 2009 Report Share Posted September 4, 2009 Put the objDeactivate in your room though a few stuff will ticker. Just put the views to 320x240(if you want to) Link to comment Share on other sites More sharing options...
Gear_The_Hedgehog Posted September 5, 2009 Author Report Share Posted September 5, 2009 Put the objDeactivate in your room though a few stuff will ticker. Just put the views to 320x240(if you want to) thanks i will try that one, if not i think is the music in the game since i have problem loading wav into the game for a strange reason, and i have to use all in MP3, i was trying to use the OGG format, but because im a little unexperienced with DLL and those for the moment is a no-no, so im going to see if i can pull off some external loading for the music, maybe that cuts off the lag Link to comment Share on other sites More sharing options...
Hypersonic645 Posted September 5, 2009 Report Share Posted September 5, 2009 thanks i will try that one, if not i think is the music in the game since i have problem loading wav into the game for a strange reason, and i have to use all in MP3, i was trying to use the OGG format, but because im a little unexperienced with DLL and those for the moment is a no-no, so im going to see if i can pull off some external loading for the music, maybe that cuts off the lag Yeah lol I'm having trouble with DLL too. Note:I have MP3's preloaded in my game too, It barely lags with the ObjDeactivate. Link to comment Share on other sites More sharing options...
Gear_The_Hedgehog Posted September 6, 2009 Author Report Share Posted September 6, 2009 Yeah lol I'm having trouble with DLL too.Note:I have MP3's preloaded in my game too, It barely lags with the ObjDeactivate. i get rid of all the Preloaded object and sounds thing and with ObjDeactivate runs smooth as i wanted, but now i have two new problems, one the ObjDeactivate deactivates the background drawing object and the paralax one, and two it puts sonic behind the scenary objects and because i used scenary objects to do the border of the stage, and tiles to fill it in to not be using objects in all the room because the lag sonic goes behind the border of the stage sometimes like the ceiling of an underground path, and is kinda ugly like that, but the lag isn't there anymore, only i have those problems at the moment, so anyone knows how to fix those problems without deleting the objdeactivate in the room? Link to comment Share on other sites More sharing options...
Hypersonic645 Posted September 7, 2009 Report Share Posted September 7, 2009 i get rid of all the Preloaded object and sounds thing and with ObjDeactivate runs smooth as i wanted, but now i have two new problems, one the ObjDeactivate deactivates the background drawing object and the paralax one, and two it puts sonic behind the scenary objects and because i used scenary objects to do the border of the stage, and tiles to fill it in to not be using objects in all the room because the lag sonic goes behind the border of the stage sometimes like the ceiling of an underground path, and is kinda ugly like that, but the lag isn't there anymore, only i have those problems at the moment, so anyone knows how to fix those problems without deleting the objdeactivate in the room? Crap didn't see this coming...I'll try to find a way to fix that. Link to comment Share on other sites More sharing options...
Sponick Posted September 7, 2009 Report Share Posted September 7, 2009 i have two new problems, one the ObjDeactivate deactivates the background drawing object and the paralax one You can always reactivate these objects after deactivate de rest. And what you mean with "scenary objects"?? Tiles?? Anyway, make sure the objdeactivate doesn't modify sonic's depth. Link to comment Share on other sites More sharing options...
Gear_The_Hedgehog Posted September 7, 2009 Author Report Share Posted September 7, 2009 You can always reactivate these objects after deactivate de rest.And what you mean with "scenary objects"?? Tiles?? Anyway, make sure the objdeactivate doesn't modify sonic's depth. the "scenary objects" that im saying is some of the objlvl-blocks, i use some to do the border and ceiling, then in between those objects i fill with tiles, but when i put the obj blocks and the objdeactivate sonic goes behind those objects and if you hit the ceiling or a wall you can see how sonic gets behind this object but not the tiles i take a screen of what im saying: problem with sonic going behind the objlvl-block and no paralax or bg draw object: second problem: if is the sonic's depth or the objects depth, tell me how to fix it because i tried everything but nothing seems to fix that, the speed is now fixed but now i have this strange problems, i can fix those problems easly if i put inside to 1 in the instance_activate and the instance_deactivate aswell but i have again the same lag problem :/ Link to comment Share on other sites More sharing options...
Sponick Posted September 7, 2009 Report Share Posted September 7, 2009 Well, a few things. Due to new player size you need to fix the distance of the collision sensors to avoid sonic to put his head inside walls xD And it seems that the tile layer have too much depth. Change it to a big negative value. And...erm....you can also make the object that draws the background follow sonic, so it wont be int the deactivate region -.- You can send me the editable file and i'll fix this things, this is the easiest way PD Awesome, that human sonic style, really Link to comment Share on other sites More sharing options...
Gear_The_Hedgehog Posted September 8, 2009 Author Report Share Posted September 8, 2009 Well, a few things.Due to new player size you need to fix the distance of the collision sensors to avoid sonic to put his head inside walls xD And it seems that the tile layer have too much depth. Change it to a big negative value. And...erm....you can also make the object that draws the background follow sonic, so it wont be int the deactivate region -.- You can send me the editable file and i'll fix this things, this is the easiest way PD Awesome, that human sonic style, really okay i will send you the link there, also there are some things that im still working on so if you see anything unusual is because im still working on those things XDD i send to you the gmk file in a pm Link to comment Share on other sites More sharing options...
marvinvalentin Posted April 20, 2012 Report Share Posted April 20, 2012 the "scenary objects" that im saying is some of the objlvl-blocks, i use some to do the border and ceiling, then in between those objects i fill with tiles, but when i put the obj blocks and the objdeactivate sonic goes behind those objects and if you hit the ceiling or a wall you can see how sonic gets behind this object but not the tiles i take a screen of what im saying:problem with sonic going behind the objlvl-block and no paralax or bg draw object: [qimg]http://i30.tinypic.com/rws5e1.jpg[/qimg] second problem: [qimg]http://i31.tinypic.com/5dtf6o.jpg[/qimg] if is the sonic's depth or the objects depth, tell me how to fix it because i tried everything but nothing seems to fix that, the speed is now fixed but now i have this strange problems, i can fix those problems easly if i put inside to 1 in the instance_activate and the instance_deactivate aswell but i have again the same lag problem :/ it look's good! Link to comment Share on other sites More sharing options...
marvinvalentin Posted April 20, 2012 Report Share Posted April 20, 2012 it look's good! but for that problem u only need to change the depth of the object thats causing the problem. ex:the ground "depth=1" Link to comment Share on other sites More sharing options...
Recommended Posts