Topic:   I know how to bring the GMG's popularity back!   (Read 19915 times)


0 Members and 1 Guest are viewing this topic.

Gan


  • Administrator

  • ^ This guy is amazing.

  • *****


  • Posts: 4411
I know how to bring the GMG's popularity back!
« on: December 03, 2011, 02:21:08 PM »
Using HTML5.

http://scirra.com/construct2

That link is a windows only HTML5 game maker. Check out some of the games, it's just as awesome(and more) than flash!

I propose, the best way gain popularity is to make a Mac Game Maker for HTML5.

I've been playing with HTML5 and it's awesome:
My HTML5 Space Game Example

All variables in Javascript are global variables. Javascript is really fast compared to Sc and Gm. I suppose it would be possible and possibly easy to build a Javascript+HTML5 script interpreter.


What I need from you guys:
Start posting ideas. What do you want the HTML5 game maker to look and feel like?
Open photoshop and start drawing what you'd like the interface to be.
Let your mind loose. Think of how HTML5 games are played in the browser, how with a simple upload people can be playing your games online and how fast and sleek they can be.

GMG Kurt


  • GMG-er

  • **


  • Posts: 682

  • Sorry for being such a noob
Re: I know how to bring the GMG's popularity back!
« Reply #1 on: December 03, 2011, 04:36:35 PM »
awesome, but are you advocating a new IDE, or maing a GM plugin that makes it compile for HTML5/javascript?
SOunds like a great idea, i'm just not clear
Just your average Weekend Warrior.
Yes I know I have bad spelling, it's what makes me such a good programmer!

"Old art, weather magnificent or wretched, is always the raw material of new art. The artist's job, though, is to

Gan


  • Administrator

  • ^ This guy is amazing.

  • *****


  • Posts: 4411
Re: I know how to bring the GMG's popularity back!
« Reply #2 on: December 03, 2011, 04:42:40 PM »
A new IDE. With a similar look and coding to GM and Sc.

Connors


  • ^ This guy is amazing.

  • ****


  • Posts: 2374

  • It's a secret to everyone...
Re: I know how to bring the GMG's popularity back!
« Reply #3 on: December 04, 2011, 12:42:56 AM »
So, Gan, I recently met  friend of mine who is now in college and I knew him because he wanted to start a kind of game-dev club at school.. He's now got his own game company going and he had great advice, he really did.
Basically when you want to put a large project together usually it's best if one person puts together a more concrete idea on their own. Have an idea for a game? Write it down on paper! Experiment with different ideas, maybe even take it to the point where you can play it out on paper, and do all you can before going and recruiting a group of people. Otherwise there's not enough direction and people can't put their work together.

In this case I think we have enough to put up some ideas but we can't do the whole thing this way.
Besides, Gan - you're good at interfaces, remember making Titanium Forge? You did fine on your own, I was impressed. That was a cool project and i think if I'd been in this C class then I would have known enough to do something interesting with it, it had some good features. The interface worked because it was simple enough and I could find everything okay. I think what we need to do first is decide more exactly what functions your latest program is going to have and how the game making process will work, and THEN go into more detail on a fast shiny interface.
*proof reads short essay/wall of text a few times then hits submit*
Warning: The above post may have been modified multiple times.

"In a great game, the character must never perfectly obey the user's command"
 - Tim Rogers

http://connorspuzzles.tumblr.com/

Connors


  • ^ This guy is amazing.

  • ****


  • Posts: 2374

  • It's a secret to everyone...
Re: I know how to bring the GMG's popularity back!
« Reply #4 on: December 04, 2011, 12:55:37 AM »
So anyways, sorry for double post, but I had some ideas already, you got me thinking.
Do you want to make it card-based or not? It could be really useful for games with separate stages.

Also, it better have a good way to deal with sprites.

And the syntax! It could be like GM or SC but now that I've looked at different languages having to type LET each time I change a variable drives me insane. XD But I think the capital letters for built-in functions can stay, it's easier to read for less experienced programmers.
Warning: The above post may have been modified multiple times.

