Zunar's Games

Need programming help? Want to post programming tips? Are you programming a game and want to show it off? That and more here.

Re: Zunar's Games *INFO NEEDED*

Postby Zunar » February 14th, 2010, 7:11 pm

Oh, I don't have pro edition....
User avatar
Zunar
Honorary Member

 
Posts: 1838
Joined: August 1st, 2009, 4:50 pm
Location: In the shadows, where you'll never find me.

Thumbs Up given: 14 times
Thumbs Up received: 51 times

Re: Zunar's Games *INFO NEEDED*

Postby agentms11 » February 14th, 2010, 7:15 pm

Zunar wrote:Oh, I don't have pro edition....
That button is there in the lite version.
Lol, I even used GM7 Lite version to take that screenie.
(That button is in GM8 also BTW)
User avatar
agentms11
As Ninja As Myst

 
Posts: 138
Joined: August 1st, 2009, 5:13 pm

Thumbs Up given: 0 times
Thumbs Up received: 0 times

Re: Zunar's Games *INFO NEEDED*

Postby Zunar » February 14th, 2010, 7:21 pm

It is not. There is no "Show Information" button here.

Image
User avatar
Zunar
Honorary Member

 
Posts: 1838
Joined: August 1st, 2009, 4:50 pm
Location: In the shadows, where you'll never find me.

Thumbs Up given: 14 times
Thumbs Up received: 51 times

Re: Zunar's Games *INFO NEEDED*

Postby agentms11 » February 14th, 2010, 7:24 pm

Oh lol.
You need to enable Advanced Mode.
In the File toolbar.
BROCCOLI TASTES LIKE CHICKEN!
YEAH!


NOW FOR... ARTEMIS FOWL!!!!
ImageImageImageImageImage
User avatar
agentms11
As Ninja As Myst

 
Posts: 138
Joined: August 1st, 2009, 5:13 pm

Thumbs Up given: 0 times
Thumbs Up received: 0 times

Re: Zunar's Games *INFO NEEDED*

Postby Zunar » February 14th, 2010, 7:25 pm

OOOOOOHHHHHH....

Sry. Lemme do that...

Information about object: obj_link

Sprite: spr_linkstandd
Solid: false
Visible: true
Depth: 0
Persistent: false
Parent: <no parent>
Mask: <same as sprite>

Alarm Event for alarm 0:
set variable attack to 0
if looking is equal to 1
set the sprite to spr_linkstandu with subimage 0 and speed 1
if looking is equal to 2
set the sprite to spr_linkstandd with subimage 0 and speed 1
if looking is equal to 3
set the sprite to spr_linkstandl with subimage 0 and speed 1
if looking is equal to 4
set the sprite to spr_linkstandr with subimage 0 and speed 1

Collision Event with object obj_testwall:
start moving in directions 000010000 with speed set to 0

Collision Event with object obj_pot:
if attack is equal to 0
start moving in directions 000010000 with speed set to 0
if attack is equal to 1
for other object: destroy the instance

Other Event: Game Start:
set variable attack to 0
set variable looking to 2

Key Press Event for <Escape> Key:
end the game

Key Press Event for <Space> Key:
set the sprite to spr_linkspin with subimage 0 and speed 1
set Alarm 0 to 10

Key Press Event for <Left> Key:
COMMENT: Go left
set the sprite to spr_linkrunl with subimage 0 and speed 1
set variable looking to 3
start moving in directions 000100000 with speed set to 3

Key Press Event for <Up> Key:
COMMENT: Go up
set the sprite to spr_linkrunu with subimage 0 and speed 1
set variable looking to 1
start moving in directions 000000010 with speed set to 3

Key Press Event for <Right> Key:
COMMENT: Go right
set the sprite to spr_linkrunr with subimage 0 and speed 1
set variable looking to 4
start moving in directions 000001000 with speed set to 3

Key Press Event for <Down> Key:
COMMENT: Go down
set the sprite to spr_linkrund with subimage 0 and speed 1
set variable looking to 2
start moving in directions 010000000 with speed set to 3

Key Press Event for C-key Key:
if looking is equal to 1
COMMENT: Throw boomerang up
set the sprite to spr_linkboomu with subimage 0 and speed 1
create instance of object obj_boomerang at relative position (0,0) with speed 3 in direction 000000010
set Alarm 0 to 5
if looking is equal to 2
COMMENT: Throw boomerang down
set the sprite to spr_linkboomd with subimage 0 and speed 1
create instance of object obj_boomerang at relative position (0,0) with speed 3 in direction 010000000
set Alarm 0 to 5
if looking is equal to 3
COMMENT: Throw boomerang left
set the sprite to spr_linkbooml with subimage 0 and speed 1
create instance of object obj_boomerang at relative position (0,0) with speed 3 in direction 000100000
set Alarm 0 to 5
if looking is equal to 4
COMMENT: Throw boomerang right
set the sprite to spr_linkboomr with subimage 0 and speed 1
create instance of object obj_boomerang at relative position (0,0) with speed 3 in direction 000001000
set Alarm 0 to 5

Key Press Event for R-key Key:
restart the current room with transition effect <no effect>

