June 28, 2009
[Tutorial] How to make strategy games with Game Maker 7 Part1
gokusupersaiyan6 asked:
Approval haven 't uploaded the video to long so I decided to start uploading videos random and this is one of them. How to make strategy games with the UPDATE to Part 1 of gamemaker 7: Part 1 on my site: Part 2 of gmteacher.uuuq.com on my site: gmteacher.uuuq.com
Create a video blog
a
a
a
a »
Hey… Does it matters how am I gonna call my sprite or object?!
yes, but with some simple changes in the draw events (use “draw_rectangle” instead of “draw_rectangle_color”) you can make it work without pro edition
damn it requers PRO!!!
REGUIRES PRO edition
oh come on ppl the video quality sux.why dont you just go to my site.you can even download it from there.ok i will post a link in the description
FATAL ERROR in
action number 1
of Draw Event
for object obj_controller:
COMPILATION ERROR in code action
Error in code at line 3:
draw_rectangle(startx,starty,m ouse_x,mouse_y,c_green,c_green ,c_green,c_green,false)
at position 33: Symbol , or ) expected.
i really need help
I can’t get throught the obj_collector thing at the last line what do u put?
well this is not the finished one on mah site there is a third part with building but i decided to stop writing the tutorial and just make an engine and post the source
cool, how is that a stratagy game though?
ad &fmt=18 for good quality
if draw_rect=true
{
draw_rectangle(startx,starty,mouse_x,mouse_y,c_green,c_green,c_green,c_green,false)
}
___________________________________________
FATAL ERROR in
action number 1
of Draw Event
for object obj_controller:
COMPILATION ERROR in code action
Error in code at line 2:
ddraw_rect=true{draw_rectangle_color(startx,starty,mouse_x,mouse_y,c_green,c_green,c_green,false
at position 97: Symbol , or ) expected.
For lite version, and in my opinion, better results: change the draw event code to:
if draw_rect=true
{
draw_rectangle(startx,starty,mouse_x,mouse_y,1)
}
Also, feel free to use the ‘Set the Color’ action, and set the rectangle to whatever you want. (Be sure to put the set the color action above the code action though.)
-Mike
it dosent get any color or a rectangle. Y?
oh, man! Need pro edition. Ahh.. man… well, great vid though
change it to true for outline, vincin6.
___________________________________________
FATAL ERROR in
action number 1
of Draw Event
for object obj_controller:
COMPILATION ERROR in code action
Error in code at line 3:
draw_rectangle,color(startx,starty,mouse_x,mouse_y,c_green,c_green,c_green,c_green,false)
at position 17: Unknown function or script: color
you must just delete that {
write: { not }
thats a little bit stupid here—> 1:37
how do u make buiding thing
put &fmt=18 at the end of the adress for good quality
Dude when i pick only 1 guy and click to go somewhere they all go.Y?
This is only avalible on Pro
FATAL ERROR in
action number 1
of Draw Event
for object obj_controller:
COMPILATION ERROR in code action
Error in code at line 4:
at position 1: Symbol } expected.
when i try starting the game and testing it it says this and i cant start it it says abort so can u tell me a way to fix it? thx im gunna subscribe u!
Make a code named “GetGun” or anything else and put it in the collision event:
if place_meeting(x,y,obj_Gun)
{
if GetGun = true
{”Your Gun-Code”}
else
{exit}
}
And in your Key-Event for picking up the gund put in:
If “Your Key:e.g. P(for pick up)”
{GetGun = true}
else
{GetGun = false}
Try it out it works!