CHECK OUT THIS NEW VIDEO :] Some ACTUAL game play, for once. Haha
Please forgive my ugly, monotone voice. It's not like I'm reading from a script or have any experience with public speaking. Plus, I wouldn't exactly say I have the voice for it, anyway.Comments? Critique? Insights? Suggestions? All appreciated. ^^
@spectreNectar: yea I see where you're coming from, however that intro 30 lined message will be accompanied by a slideshow-style cutscene, and would be the only time in the game that such a long message would be displayed. In fact messages wouldn't come up that often after this part of the game.
But I would be interested to hear a more creative introduction to the story, if anyone took the time to read all those messages.
DSG: There's a lot more to code than just working (tons, really). The fact that you were forced to recode things many times is not a good sign. You'd be surprised at what good code can withstand (entire engine changes, etc).
Na, I didn't have much really to re-code, my code is pretty well written I think for the most part. I also usually indent and annotate and all that except for small little bits of code.
for (i = 0; i < 4; i += 1) { if (runecount >= i) { draw_sprite_ext(SPrune_mjr_01, 0, x[i], y[i]........); } }if keyboard_check_pressed(vk_f11) { if display_get_width()=320 and display_get_height()=240 { display_set_size(global.screen_width,global.screen_height); window_set_fullscreen(false) } else { display_set_size(320,240); window_set_fullscreen(true) } } if keyboard_check_pressed(ord('R')) { if room=start room_restart(); else room_goto(start); }if (keyboard_check_pressed(vk_f11)) { if (display_get_width() == 320 and display_get_height() == 240) { display_set_size(global.screen_width, global.screen_height); window_set_fullscreen(false); } else { display_set_size(320, 240); window_set_fullscreen(true); } } if (keyboard_check_pressed(ord('R'))) { if (room == start) room_restart(); else room_goto(start); }Thanks Rob, I appreciate the help. I'll need to really teach myself to code better.
When you have "if if if" like that it's usually inefficient. 9 times out of 10 you want "if else if else if", "switch", "for" or "do".
Also, I would've cut it even shorter than Rob. You want the "runecount >= i" expression in the for statement, so if it fails you don't have to keep looping. i.e.j = min(runecount,3); for (i = 0; i <= j; i += 1) draw_sprite_ext(SPrune_mjr_01, 0, x[i], y[i]........);Listen to Rob, unlike me he actually knows what he's talking about
Oh yea that all makes sense. I think for the most part my code is readable and extendable.