"In a great game, the character must never perfectly obey the user's command"
 - Tim Rogers

http://connorspuzzles.tumblr.com/

Circuit


  • GMG-er

  • **


  • Posts: 299

  • blast from the past
Re: I know how to bring the GMG's popularity back!
« Reply #5 on: December 04, 2011, 01:38:50 AM »
I was writing a long post, in which I was going to say basically what Connors just said.  I saw his post when I clicked "Preview" to see what I had written.  So I'm going to write something different now.   ;D

Gan, if you make it, I know it will be cool.  But I'm not clear on what you're describing.  Provide more information, and I'll give you my ideas.

Connors


  • ^ This guy is amazing.

  • ****


  • Posts: 2374

  • It's a secret to everyone...
Re: I know how to bring the GMG's popularity back!
« Reply #6 on: December 04, 2011, 11:36:32 AM »
Oh hey! I didn't think we had any new members, welcome to GMG! ;D
Warning: The above post may have been modified multiple times.

"In a great game, the character must never perfectly obey the user's command"
 - Tim Rogers

http://connorspuzzles.tumblr.com/

Zoo


  • GMG Extraordinaire

  • ***


  • Posts: 1686
    • My Bandcamp
Re: I know how to bring the GMG's popularity back!
« Reply #7 on: December 04, 2011, 11:57:49 AM »
The only thing I've ever been able to make a game with is GM. I've tried "No Programming" game makers, and they either make the same stupid game every time, or drive you crazy because nothing feels right. I wish GM could make something that everyone could play, not just the few people I know with macs. I think if the language was like GM, everyone would be able to use it to make cool games. 
Kirby, your pudgy buddy from dream land, is back again on the game boy®!

Gan


  • Administrator

  • ^ This guy is amazing.

  • *****


  • Posts: 4411
Re: I know how to bring the GMG's popularity back!
« Reply #8 on: December 04, 2011, 02:26:06 PM »
Quote
The only thing I've ever been able to make a game with is GM. I've tried "No Programming" game makers, and they either make the same stupid game every time, or drive you crazy because nothing feels right. I wish GM could make something that everyone could play, not just the few people I know with macs. I think if the language was like GM, everyone would be able to use it to make cool games. 
That's the idea!  ;D

Quote
So, Gan, I recently met  friend of mine who is now in college and I knew him because he wanted to start a kind of game-dev club at school.. He's now got his own game company going and he had great advice, he really did.
Basically when you want to put a large project together usually it's best if one person puts together a more concrete idea on their own. Have an idea for a game? Write it down on paper! Experiment with different ideas, maybe even take it to the point where you can play it out on paper, and do all you can before going and recruiting a group of people. Otherwise there's not enough direction and people can't put their work together.

In this case I think we have enough to put up some ideas but we can't do the whole thing this way.
Besides, Gan - you're good at interfaces, remember making Titanium Forge? You did fine on your own, I was impressed. That was a cool project and i think if I'd been in this C class then I would have known enough to do something interesting with it, it had some good features. The interface worked because it was simple enough and I could find everything okay. I think what we need to do first is decide more exactly what functions your latest program is going to have and how the game making process will work, and THEN go into more detail on a fast shiny interface.
*proof reads short essay/wall of text a few times then hits submit*
I completely agree. Fantastic plan. I'm gonna write down all my ideas, make some flow charts, photoshop some screens and show you guys to get the idea across so we're all on the same page. Ah and yeah, gotta write everything in detail.


Quote
So anyways, sorry for double post, but I had some ideas already, you got me thinking.
Do you want to make it card-based or not? It could be really useful for games with separate stages.

Also, it better have a good way to deal with sprites.

And the syntax! It could be like GM or SC but now that I've looked at different languages having to type LET each time I change a variable drives me insane. XD But I think the capital letters for built-in functions can stay, it's easier to read for less experienced programmers.
I don't know about card based. Card based is a bit cookie cutter and it's probably not necessary. Though if you guys really want it... I suppose it could be done. Though I'm sure allowing people to learn how to program through a simple language in the format of more complex languages would be more beneficial.
I'll let you guys decide on it.


