ID:118907
 
Regardless of 490 being released, Dream maker still
isn't the best choice for making action games(It
works in some cases, but... you get what I mean). So
I've been using game maker 8 recently. I don't like
it much in comparison to DM, but it's a next best
for stupid people like myself. So, I decided to
create a mod tool with DM, and I'm going to give you
a simple idea of how you could do this yourself.

So, let's go to Game maker(I'm using GM 8.1)

Go ahead and create a new object called
mod_handler, and add a step, create, and draw
events.

Now, close down the object window and make a new
script called "Execute_File" or something of the
such. close that down, we'll be back to it in a
second, and reopen mod_handler, add execute_code
nodes to each of the events you created and in
each of them write "Execute_File("Eventname.dat")"

Good job, now for the cool part. GML, game maker
language allows you to use a function called
"execute_code" which will, believe it or not, run
the code within it. so back to Execute_File() and
add the following to it
"execute_string(file_text_read_string(file_text_open_read(arg ument0)); file_close()"

That's about all we need for GM, to Dream Maker!

Let's create a verb called Export_Code, and for my
example, I'm making a mapmaker that picks up an
object's name to add a string called finalcode
finalcode=""
for(var/obj/A in world)
if(A.name=="wall")
finalcode="[finalcode]instance_create([A.x*32],[A.y*32],obj_nachtwall);"

So after you do whatever it is you need to do to
determine the final code, you'll need to save the
file

To do this, you could do something like
var/mapname=input(src,"Save map as?") as text
new/savefile/("[mapname].map")
text2file("[finalcode]",file("Eventname.dat"))



I'm sorry the tutorial is so shitty, I'm not exactly the most helpful person... :(
I stopped using game-maker (From Yoyo-games, right?) a long time ago. It confused the crap out've me. I found it when I was... like, 9? Two months before I discovered BYOND. It just dumbfounded me.
I've been using it since I was seven whenever I wanted to try something out, I then took it to BYOND if I wanted to make it into a full game. That rarely happened, but it was fun ^_^
I would be programming in GM 8.0 but the multiplayer thing just doesn't work. BYOND FTW!
Nice find, but i'ma stick with my boy biond
I frequently switch off between BYOND and Game Maker. But overall, I feel that BYOND is more developer friendly.
Calus CoRPS wrote:
I frequently switch off between BYOND and Game Maker. But overall, I feel that BYOND is more developer friendly.

Agreed, I generally stick to DM but for one game I wanted to merge the two and this's what I canme up with. Failed success.
I'd only use something besides BYOND if I wanted to make something in 3D. That's the only reason. Anything 2D, BYOND is more than enough.
GM is great, I even bought their book and made a few games a long time ago. But it only works well for action, or side-scrollers and only can be single-player. RPG's, and multiplayer are nearly impossible on it. So, here I am. But I will switch back if I decide to make either of the former 2 in the future.
It works fairly well for top-down-shooters as well.
No point in creating a full fledged game with it.There are programs out there that can extract the games source including graphics and sounds
Kaigne wrote:
No point in creating a full fledged game with it.There are programs out there that can extract the games source including graphics and sounds


Same is true for most programming languages, BYOND included. (However BYOND doesn't see it happen as often as other languages). Take Minecraft for example, written in Java. People have been decompiling and modding Minecraft for as long as Minecraft has existed.
MaGicBush wrote:
GM is great, I even bought their book and made a few games a long time ago. But it only works well for action, or side-scrollers and only can be single-player. RPG's, and multiplayer are nearly impossible on it. So, here I am. But I will switch back if I decide to make either of the former 2 in the future.

this

Ehh, I really don't care. Besides, same goes for every encryption format.