Hello Guest, please login or register.
Did you miss your activation email?
Login with username, password and session length.

Pages: [1]   Go Down

Author Topic: [Request / Listing] help: massive problem with my game... MASSIVE (gm.6)  (Read 2331 times)

0 Members and 1 Guest are viewing this topic.
[Request / Listing] help: massive problem with m...
« on: June 23, 2006, 03:57:52 pm »
  • Along Time Ago
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 231
ok i cant fix these things so im gonna put it on here for you guys to fix cause it is impossibal to me. ok the problems:
the flower portal dose not work properly. it is ment to spawn me back to the postion i was in the last room
in the room to were the flower portal takes you, the textbox is all spazed.
same as above but with invetory
the item you selected does not stay in the black box.
if you delete the first room and play the game you cant see the player sprites.
this is not my engine it is an engine this cool guy gave me (look in tuts and engine section);
and the flower portal thing, the code i got it from is this topic here ->http://www.zfgc.com/forum/index.php?topic=4794.0 my glichy engine is here -> http://host-a.net/getfile.php?usern=crispy&file=Zelda%20engine.gm6 by the way it is GM.6 if you did not see in the title
« Last Edit: February 11, 2012, 09:20:04 am by Niek »
Logged
Re: request: massive problem with my game... MAS...
« Reply #1 on: June 23, 2006, 04:14:50 pm »
  • Along Time Ago
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 231
ok i updated first post and link cause i sorted some stuff out  :P
Edit: acturly no i havent done anything
but i updaded the link cause i changed a bit of code around witch got rid of some bugs
« Last Edit: June 23, 2006, 04:17:09 pm by crispy »
Logged
Re: help: massive problem with my game... MASSIV...
« Reply #2 on: June 24, 2006, 03:24:57 am »
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 122
portal events:

create event:
Code: [Select]
alarm[0]=50
warped=true

alarm 0 is set off:
Code: [Select]
warped=false
on collision with link:
Code: [Select]
if warped=false
{
global.room_x=global.prev_room_x
global.room_y=global.prev_room_y
objLink.x=x+lengthdir_x(8,point_direction(objLink.x,objLink.y,objLink.xprevious,objLink.yprevious))
objLink.y=y+lengthdir_x(8,point_direction(objLink.x,objLink.y,objLink.xprevious,objLink.yprevious))
global.prev_room_x=objLink.x
global.prev_room_y=objLink.y
objLink.x=global.room_x
objLink.y=global.room_y
room_goto(room0)
warped=true
}
Hey, do you under stand this, it's very important that you understand GML if you are using an advanced engine...
Logged
Re: help: massive problem with my game... MASSIV...
« Reply #3 on: June 24, 2006, 11:43:00 am »
  • Along Time Ago
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 231
thanks alot. now all i need is help with the text boxs and inventory. the item ive selected don't stay in the box. and the text box and inventory change postion on the screen depending on where i am in the room.
Edit: that code does not work for the first time you enter the portal
« Last Edit: June 24, 2006, 11:54:04 am by crispy »
Logged
Re: help: massive problem with my game... MASSIV...
« Reply #4 on: June 24, 2006, 04:54:15 pm »
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 122
In the create event you have to enter
Code: [Select]
global.room_x=[wherever the starting point of the next room is]
global.room_y=[wherever the starting point of the next room is]
Now about the drawing of the items in the menu...

Quote
[draw the menu x]=view_xview[0]
[draw the menu y]=view_xyiew[0]
« Last Edit: June 24, 2006, 04:55:59 pm by Streblo »
Logged
Re: help: massive problem with my game... MASSIV...
« Reply #5 on: June 24, 2006, 05:32:51 pm »
  • Along Time Ago
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 231
thanks i sorted out the HUD thing. any ideas on how i could do the text box and inventory problem
Logged
Re: help: massive problem with my game... MASSIV...
« Reply #6 on: June 24, 2006, 06:58:34 pm »
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 2890
Now about the drawing of the items in the menu...