Key Press Event for X-key Key:
set variable attack to 1
if looking is equal to 1
COMMENT: Swing sword up
set the sprite to spr_linkswordu with subimage 0 and speed 1
set Alarm 0 to 9
if looking is equal to 2
COMMENT: Swing sword down
set the sprite to spr_linkswordd with subimage 0 and speed 1
set Alarm 0 to 9
if looking is equal to 3
COMMENT: Swing sword left
set the sprite to spr_linkswordl with subimage 0 and speed 1
set Alarm 0 to 9
if looking is equal to 4
COMMENT: Swing sword right
set the sprite to spr_linkswordr with subimage 0 and speed 1
set Alarm 0 to 9

Key Press Event for Z-key Key:
if looking is equal to 1
set the sprite to spr_linkbowu with subimage 0 and speed 1
create instance of object obj_arrowup at relative position (0,0) with speed 3 in direction 000000010
set Alarm 0 to 5
if looking is equal to 2
set the sprite to spr_linkbowd with subimage 0 and speed 1
create instance of object obj_arrowdown at relative position (0,0) with speed 3 in direction 010000000
set Alarm 0 to 5
if looking is equal to 3
set the sprite to spr_linkbowl with subimage 0 and speed 1
create instance of object obj_arrowleft at relative position (0,0) with speed 3 in direction 000100000
set Alarm 0 to 5
if looking is equal to 4
set the sprite to spr_linkbowr with subimage 0 and speed 1
create instance of object obj_arrowright at relative position (0,0) with speed 3 in direction 000001000
set Alarm 0 to 5

Key Release Event for <Left> Key:
COMMENT: Stop moving
set the sprite to spr_linkstandl with subimage 0 and speed 1
start moving in directions 000010000 with speed set to 0

Key Release Event for <Up> Key:
COMMENT: Stop moving
set the sprite to spr_linkstandu with subimage 0 and speed 1
start moving in directions 000010000 with speed set to 0

Key Release Event for <Right> Key:
COMMENT: Stop moving
set the sprite to spr_linkstandr with subimage 0 and speed 1
start moving in directions 000010000 with speed set to 0

Key Release Event for <Down> Key:
COMMENT: Stop moving
set the sprite to spr_linkstandd with subimage 0 and speed 1
start moving in directions 000010000 with speed set to 0
User avatar
Zunar
Honorary Member

 
Posts: 1838
Joined: August 1st, 2009, 4:50 pm
Location: In the shadows, where you'll never find me.

Thumbs Up given: 14 times
Thumbs Up received: 51 times

Re: Zunar's Games *INFO NEEDED*

Postby agentms11 » February 14th, 2010, 8:04 pm

*YAWN*
I'm too tired for this now.
Could you please upload it somewhere (doesnt have to be yoyogames, use, I dunno, solidfiles.com or something).
TIA.
Last edited by agentms11 on February 22nd, 2010, 4:39 pm, edited 1 time in total.
BROCCOLI TASTES LIKE CHICKEN!
YEAH!


NOW FOR... ARTEMIS FOWL!!!!
ImageImageImageImageImage
User avatar
agentms11
As Ninja As Myst

 
Posts: 138
Joined: August 1st, 2009, 5:13 pm

Thumbs Up given: 0 times
Thumbs Up received: 0 times

Re: Zunar's Games *INFO NEEDED*

Postby Zunar » February 15th, 2010, 6:01 am

Well it's not complete enough to upload yet.....I need the info....

But shooting the bow is the Press-Z key command. Just look at that one plz. And also look at the C-key command. That's the boomerang and I'm having the same problem with it as I'm having with the bow.
User avatar
Zunar
Honorary Member

 
Posts: 1838
Joined: August 1st, 2009, 4:50 pm
Location: In the shadows, where you'll never find me.

Thumbs Up given: 14 times
Thumbs Up received: 51 times

Re: Zunar's Games *INFO NEEDED*

Postby agentms11 » February 15th, 2010, 6:22 am

Just upload it so I can see whats wrong.
You dont have to make it public.
Just upload it and PM me the link.
BROCCOLI TASTES LIKE CHICKEN!
YEAH!


NOW FOR... ARTEMIS FOWL!!!!
ImageImageImageImageImage
User avatar
agentms11
As Ninja As Myst

 
Posts: 138
Joined: August 1st, 2009, 5:13 pm

Thumbs Up given: 0 times
Thumbs Up received: 0 times

Re: Zunar's Games *INFO NEEDED*

Postby Zunar » February 15th, 2010, 6:36 am

User avatar
Zunar
Honorary Member

 
Posts: 1838
Joined: August 1st, 2009, 4:50 pm
Location: In the shadows, where you'll never find me.

Thumbs Up given: 14 times
Thumbs Up received: 51 times

Re: Zunar's Games *INFO NEEDED*

Postby agentms11 » February 15th, 2010, 5:05 pm

I found your mistake.
The directions (up, down, left, right) for the "Move Fixed" action are different from everything else.
You dont use those random number codes (binary?) in the way you used them.
You use degrees.
So right is 0, up is 90, left is 180, and down is 270.
Hope this help!!!
BROCCOLI TASTES LIKE CHICKEN!
YEAH!


NOW FOR... ARTEMIS FOWL!!!!
ImageImageImageImageImage
User avatar
agentms11
As Ninja As Myst

 
Posts: 138
Joined: August 1st, 2009, 5:13 pm

Thumbs Up given: 0 times
Thumbs Up received: 0 times

PreviousNext

Return to Programming