Author Topic: Game Freezes When Reading Signs  (Read 133 times)

eschirm

  • Miniature Nerd Terrier
  • Level 1: Bizz
  • *
  • Posts: 8
    • View Profile
Game Freezes When Reading Signs
« on: June 07, 2019, 09:36:20 PM »
Hey there, I haven't dug too far into this project yet or made any changes to the code, but playing through I noticed that sometimes the game would freeze while reading a sign. The trigger for this happening seems to be pressing "enter" instead of "up", which I did by accident the first time but have been able to recreate every time now.

Just wanted to give you a heads up!
audio_play_sound(snd_bark, 1, true);

Christian Game Maker

  • Currently developing Project ASM (The Adventures Of Super Mike) And manager of platformbuilderfansite.weebly.com!
  • Level 21: Magmus
  • *
  • Posts: 1805
  • The way of the Cross leads home.
    • View Profile
    • Platform Builder Fansite
Re: Game Freezes When Reading Signs
« Reply #1 on: June 07, 2019, 10:03:29 PM »
Welcome eschirm! I'm Christian Game Maker. Otherwise known as CGM_games. Welcome to the Platform Builder forums! I'm sure TingThing will fix this problem soon.
Christian Game Maker: 3:16 Numbers Of Hope

TingThing

  • Admin and Developer
  • Level 15: Spreker
  • *
  • Posts: 512
  • Creator and Developer of Platform Builder
    • View Profile
    • Platform Builder Home
Re: Game Freezes When Reading Signs
« Reply #2 on: June 08, 2019, 11:56:18 PM »
Thanks. Looks like this is a bug specific to the Ultimate Platformer Engine.


I updated the engine to include the fix. For you, try making the following change in the code.


obj_okay left released has three lines of code at the bottom which say:


Code: [Select]
global.message = "none"
global.message_type = 0
instance_destroy()


Change that to:
Code: [Select]
if canpress = 1
{
global.message = "none"
global.message_type = 0
instance_destroy()
}


eschirm

  • Miniature Nerd Terrier
  • Level 1: Bizz
  • *
  • Posts: 8
    • View Profile
Re: Game Freezes When Reading Signs
« Reply #3 on: June 09, 2019, 12:14:55 AM »
Wow, that was quick! The fix worked perfectly, thank you.  :D
audio_play_sound(snd_bark, 1, true);

Christian Game Maker

  • Currently developing Project ASM (The Adventures Of Super Mike) And manager of platformbuilderfansite.weebly.com!
  • Level 21: Magmus
  • *
  • Posts: 1805
  • The way of the Cross leads home.
    • View Profile
    • Platform Builder Fansite
Re: Game Freezes When Reading Signs
« Reply #4 on: June 09, 2019, 02:41:00 AM »
I feel a bit left out without the UPE now...
Christian Game Maker: 3:16 Numbers Of Hope

Gizgord

  • Level 8: Puglit
  • *
  • Posts: 158
  • Personal Text
    • View Profile
Re: Game Freezes When Reading Signs
« Reply #5 on: June 09, 2019, 06:52:24 AM »
don't worry, I don't have UPE too :P

TingThing

  • Admin and Developer
  • Level 15: Spreker
  • *
  • Posts: 512
  • Creator and Developer of Platform Builder
    • View Profile
    • Platform Builder Home
Re: Game Freezes When Reading Signs
« Reply #6 on: June 09, 2019, 01:08:11 PM »
Well, if you plan to get it sometime, keep in mind that this is the last day of the sale.
« Last Edit: June 09, 2019, 01:09:02 PM by TingThing »

eschirm

  • Miniature Nerd Terrier
  • Level 1: Bizz
  • *
  • Posts: 8
    • View Profile
Re: Game Freezes When Reading Signs
« Reply #7 on: June 09, 2019, 07:57:44 PM »
It's a great deal, and I'd say worth the cost even when not on sale - it's an awesome project! I might have to check out PB too, I didn't know about that one when I downloaded UPE.
audio_play_sound(snd_bark, 1, true);

TingThing

  • Admin and Developer
  • Level 15: Spreker
  • *
  • Posts: 512
  • Creator and Developer of Platform Builder
    • View Profile
    • Platform Builder Home
Re: Game Freezes When Reading Signs
« Reply #8 on: June 09, 2019, 09:35:13 PM »
Thanks! Feel free to write a review on the Yoyogames Marketplace page if you haven't already. It helps a lot, especially since we are so early in the launch.

Antikore

  • YouTuber, Gamer and the developer of Castle Chamber.
  • Level 18: Statix
  • *
  • Posts: 846
  • Enjoying Platform Builder from the very start
    • View Profile
    • PBuilder Resources
Re: Game Freezes When Reading Signs
« Reply #9 on: June 10, 2019, 09:20:52 AM »
I feel a bit left out without the UPE now...
I also don't have the UPE, don't worry :)
Sorry because my English is not very good because I'm Spanish ;) :P
==================================
My games:
- Castle Chamber (In development)
==================================
YouTube Channel: https://www.youtube.com/channel/UC4bftKRMy_deGspyejBWjFQ

Christian Game Maker

  • Currently developing Project ASM (The Adventures Of Super Mike) And manager of platformbuilderfansite.weebly.com!
  • Level 21: Magmus
  • *
  • Posts: 1805
  • The way of the Cross leads home.
    • View Profile
    • Platform Builder Fansite
Re: Game Freezes When Reading Signs
« Reply #10 on: June 10, 2019, 03:03:03 PM »
True. I suppose. But now I'm hoping to buy it today! Yes, eschirm, there are 2 programs. You should check out Platform Builder as well! You can develop your games super fast with that. It can't do everything. The UPE is all new to us, because, well, it's brand new. I still remember when development had been announced. So, if you wanna make your game really fast, use both PB PRO and the UPE.
Christian Game Maker: 3:16 Numbers Of Hope