Quote
I was writing a long post, in which I was going to say basically what Connors just said.  I saw his post when I clicked "Preview" to see what I had written.  So I'm going to write something different now.   ;D

Gan, if you make it, I know it will be cool.  But I'm not clear on what you're describing.  Provide more information, and I'll give you my ideas.
Will do, continue reading to the bottom of this post and hopefully you'll have a crystal clear picture.


Quote
The only thing I've ever been able to make a game with is GM. I've tried "No Programming" game makers, and they either make the same stupid game every time, or drive you crazy because nothing feels right. I wish GM could make something that everyone could play, not just the few people I know with macs. I think if the language was like GM, everyone would be able to use it to make cool games. 
Couldn't agree more!



Here we go:
My idea is for a game maker called the HTML5 GameMaker(or some sort of spiffy name). It's a Mac application that allows you to make HTML5 games. Games that run in the browser, very similar looking to flash games except they don't need plugins and don't take as much CPU.
How it works:
Open HTML5 Game Maker. A new game is automatically created for you(though from the menu up top you can choose to load a game). A window is before you. There are tab bars at the top. The tabs are: "Code" - Where you type your code, "Media" - Where you import pictures and music for your game, "Settings" - Where you set the settings for you game, like window size of the game, "Run" - Click this tab and it plays your game in the window and, "Export" - When clicked it opens a dialog asking you where to export the game, it compiles your game and exports the HTML files so you can upload them for people to play. So you can test it.
Now this window is resizable allowing for more flexibility if someone wants to code in a bigger window.

The "Code" tab:
When clicked shows a text field on the right and a bar on the left, above the bar is a combo box. You type in code on the right, and your methods are in the bar on the left and classes are in the combo box that you can select. You click the method or class and your code appears in the text field on the right that you can edit. There may be further options below the text field. Like buttons and such to make new methods and classes.

The "Media" tab:
Contains a list of all the media of the game, a preview of each and options to delete certain media and to add some media.

The "Settings" tab:
Just has some settings, like game width and height and other stuff when I think of them.

The "Run" tab:
When the run tab is clicked, it compiles your game into HTML5 and displays your game for you to play within the window.

The "Export" tab:
When clicked it displays a save dialog where you choose where to save your HTML5 game. It compiles and exports it so you can upload it and share with friends.



Here's a photoshop mockup:



How the compiler works:
Takes in this language similar to SC and GM. It interprets it and turns it into Javascript. No runtime compiler needed. It puts the Javascript in appropriate methods and bam. This means that there's no need for a super complex and possibly slow custom made compiler.
« Last Edit: December 04, 2011, 02:28:21 PM by Gandolf »

Connors


  • ^ This guy is amazing.

  • ****


  • Posts: 2374

  • It's a secret to everyone...
Re: I know how to bring the GMG's popularity back!
« Reply #9 on: December 04, 2011, 05:49:29 PM »
Well so far it looks awesome! I just wonder if there's any way to make a program that runs on Windows as well?

But aside from that I like this idea a lot.
I remember your titanium forge thing had the option to draw a collision boundary, how did that work? It could be a cool feature.

ALSO something to look into: It ought to have a command to draw an image on the canvas without having to create a new sprite/object. You could draw the background and it wouldn't have to change at all. It also helps for tile maps because you do not need to deal with 300 sprites.
« Last Edit: December 04, 2011, 05:51:51 PM by Connors »
Warning: The above post may have been modified multiple times.

"In a great game, the character must never perfectly obey the user's command"
 - Tim Rogers

http://connorspuzzles.tumblr.com/

GabrielCA


  • GMG-er

  • **

  • no avatar

  • Posts: 224
