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

Pages: 1 2 3 [4] 5 6 ... 9   Go Down

Author Topic: The Legend of Zelda : Chiming Bells [First Screenshot of Dodongo Mines]  (Read 50738 times)

0 Members and 1 Guest are viewing this topic.

King Tetiro

Leader of Phoenix Heart
Re: The Legend of Zelda : Chiming Bells
« Reply #60 on: June 02, 2009, 05:54:49 am »
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 3549
Yeh I spotted that error last night. Im gonna repost the demo. I apologise to you all.

EDIT: The demo has been fixed and reposted. As an apology, I've added 3 heart pieces.
« Last Edit: June 02, 2009, 06:00:01 am by King Tetiro »
Logged
  • Phoenix Heart

King Tetiro

Leader of Phoenix Heart
Re: The Legend of Zelda : Chiming Bells
« Reply #61 on: June 04, 2009, 07:38:48 am »
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 3549
I've started working on a proper demo this time. Here's what I've got to do.

-Kokiri Forest Shop
-Scenes
-Saving and Loading
-Titlescreen

=Completed Scenes=
3=The Great Deku Tree's Words

=Scenes to do=
1=Prologue
2=Trouble in the Forest / The Forest's Calling
4=Saria's in trouble!
5=The Blue Knight
Logged
  • Phoenix Heart

Mamoruanime

@Mamoruanime
Re: The Legend of Zelda : Chiming Bells
« Reply #62 on: June 04, 2009, 09:28:43 pm »
  • ^Not actually me.
  • *
  • Reputation: +9/-0
  • Offline Offline
  • Gender: Male
  • Posts: 9786
You seem to have... tried... to implement a prioritized movement system, but got it alllllll wrong <_<;; Link is supposed to prioritize the first direction he's moving, not any direction he tries to move after the first...
Logged

King Tetiro

Leader of Phoenix Heart
Re: The Legend of Zelda : Chiming Bells
« Reply #63 on: June 04, 2009, 09:32:53 pm »
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 3549
You seem to have... tried... to implement a prioritized movement system, but got it alllllll wrong <_<;; Link is supposed to prioritize the first direction he's moving, not any direction he tries to move after the first...

Please help me mamor! Im really at a loss here now.
Logged
  • Phoenix Heart

Mamoruanime

@Mamoruanime
Re: The Legend of Zelda : Chiming Bells
« Reply #64 on: June 04, 2009, 09:35:11 pm »
  • ^Not actually me.
  • *
  • Reputation: +9/-0
  • Offline Offline
  • Gender: Male
  • Posts: 9786
Okay, well... For example-

If link is standing still, and you decide to walk left- Left is now your *priority direction*. Link will be facing left now even if you decide to press up or down while you're walking. Any other directional buttons pressed aren't priority. If you stop pressing left, and you're holding up- Up is now your priority direction. Link will face up no matter what direction you press.
Logged

King Tetiro

Leader of Phoenix Heart
Re: The Legend of Zelda : Chiming Bells
« Reply #65 on: June 04, 2009, 09:47:45 pm »
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 3549
Okay, well... For example-

If link is standing still, and you decide to walk left- Left is now your *priority direction*. Link will be facing left now even if you decide to press up or down while you're walking. Any other directional buttons pressed aren't priority. If you stop pressing left, and you're holding up- Up is now your priority direction. Link will face up no matter what direction you press.
I think i may have figure out the solution. I dunno. I'll try tomorrow night
Logged
  • Phoenix Heart
Re: The Legend of Zelda : Chiming Bells
« Reply #66 on: June 04, 2009, 10:01:33 pm »
  • *
  • Reputation: +8/-0
  • Offline Offline
  • Gender: Male
  • Posts: 6604
Priority movement isn't that hard to implement. In fact, currently I am finishing up a revision to Goodnight's movement engine which has more efficient code - although, I am not sure how necessary it is to Gameboy Zelda collisions, it's more Minish Cap ish. I'm a little embarrassed because at first I was scoffing at the for loops in it when it turns out a simplified form of them was essential to the damn thing, lol.

