Author Topic: game maker help  (Read 9442 times)

Rpup

  • Wannabe
  • Posts: 15
  • OS:
  • Windows 8/Server 2012 Windows 8/Server 2012
  • Browser:
  • Chrome 31.0.1650.57 Chrome 31.0.1650.57
    • View Profile
game maker help
« on: December 03, 2013, 11:32:21 AM »
Hi, Im trying to start making some simple fangames on game maker using 'i wanna be the engine yuuutu edition' however whenever i try to run the game using the rooms already created i get error messages.

A picture of the errors is here: https://imgur.com/g0fNon2

these are the errors:

In Object damageblock, in Event CollisionEvent action number 1 at line 2 : Symbol ) expected
In Object damageblock, in Event CollisionEvent action number 1 at line 2 : something bad
In Object damageblock, in Event CollisionEvent action number 1 at line 2 : symbol } expected
In Object damageblock, in Event CollisionEvent action number 1 at line 1 : malformed with statement

Any help is much appreicated,

Thanks



dYnAm1c

  • Wannabe
  • Posts: 24
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 31.0.1650.57 Chrome 31.0.1650.57
    • View Profile
Re: game maker help
« Reply #1 on: December 03, 2013, 11:37:05 AM »
The errors show you where something is wrong so you maybe should show us the code of the collission event.

Rpup

  • Wannabe
  • Posts: 15
  • OS:
  • Windows 8/Server 2012 Windows 8/Server 2012
  • Browser:
  • Chrome 31.0.1650.57 Chrome 31.0.1650.57
    • View Profile
Re: game maker help
« Reply #2 on: December 03, 2013, 11:42:27 AM »
https://imgur.com/PRD8Qix

This is the code i think

I didnt change anything from the engine download. Do other engines have these problems aswell?
« Last Edit: December 03, 2013, 11:46:25 AM by Rpup »

dYnAm1c

  • Wannabe
  • Posts: 24
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 31.0.1650.57 Chrome 31.0.1650.57
    • View Profile
Re: game maker help
« Reply #3 on: December 03, 2013, 11:49:20 AM »
What you posted is the create event not the collission

Rpup

  • Wannabe
  • Posts: 15
  • OS:
  • Windows 8/Server 2012 Windows 8/Server 2012
  • Browser:
  • Chrome 31.0.1650.57 Chrome 31.0.1650.57
    • View Profile
Re: game maker help
« Reply #4 on: December 03, 2013, 01:41:07 PM »
sorry, is this any better? https://imgur.com/Ha4VlHe

lemonxreaper

  • Administrator
  • Spike Dodger
  • Posts: 222
  • Do you even needle?
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 31.0.1650.57 Chrome 31.0.1650.57
    • View Profile
Re: game maker help
« Reply #5 on: December 03, 2013, 08:56:35 PM »
you are using gamemaker studio, as far as I know the engine is not compatible with that. you need the other kind of gamemaker.
Just pretend I have a cool picture like Zero.
Completed Fangames: https://dl.dropboxusercontent.com/u/4678222/Complete%20Fangames.txt

Olivebates

  • Head
  • Alumi
  • Cherry Eater
  • Posts: 89
  • Oh god, why did I make this?
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 31.0.1650.57 Chrome 31.0.1650.57
    • View Profile
    • Tumblr News Feed
  • Playstyle: Keyboard
Re: game maker help
« Reply #6 on: December 04, 2013, 08:10:14 AM »
Alright, here's what is wrong: In the object called "damageblock", there is a collision event, where you have executed a code. In that code, you have used the wrong syntax, and for that, game maker can't run the code. In the script, please count the amount of open brackets "(", and the amount of closed brackets ")". If there is not the same amount of each, they should, for the syntax to be correct. Do the same with the squigly brackets "{" and "}", if there is not the same amount of each, then you should also fix that.


That fixed the first and the third error you mentioned. Now, for the second and the fourth error, we will need to see the code, that is in the collision event in the object called "damageblock". Can you take a snapshot of the executed code, in that specific location, and post it.
When you don't know the rules, anything's possible.