Re: I know how to bring the GMG's popularity back!
« Reply #10 on: December 04, 2011, 06:03:43 PM »
This is a great idea. HTML5 has so many things in it it will certainly support everything in GM.
This is feasible, though someone would have to invest a considerable amount of time writing an automated converter. A few years ago I developed an efficient and functional (but not entirely automated) process for converting GM games to HTML+JavaScript+GIF.
« Last Edit: December 04, 2011, 06:04:11 PM by GabrielCA »
Creator of the deprecated plugin KeyDetect (2005)

Gan


  • Administrator

  • ^ This guy is amazing.

  • *****


  • Posts: 4411
Re: I know how to bring the GMG's popularity back!
« Reply #11 on: December 04, 2011, 06:31:38 PM »
Quote
Well so far it looks awesome! I just wonder if there's any way to make a program that runs on Windows as well?

But aside from that I like this idea a lot.
I remember your titanium forge thing had the option to draw a collision boundary, how did that work? It could be a cool feature.

ALSO something to look into: It ought to have a command to draw an image on the canvas without having to create a new sprite/object. You could draw the background and it wouldn't have to change at all. It also helps for tile maps because you do not need to deal with 300 sprites.
I was thinking about that. My best solution would be to make the HTML5 GameMaker in HTML5. So the game maker would be online and it'd use PHP to do the compiling and such.
Though that could be quite a bit more difficult and take more time.

For now I think the best route is a Mac only version cause this is the GameMaker's Garage: Mac Homebrew Game Community. Plus with a Mac version, I can put it on the Mac App Store and get $$$. ;) Or just make it free. I dunno yet. Or perhaps free from the Gmg but costs on the App Store. Haha I'm just throwing ideas.

Yeah, it's a good idea to have images that can be drawn without sprites.
As for the collision boundary, that was an excellent tool in Titanium Forge. You didn't have to rely on rectangles and only needed to draw an outline on your image and you could detect precise collisions. Perhaps this is a feature that could be useful in the HTML5 GameMaker.

Quote
This is a great idea. HTML5 has so many things in it it will certainly support everything in GM.
This is feasible, though someone would have to invest a considerable amount of time writing an automated converter. A few years ago I developed an efficient and functional (but not entirely automated) process for converting GM games to HTML+JavaScript+GIF.
Nice. Yeah it'll take some time... but I'm up for a challenge!