Quote
[draw the menu x]=view_xview[0]
[draw the menu y]=view_xyiew[0]
thanks i sorted out the HUD thing. any ideas on how i could do the text box and inventory problem

Streblo already explained it. view_#view variables contain the current x, y of the room's view. The character and view is shifting, but the textbox and menu are staying where they are.
Do you actually know GML, crispy? You've asked for a complete Zelda engine a wee while ago and now you need help using it. Is it Ben's engine you're using?
Logged
Re: help: massive problem with my game... MASSIV...
« Reply #7 on: June 24, 2006, 07:49:00 pm »
  • Along Time Ago
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 231
ok i do know a fair bit of GML functions and how they work but i am still a novice user. and to be fair bens engine was quite advaced but i can still add to it my self. any ways thanks for pointing that out for me...thanks
« Last Edit: June 24, 2006, 08:19:38 pm by skully »
Logged
Re: help: massive problem with my game... MASSIV...
« Reply #8 on: June 24, 2006, 08:00:54 pm »
  • Along Time Ago
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 231
ok i uploaded a new file to first post with how far i got with the inventory but i dont think its the same for the text box. can someone either tell me the code and i add it in or just post the engine with it fixed. and also thier are some problems with the inventory like:
i got the screen like the invotry backdrop but the items over the backdrop don't move... can some one help with that
« Last Edit: June 24, 2006, 08:17:46 pm by crispy »
Logged
Re: help: massive problem with my game... MASSIV...
« Reply #9 on: June 24, 2006, 08:22:33 pm »
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 1271
Crispy can you not double post so much? I just finished fixing you're previous double post, and then not more then half an hour later, you are double posting again in the same topic. I will leave this one like it is this time, because you keep editing you're post while I am trying to merge it. But I suggest you read the global rules over again, because I can't keep fixing you're posts every time you make them.

Just try and edit them in the future ok?
Logged
We may be human. But we're still animals.
Re: help: massive problem with my game... MASSIV...
« Reply #10 on: June 24, 2006, 08:33:19 pm »
  • Along Time Ago
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 231
ok... im sorry  :'(
Logged
Re: help: massive problem with my game... MASSIV...
« Reply #11 on: June 24, 2006, 10:10:51 pm »
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 1271
ok... im sorry  :'(
It's alright man, it isn't a huge deal. It's just double posting. I personally don't care to much. But I guess it's bothersome when people do it all the time, and I just wanted you to know, it's starting to get annoying when I have to keep comming here to fix you're double posts. But I am not mad at you at all. Just making sure you understand that you need to edit you're posts in the future :P
Logged
We may be human. But we're still animals.
Re: help: massive problem with my game... MASSIV...
« Reply #12 on: June 25, 2006, 10:12:26 am »
  • Along Time Ago
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 231
any one... please....
Logged
Re: help: massive problem with my game... MASSIV...
« Reply #13 on: June 25, 2006, 11:56:41 pm »
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 122
So, we have the 'view_xview[0] view_yview[0]' code.
view_xview[0] and view_yview[0] will always equal the top left corner of view 0.
so, if we wanted to draw something inside the view we would type:
Code: [Select]
draw_sprite(something,0,view_xview[0],view_yview[0])
Now, say that we wanted it at the top right corner of the view:
Code: [Select]
draw_sprite(something,0,view_xview[0]+(view_width[0]-sprite_width),view_yview[0])
Do you understand?
I'm trying to teach you, and no just give you scripts.
Logged
Re: help: massive problem with my game... MASSIV...
« Reply #14 on: June 26, 2006, 08:07:15 pm »
  • Along Time Ago
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 231
solved  ;D thanks u lot
Logged
Pages: [1]   Go Up

 


Contact Us | Legal | Advertise Here
2013 © ZFGC, All Rights Reserved



Page created in 0.067 seconds with 65 queries.