Rpup

  • Wannabe
  • Posts: 15
  • OS:
  • Windows 8/Server 2012 Windows 8/Server 2012
  • Browser:
  • Chrome 31.0.1650.57 Chrome 31.0.1650.57
    • View Profile
Re: game maker help
« Reply #7 on: December 04, 2013, 11:42:31 AM »
Thanks for the help, I managed to get an older version of game maker and it seems to work.

However I get this fatal error everytime i try to run the game https://imgur.com/T6uzVYE

sorry that im such a noob at this =/

edit: I deleted the stage select room, not sure if that causes it though.

lemonxreaper

  • Administrator
  • Spike Dodger
  • Posts: 222
  • Do you even needle?
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 31.0.1650.57 Chrome 31.0.1650.57
    • View Profile
Re: game maker help
« Reply #8 on: December 04, 2013, 11:57:36 AM »
why would you do that?!!!??!
of course that's going to cause issues
its an integral part of the saving and loading system.
basically the menu is trying to go to a room that doesn't exist anymore.
Just pretend I have a cool picture like Zero.
Completed Fangames: https://dl.dropboxusercontent.com/u/4678222/Complete%20Fangames.txt

Olivebates

  • Head
  • Alumi
  • Cherry Eater
  • Posts: 89
  • Oh god, why did I make this?
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 31.0.1650.57 Chrome 31.0.1650.57
    • View Profile
    • Tumblr News Feed
  • Playstyle: Keyboard
Re: game maker help
« Reply #9 on: December 04, 2013, 12:01:08 PM »
The image you just posted, means that in the step event of the object(not the room) called menuSelect, it is trying to send the player to a non-existant room.

To fix your other problems, we just need you to post the code, and we can help you.
We will need to see the code, that is in the collision event in the object called damageblock.
« Last Edit: December 04, 2013, 12:05:00 PM by Olivebates »
When you don't know the rules, anything's possible.

Rpup

  • Wannabe
  • Posts: 15
  • OS:
  • Windows 8/Server 2012 Windows 8/Server 2012
  • Browser:
  • Chrome 31.0.1650.57 Chrome 31.0.1650.57
    • View Profile
Re: game maker help
« Reply #10 on: December 04, 2013, 12:05:27 PM »
im not having any problems with the collision event anymore, but how do i fix the fatal error?

thanks

Rpup

  • Wannabe
  • Posts: 15
  • OS:
  • Windows 8/Server 2012 Windows 8/Server 2012
  • Browser:
  • Chrome 31.0.1650.57 Chrome 31.0.1650.57
    • View Profile
Re: game maker help
« Reply #11 on: December 04, 2013, 12:07:55 PM »
edit: I think i fixed it by changing the code around, will post if i have more issues.

Thanks for the help =)
« Last Edit: December 04, 2013, 12:15:10 PM by Rpup »

Olivebates

  • Head
  • Alumi
  • Cherry Eater
  • Posts: 89
  • Oh god, why did I make this?
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 31.0.1650.57 Chrome 31.0.1650.57
    • View Profile
    • Tumblr News Feed
  • Playstyle: Keyboard
Re: game maker help
« Reply #12 on: December 04, 2013, 12:15:06 PM »
We will need to see the code, that is in the collision event in the object called damageblock. Not the load file script.
When you don't know the rules, anything's possible.

Rpup

  • Wannabe
  • Posts: 15
  • OS:
  • Windows 8/Server 2012 Windows 8/Server 2012
  • Browser:
  • Chrome 31.0.1650.57 Chrome 31.0.1650.57
    • View Profile
Re: game maker help
« Reply #13 on: December 04, 2013, 12:16:11 PM »
I think I worked it out, no fatal anymore.

Il post if I have more problems, thanks

Olivebates

  • Head
  • Alumi
  • Cherry Eater
  • Posts: 89
  • Oh god, why did I make this?
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 31.0.1650.57 Chrome 31.0.1650.57
    • View Profile
    • Tumblr News Feed
  • Playstyle: Keyboard
Re: game maker help
« Reply #14 on: December 04, 2013, 12:19:08 PM »
Alright, have fun Game Making!


Also on a side note for future reference, use the Insert Code button when inserting a script into your post.

When you don't know the rules, anything's possible.