To anyone who dosen't know why i made this, i'm planning to make a game but need ideas and i'm having a friend help. if you must peek at the story then at least don't spoil it for anyone else, and i plan to release updates for the public.
Offline
Repost to inspiration and more.
Last edited by Oneandonly (2009-06-01 14:35:48)
Offline
ok, its a portal game, as in you make portals to go plases and solve puzzles, and it's goting to be 2-d, i'll release what i have so far, and keep in mind that i have been working on it for about an hour. the sprites are rough and not going to be used in the real game, like the stick man, he will be replaced, and the portal gun will be replaced. and in case you were wondering, the stickman is from a sample game
Offline
k, it's up, so i'm working on stopping him from going into the walls right now. and this is the script i'm using for the portals
(In stickman)
<when green flag clicked>
<forever><if>
<touching[ blue portal ]>
<broadcast[ blue hide ]>
<go to[ Orange portal ]>
<when green flag clicked>
<forever>
<if><touching[ orange portal ]>
<broadcast[ orange hide]>
<go to[ blue portal ]>
(and in the blue portal)
<when I receive[ orange hide ]>
<hide>
<wait( 1 )secsc>
<show>
(and in the orange portal)
<when I receive[ blue hide ]>
<hide>
<wait( 1 )secsc>
<show>
What i tryed using was simply
(for stickman)
<when green flag clicked>
<forever>
<if><touching[ Blue portal ]>
<go to[ orange portal ]>
and vise-versa. the problem was as soon as the guy made the trip, he would be in the orange portal then have to go to the blue portal, then get sent back to the orange portal and so on, any suggestions?
Last edited by Mitch99 (2009-06-03 13:52:59)
Offline
Mitch99 wrote:
k, it's up, so i'm working on stopping him from going into the walls right now. and this is the script i'm using for the portals
(In stickman)
<when green flag clicked>
<forever>
<if><touching[ blue portal ]>
<broadcast[ blue hide ]>
<go to[ Orange portal ]>
<when green flag clicked>
<forever>
<if><touching[ orange portal ]>
<broadcast[ orange hide]>
<go to[ blue portal ]>
(and in the blue portal)
<when I receive[ orange hide ]>
<hide>
<wait( 1 )secsc>
<show>
(and in the orange portal)
<when I receive[ blue hide ]>
<hide>
<wait( 1 )secsc>
<show>[/blocks]
What i tryed using was simply
(for stickman)
<when green flag clicked>
<forever>
<if><touching[ Blue portal ]>
<go to[ orange portal ]> [/blocks]
and vise-versa. the problem was as soon as the guy made the trip, he would be in the orange portal then have to go to the blue portal, then get sent back to the orange portal and so on, any suggestions?
The problem is that you have a forever loop going on so the main character sprite will continuously keep transporting. If it were me, maybe I would have it so that the user would have to press a button to go into a portal, instead of simply using touch sensing. Maybe something like this?:
when green flag clicked
forever if key [space] pressed
if touching [blue portal]
broadcast[blue hide]
go to[Orange portal]
etc. with the other scripts.
Offline
cheddargirl wrote:
Mitch99 wrote:
k, it's up, so i'm working on stopping him from going into the walls right now. and this is the script i'm using for the portals
(In stickman)
<when green flag clicked>
<forever>
<if><touching[ blue portal ]>
<broadcast[ blue hide ]>
<go to[ Orange portal ]>
<when green flag clicked>
<forever>
<if><touching[ orange portal ]>
<broadcast[ orange hide]>
<go to[ blue portal ]>
(and in the blue portal)
<when I receive[ orange hide ]>
<hide>
<wait( 1 )secsc>
<show>
(and in the orange portal)
<when I receive[ blue hide ]>
<hide>
<wait( 1 )secsc>
<show>[/blocks]
What i tryed using was simply
(for stickman)
<when green flag clicked>
<forever>
<if><touching[ Blue portal ]>
<go to[ orange portal ]> [/blocks]
and vise-versa. the problem was as soon as the guy made the trip, he would be in the orange portal then have to go to the blue portal, then get sent back to the orange portal and so on, any suggestions?The problem is that you have a forever loop going on so the main character sprite will continuously keep transporting. If it were me, maybe I would have it so that the user would have to press a button to go into a portal, instead of simply using touch sensing. Maybe something like this?:
when green flag clicked
forever if key [space] pressed
if touching [blue portal]
broadcast[blue hide]
go to[Orange portal]
etc. with the other scripts.
hmm... good idea, what do you think croatoan?
Offline
ok, i fixed the walls and the portals, the portals going into the wall need a slight bit of work, whick i have an idea for but heres the project (link to project)
LOL!!! i just found wierd glich. the portal bounces off a curtain angle. shoot for the center of the orange spot
Last edited by Mitch99 (2009-06-09 13:44:17)
Offline