It's time to start writing documentation of what the HTML5 GameMaker will support. I'll be double posting my ideas for functionality. What sorta features do you guys really want it to support?
(I'll be taking into account all your functionality/feature ideas when I start the prototype)

Charlo


  • GMG-er

  • **


  • Posts: 451
Re: I know how to bring the GMG's popularity back!
« Reply #12 on: December 04, 2011, 06:37:13 PM »
Cool idea.  I've done quite a bit with Javascript and the canvas element.  It definitely has the same feel to it that SC does, although with more language features.

I think you should do something level-based instead of card-based, if you go that route.  Cards are basically just levels with buttons.

Also, not all variables in Javascript are global.  Variables declared inside functions are in scope only for that function.  This includes instance variables for objects as well.  You can, of course, make everything a global variable by declaring it outside of any functions, but it's not good practice.

There are a lot of HTML5 game makers in the works, but I don't know of any for the Mac community.  I know that windows Game Maker, the most popular windows game-creation tool, is working on HTML5 support.  Since Game Maker is already a well-established program with many features, they just have to write the Javascript compiler.  If this project does come to fruition, I recommend not trying to match them feature-for-feature.   [smiley=grin2.gif]
« Last Edit: December 04, 2011, 06:38:22 PM by Charlo »

Connors


  • ^ This guy is amazing.

  • ****


  • Posts: 2374

  • It's a secret to everyone...
Re: I know how to bring the GMG's popularity back!
« Reply #13 on: December 04, 2011, 06:42:27 PM »
Well just don't get too carried away. XD
Besides, if it supports enough math functions and whatnot we can add all kinds of features ourselves in the form of custom methods (AKA functions AKA procedures) and engines. I could even put together some kind of tile map engine fairly quickly... But there are a few things:
Tile maps and many sprites would be quicker if you could use pieces of a single image! And advanced users may even want a scrolling map and if it's smooth you have to draw sprites with the edge clipped. All pretty simple, yes?

And one more little point: Must they be called Methods? There's built-in "functions" such as createsprite that are essentially the same as methods, just call them all the same thing. I like functions. 8-)

EDIT: Well said Charlo. I think we can make it original though. As for levels:
You don't need a GM style system for that necessarily, but it could help. HOWEVER, rather than give separate levels/cards/what have yous their own code, set it up so you can load each one when you want but it's controlled by the global code. It's actually neater this way...
« Last Edit: December 04, 2011, 06:48:03 PM by Connors »
Warning: The above post may have been modified multiple times.

"In a great game, the character must never perfectly obey the user's command"
 - Tim Rogers

http://connorspuzzles.tumblr.com/

Gan


  • Administrator

  • ^ This guy is amazing.

  • *****


  • Posts: 4411
Re: I know how to bring the GMG's popularity back!
« Reply #14 on: December 04, 2011, 07:21:39 PM »
Quote
Cool idea.  I've done quite a bit with Javascript and the canvas element.  It definitely has the same feel to it that SC does, although with more language features.

I think you should do something level-based instead of card-based, if you go that route.  Cards are basically just levels with buttons.

Also, not all variables in Javascript are global.  Variables declared inside functions are in scope only for that function.  This includes instance variables for objects as well.  You can, of course, make everything a global variable by declaring it outside of any functions, but it's not good practice.

There are a lot of HTML5 game makers in the works, but I don't know of any for the Mac community.  I know that windows Game Maker, the most popular windows game-creation tool, is working on HTML5 support.  Since Game Maker is already a well-established program with many features, they just have to write the Javascript compiler.  If this project does come to fruition, I recommend not trying to match them feature-for-feature.   [smiley=grin2.gif]
Level based... interesting idea. I suppose it'd be similar to SC where you have general non-level methods then levels have their own methods. Anyone else for level based? It certainly would make it easier to make for example a Sonic The Hedgehog game. And those with no need for multiple levels would only need to make their entire game in a single level.

Ah thanks for telling me. Don't know what I as thinking. I suppose I could make. Global and local variables, would you guys prefer that or would you rather have all variables global? To have separate global and local variables would mean global variables need to be separately defined.

I'll try to keep this project in check. I'd hate to become over ambitious. The feature set will start small and smoothly increase.

Quote
Well just don't get too carried away. XD
Besides, if it supports enough math functions and whatnot we can add all kinds of features ourselves in the form of custom methods (AKA functions AKA procedures) and engines. I could even put together some kind of tile map engine fairly quickly... But there are a few things:
Tile maps and many sprites would be quicker if you could use pieces of a single image! And advanced users may even want a scrolling map and if it's smooth you have to draw sprites with the edge clipped. All pretty simple, yes?

And one more little point: Must they be called Methods? There's built-in "functions" such as createsprite that are essentially the same as methods, just call them all the same thing. I like functions. 8-)

EDIT: Well said Charlo. I think we can make it original though. As for levels:
You don't need a GM style system for that necessarily, but it could help. HOWEVER, rather than give separate levels/cards/what have yous their own code, set it up so you can load each one when you want but it's controlled by the global code. It's actually neater this way...
Haha yeah. It'll have all the basic math functions and you'll be able to make custom methods and classes which will greatly allow more functionality than Sc.(Custom classes = Custom objects = Awesomeness)
I think JavaScript has built in sprite sheet functions. It should be easy to add functionality for it.

Interesting twist for levels. This will have to be thought on.
Would levels inhibit the programmer?
With custom classes, levels could be made by the user.

Also I'm thinking there should be a way to input raw JavaScript code without it being altered by the interpreter.
I feel this could allow for greater features for advanced users that want to do stuff the GameMaker doesn't support.
« Last Edit: December 04, 2011, 07:23:03 PM by Gandolf »