Author Topic: I Wanna Be the Engine KS Edition (For GMStudio)  (Read 56961 times)

LoneTree_tv

  • Wannabe
  • Posts: 32
  • Bad Fangamer and Fangame Dev
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 44.0.2403.89 Chrome 44.0.2403.89
    • View Profile
  • Playstyle: Keyboard
Re: I Wanna Be the Engine KS Edition (For GMStudio)
« Reply #90 on: July 30, 2015, 01:31:32 AM »
I can't open the GMX file  :atkCry:

klazen108

  • Administrator
  • The Kid
  • Posts: 286
  • your a kid now your a squid now
  • OS:
  • Windows 8.1/Server 2013 Windows 8.1/Server 2013
  • Browser:
  • Chrome 44.0.2403.89 Chrome 44.0.2403.89
    • View Profile
    • Delicious-Fruit
  • Playstyle: Keyboard
Re: I Wanna Be the Engine KS Edition (For GMStudio)
« Reply #91 on: July 30, 2015, 08:57:32 AM »
Can you give any detail? Make sure you've at least taken it out of the zip file, and if it doesn't load when you double click the gmx project file to open, try opening game maker studio and then opening the project from inside. If there's an error message please post that.

LoneTree_tv

  • Wannabe
  • Posts: 32
  • Bad Fangamer and Fangame Dev
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 44.0.2403.89 Chrome 44.0.2403.89
    • View Profile
  • Playstyle: Keyboard
Re: I Wanna Be the Engine KS Edition (For GMStudio)
« Reply #92 on: July 30, 2015, 10:10:15 AM »
I didn't even have GM:S installed in the first place. Once I did install it, everything worked fine.
Oh well ¯\_(ツ)_/¯

LoneTree_tv

  • Wannabe
  • Posts: 32
  • Bad Fangamer and Fangame Dev
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 44.0.2403.89 Chrome 44.0.2403.89
    • View Profile
  • Playstyle: Keyboard
Re: I Wanna Be the Engine KS Edition (For GMStudio)
« Reply #93 on: July 30, 2015, 10:15:20 AM »
Actually, there's still another problem  :atkCry:
EVERYTHING is undefined. I get this error on startup for every single sprite, stage, background, sound, etc.

Error loading:
C:\Users\User\AppData\Local\Tem...\maskBlock.sprite.gmx.
File not present

verveplay

  • Wannabe
  • Posts: 31
  • Hi
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Firefox 39.0 Firefox 39.0
    • View Profile
  • Playstyle: Keyboard
Re: I Wanna Be the Engine KS Edition (For GMStudio)
« Reply #94 on: July 31, 2015, 12:17:14 PM »
Actually, there's still another problem  :atkCry:
EVERYTHING is undefined. I get this error on startup for every single sprite, stage, background, sound, etc.

Error loading:
C:\Users\User\AppData\Local\Tem...\maskBlock.sprite.gmx.
File not present
Did you like move the gmx file out of the folder with the resources? Everything worked fine for me

LoneTree_tv

  • Wannabe
  • Posts: 32
  • Bad Fangamer and Fangame Dev
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 44.0.2403.89 Chrome 44.0.2403.89
    • View Profile
  • Playstyle: Keyboard
Re: I Wanna Be the Engine KS Edition (For GMStudio)
« Reply #95 on: July 31, 2015, 12:20:27 PM »
Yes, i did. I don't think I moved it to quite the right place, can you show or tell how your files look like?

Kyir

  • The Kid
  • Posts: 293
  • Normal Guy
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 44.0.2403.125 Chrome 44.0.2403.125
    • View Profile
  • Playstyle: Keyboard
Re: I Wanna Be the Engine KS Edition (For GMStudio)
« Reply #96 on: August 02, 2015, 03:00:11 PM »
So I'm just going to put this here since I'm not sure how much of this is a bug/fixable, but it turns out that controls still work for the game even if you open up another window and are doing stuff in that. I'm not sure how much of a problem this is really, but it seems like it might be an annoyance for people who do stuff a bit at a time.

Derf

  • Guest
Re: I Wanna Be the Engine KS Edition (For GMStudio)
« Reply #97 on: August 02, 2015, 03:04:46 PM »
So I'm just going to put this here since I'm not sure how much of this is a bug/fixable, but it turns out that controls still work for the game even if you open up another window and are doing stuff in that. I'm not sure how much of a problem this is really, but it seems like it might be an annoyance for people who do stuff a bit at a time.
Idk if this option is in GM:S but if you go into Global Game Settings there's a tick box for an option called "Freeze the game when the form loses focus", see if checking that works. I'd test myself but I don't have GM:S atm.

