Author Topic: Timing issue & clearing saves before distribution  (Read 1373 times)

DatDairyDude

  • Wannabe
  • Posts: 3
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 53.0.2785.143 Chrome 53.0.2785.143
    • View Profile
  • Playstyle: Keyboard
Timing issue & clearing saves before distribution
« on: October 13, 2016, 08:09:26 PM »
Hey Hey,

New here and have a quick question.

I used YoYoYo's engine to make a game recently and over the course of making it, somehow the timer counts at least 5 times faster than it should. I don't know how that happened. I knew nothing about coding before starting and did everything through online tutorials.

Also, when I went created the executable file to play it and loaded the executable file, my saves were still on there.  Is there a way to delete those saves without just starting new games in all 3 files?...just had that idea while typing and all 3 will start from beginning, so maybe I can just keep it like that.

Any help would be amazing and I do plan on posting the game in user made creations for feedback before posting to the wiki.

My head really hurts, so I hope that made sense.

Thank you.

Zapmunk

  • Wannabe
  • Posts: 9
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Firefox 49.0 Firefox 49.0
    • View Profile
  • Playstyle: Keyboard
Re: Timing issue & clearing saves before distribution
« Reply #1 on: October 13, 2016, 08:23:28 PM »
The saves aren't tied to your .exe, they're tied your windows user account. Even though they show up for you, they won't show up for anyone else.

For the timer issue, check your game for multiple objWorld instances. You should only have one, in rInit.

You can probably get more help, feedback, and testing in the discord. https://discord.gg/jfrHJpa

WetWookie

  • Cherry Eater
  • Posts: 90
  • OS:
  • Windows 10 Windows 10
  • Browser:
  • Firefox 49.0 Firefox 49.0
    • View Profile
  • Playstyle: Keyboard
Re: Timing issue & clearing saves before distribution
« Reply #2 on: October 13, 2016, 09:23:06 PM »
I recommend adding a create event to objWorld and put in the following code
Code: [Select]
if room <> rInit
{
    show_message("objWorld");
}

Then pop through all the rooms. When you see a popup box saying objWorld you know you accidentally put an objWorld in that room.

DatDairyDude

  • Wannabe
  • Posts: 3
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 53.0.2785.143 Chrome 53.0.2785.143
    • View Profile
  • Playstyle: Keyboard
Re: Timing issue & clearing saves before distribution
« Reply #3 on: October 13, 2016, 10:54:22 PM »
Found and removed ObjWorld and timer seems to be good in Gamemaker. Will make new .exe
Thank you for your quick responses.