If you don't get it figured out, chances are I'll be able to help you then.
Edit: lol, it seems I was able to get a working system without the for loops I praised above, woot.
« Last Edit: June 04, 2009, 10:53:47 pm by 4Sword »
Logged

Mamoruanime

@Mamoruanime
Re: The Legend of Zelda : Chiming Bells
« Reply #67 on: June 05, 2009, 12:00:48 am »
  • ^Not actually me.
  • *
  • Reputation: +9/-0
  • Offline Offline
  • Gender: Male
  • Posts: 9786
O_O why would you need for loops for your prioritized movement? XD Seems overcomplicated to me :s
Logged
Re: The Legend of Zelda : Chiming Bells
« Reply #68 on: June 05, 2009, 12:08:55 am »
  • *
  • Reputation: +8/-0
  • Offline Offline
  • Gender: Male
  • Posts: 6604
Well, it is more for the corner cutting with collisions but as I figured out with my last edit, I was able to do the corner cutting without the for-loop which was for that in Goodnight's original engine. Otherwise, the prioritized movement for directions looks similar to something like this:
Code: [Select]
hold_u = keyboard_check(vk_up);
hold_d = keyboard_check(vk_down);
hold_l = keyboard_check(vk_left);
hold_r = keyboard_check(vk_right);

if (hold_u && hold_d){
  hold_u = 0; hold_d = 0;
}

if (hold_l && hold_r){
  hold_l = 0; hold_r = 0;
}

switch (hold_u + hold_d + hold_l + hold_r){
  case 0:
    is_moving = false; move_f = 0; move_c = 0;
    break;
  case 1:
    is_moving = true; move_f = 1; move_c = 0;
    if (hold_u)
      direction = 90;
    else if (hold_d)
      direction = 270;
    else if (hold_l)
      direction = 180;
    else
      direction = 0;
    break;
  case 2:
    is_moving = true; move_f = SQRT_TWO;
    switch (direction){
      case 90:
        if (hold_d)
          direction =  270;
        break;
      case 270:
        if (hold_u)
          direction = 90;
        break;
      case 180:
        if (hold_r)
          direction = 0;
        break;
      case 0:
        if (hold_l)
          direction = 180;
        break; 
    }   
    break;
}
Logged
Re: The Legend of Zelda : Chiming Bells
« Reply #69 on: June 05, 2009, 12:34:19 am »
  • *
  • Reputation: +3/-0
  • Offline Offline
  • Gender: Male
  • Posts: 6629
I like my prioritized movement code from my previous projects. Its a 10 line long function.  <3
Logged

Mamoruanime

@Mamoruanime
Re: The Legend of Zelda : Chiming Bells
« Reply #70 on: June 05, 2009, 01:06:44 am »
  • ^Not actually me.
  • *
  • Reputation: +9/-0
  • Offline Offline
  • Gender: Male
  • Posts: 9786
I like my prioritized movement code from my previous projects. Its a 10 line long function.  <3

I think that's just about what mine's at; I can't remember though :s... I'm not on a PC that will let me open my source to check lol...

I would almost assume give King Tetiro my movement system, but it would involve him rewriting some of what he has now to adapt to it.
Logged

King Tetiro

Leader of Phoenix Heart
Re: The Legend of Zelda : Chiming Bells
« Reply #71 on: June 05, 2009, 03:21:41 pm »
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 3549
Mamor or infini please could I use one of your scripts? It would really help. Credit will be given.
Logged
  • Phoenix Heart
Re: The Legend of Zelda : Chiming Bells
« Reply #72 on: June 05, 2009, 04:21:47 pm »
  • *
  • Reputation: +3/-0
  • Offline Offline
  • Gender: Male
  • Posts: 6629