klazen108

  • Administrator
  • The Kid
  • Posts: 286
  • your a kid now your a squid now
  • OS:
  • Windows 8.1/Server 2013 Windows 8.1/Server 2013
  • Browser:
  • Chrome 44.0.2403.125 Chrome 44.0.2403.125
    • View Profile
    • Delicious-Fruit
  • Playstyle: Keyboard
Re: I Wanna Be the Engine KS Edition (For GMStudio)
« Reply #98 on: August 02, 2015, 07:23:07 PM »
It's been like that in pretty much all standard engine fangames, due to the fact that left/right uses a keyboard_check_direct function which picks those up even when not in focus. If you'd like to disable it you can do what derf suggested. I'm wondering if freezing the game when out of focus would hurt anything, if not I might put it in by default with the KS engine because I've died many times in RMJ practicing jumps while a game was open in the background :Kappa:

Kyir

  • The Kid
  • Posts: 293
  • Normal Guy
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 44.0.2403.125 Chrome 44.0.2403.125
    • View Profile
  • Playstyle: Keyboard
Re: I Wanna Be the Engine KS Edition (For GMStudio)
« Reply #99 on: August 02, 2015, 07:31:34 PM »
The only downside seems like the fact that you wouldn't get to hear good background music while looking at something else.

But the plus side to that is that you wouldn't have to listen to guy rock while looking at something else.

Derf

  • Guest
Re: I Wanna Be the Engine KS Edition (For GMStudio)
« Reply #100 on: August 02, 2015, 07:36:16 PM »
I can't see any downsides of the top of my head.

There is a DLL here]=https://gmc.yoyogames.com/index.php?showtopic=315867]here which can check window focus for you but I'm not sure you want to bulk out your engine with what is essentially an unnecessary DLL file.

verveplay

  • Wannabe
  • Posts: 31
  • Hi
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Firefox 39.0 Firefox 39.0
    • View Profile
  • Playstyle: Keyboard
Re: I Wanna Be the Engine KS Edition (For GMStudio)
« Reply #101 on: August 04, 2015, 05:03:16 AM »
Can you maybe add triggers that trigger only after a certain other trigger has been triggered? It's sometimes usefull for more complicated level design, and it is a decently advanced programming. It's in the old engine.

Edit: maybe implement it into the one trigger there alaredy is? Like if you put in creation code
Code: [Select]
trg = 2
key = 1
it will trigger only after trigger 1 has been triggered, without "key" it would work normally.

pieceofcheese87

  • Global Moderator
  • The Kid
  • Posts: 346
  • Personal Text
  • OS:
  • Windows NT 10.0 Windows NT 10.0
  • Browser:
  • Chrome 44.0.2403.125 Chrome 44.0.2403.125
    • View Profile
    • Twitch Tv Channel
  • Playstyle: Keyboard
Re: I Wanna Be the Engine KS Edition (For GMStudio)
« Reply #102 on: August 04, 2015, 08:55:40 AM »
decently advanced programming

Code: [Select]
if(global.trigger[key]=1){global.trigger[trg]=1;}
This is literally all you need and you're golden.
Signature

LoneTree_tv

  • Wannabe
  • Posts: 32
  • Bad Fangamer and Fangame Dev
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 44.0.2403.125 Chrome 44.0.2403.125
    • View Profile
  • Playstyle: Keyboard
Re: I Wanna Be the Engine KS Edition (For GMStudio)
« Reply #103 on: August 04, 2015, 11:46:03 AM »
I don't know if this has already been addressed, but...
I found something wrong with saving.
If you save on the floor, you get stuck in it and can't move left or right until you jump.

verveplay

  • Wannabe
  • Posts: 31
  • Hi
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Firefox 39.0 Firefox 39.0
    • View Profile
  • Playstyle: Keyboard
Re: I Wanna Be the Engine KS Edition (For GMStudio)
« Reply #104 on: August 04, 2015, 04:12:02 PM »
decently advanced programming

Code: [Select]
if(global.trigger[key]=1){global.trigger[trg]=1;}
This is literally all you need and you're golden.
Thanks piece :D I didn't really look into triggers to figure it out myself, i'm a very lazy guy ;-;

I don't know if this has already been addressed, but...
I found something wrong with saving.
If you save on the floor, you get stuck in it and can't move left or right until you jump.
Not having this problem at all no matter what i do. Do you have the 0.9 version?