Mamor or infini please could I use one of your scripts? It would really help. Credit will be given.
Unless you like C++, no :P.
Logged
Re: The Legend of Zelda : Chiming Bells
« Reply #73 on: June 05, 2009, 04:53:32 pm »
  • Doesn't afraid of anything
  • *
  • Reputation: +42/-0
  • Offline Offline
  • Gender: Male
  • Posts: 7002
Hey, Infini, can I see so said 10 line of code? =D
Logged



i love big weenies and i cannot lie
Re: The Legend of Zelda : Chiming Bells
« Reply #74 on: June 05, 2009, 05:38:35 pm »
  • *
  • Reputation: +3/-0
  • Offline Offline
  • Gender: Male
  • Posts: 6629
Hey, Infini, can I see so said 10 line of code? =D
*randomly grabs some code from a previous project*

lol FusionScript, been a while since I saw that. And yes, closer to 18 lines not counting whitespace and comments :P.

Code: [Select]
// --------------------------------------------------------------------
//  Works out the _direction the player should be following based on
//  an acceleration vector.
// --------------------------------------------------------------
//  xMovement : Movement in x-axis.
//  yMovement : Movement in y-axis.

int WorkOutDirection(float xMovement, float yMovement)
{
int retDir = _direction;

switch (true)
{
case xMovement < 0.0f && yMovement != 0.0f:   // Left Up/Down
if (_direction == System.Generic.Directions.RIGHT)
retDir = System.Generic.Directions.LEFT;
case xMovement > 0.0f && yMovement != 0.0f:   // Right Up/Down
if (_direction == System.Generic.Directions.LEFT)
retDir = System.Generic.Directions.RIGHT;
case xMovement < 0.0f: retDir = System.Generic.Directions.LEFT;      // Left
case xMovement > 0.0f: retDir = System.Generic.Directions.RIGHT;   // Right
case yMovement < 0.0f: retDir = System.Generic.Directions.UP;        // Up
case yMovement > 0.0f: retDir = System.Generic.Directions.DOWN;      // Down
}

return retDir;
}
Logged
Re: The Legend of Zelda : Chiming Bells
« Reply #75 on: June 05, 2009, 06:24:03 pm »
  • *
  • Reputation: +16/-0
  • Offline Offline
  • Gender: Male
  • Posts: 1633
Mamor or infini please could I use one of your scripts? It would really help. Credit will be given.

If neither of them can help you can have my code. Just be warned that I've seperated it in the button press, button release, some custom events and the step events.
Logged

King Tetiro

Leader of Phoenix Heart
Re: The Legend of Zelda : Chiming Bells
« Reply #76 on: June 06, 2009, 02:56:31 pm »
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 3549
I'll figure this out eventually. I may use a form of 4Sword's (If i do I will credit  you)

No progress has been made lately due to my exams.
Logged
  • Phoenix Heart

ZFG

Re: The Legend of Zelda : Chiming Bells
« Reply #77 on: June 06, 2009, 03:09:10 pm »
  • ⌘⌥⌫↵⏏⌃
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Posts: 39
Holy !@#$% dude! This is way past awesome! Though, I'm not used to such small screens.  :P
Logged

King Tetiro

Leader of Phoenix Heart
Re: The Legend of Zelda : Chiming Bells
« Reply #78 on: June 06, 2009, 04:26:05 pm »
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 3549
I've given up trying to do prioritised movement. I even tried 4Sword's code and it still doesn't work.
Logged
  • Phoenix Heart
Re: The Legend of Zelda : Chiming Bells
« Reply #79 on: June 06, 2009, 04:49:32 pm »
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Posts: 2245
I've given up trying to do prioritised movement. I even tried 4Sword's code and it still doesn't work.
Prioritised movement isn't that difficult :/
If you can't do it you're going to have even more trouble later on with harder pieces of code.
Logged
Pages: 1 2 3 [4] 5 6 ... 9   Go Up

 


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



Page created in 0.064 seconds with 77 queries.

anything