Topic:   Tides of Fáden (out of production)   (Read 56941 times)


0 Members and 1 Guest are viewing this topic.

WarHampster


  • GMG Extraordinaire

  • ***


  • Posts: 1501

  • The People's Moderator
    • Arcade of the Absurd
Re: Tides of Fáden (in production)
« Reply #105 on: January 03, 2009, 07:18:23 PM »
GM has a not equal to operator?

lucky :P

Silverwind


  • ^ This guy is amazing.

  • ****


  • Posts: 2805

  • For the glory of my maker
Re: Tides of Fáden (in production)
« Reply #106 on: January 04, 2009, 02:37:54 AM »
It's undocumented and can by typed <> or ><. I  prefer <>.
I survived the spammage of 2007

Silverwind


  • ^ This guy is amazing.

  • ****


  • Posts: 2805

  • For the glory of my maker
Re: Tides of Fáden (in production)
« Reply #107 on: January 04, 2009, 05:05:54 PM »
Here we are chaps, the true NPC spawn location randomizer:

Locate every non traversable tile on the grid and store their coordinates in an array:
Code: [Select]
      tilecheckXY = 0
 Â     freetiles$ = ""
 Â     freetiles = 0
 Â     REPEAT
 Â       tilecheckXY = tilecheckXY + 1
 Â       freetilecheck$ = MID$ gridlayout$ tilecheckXY 1
 Â       IF freetilecheck$ = "0" THEN
 Â         tilecheckXY$ = STR$ tilecheckXY
 Â         freetiles$ = freetiles$ + tilecheckXY$
 Â         freetiles$ = freetiles$ + ""
 Â         freetiles = freetiles + 1
 Â       END IF
 Â       IF tilecheckXY = 49 THEN EXIT REPEAT
 Â     END REPEAT

Pick a random tile to spawn an NPC on: (the "+ 1 line" prevents a glitch involving the WORD$ command when the first word in the string begins with a numeral)
Code: [Select]
      NPCspawnlocation = RANDOM freetiles
 Â     NPCspawnlocation = NPCspawnlocation + 1
 Â     NPCspawntile$ = WORD$ freetiles$ NPCspawnlocation
 Â     NPCspawntile = VAL NPCspawntile$

Calculate the NPC's grid coordinates via its spawn location:
Code: [Select]
      XYcalculator = 0
 Â     NPCgridX = 0
 Â     NPCgridY = 1
 Â     REPEAT
'     This line is to prevent the "repeat glitch" where the first line in a repeat block isn't executed.
 Â       XYcalculator = XYcalculator + 1
 Â       NPCgridX = NPCgridX + 1
 Â       IF NPCgridX = 8 THEN NPCgridY = NPCgridY + 1
 Â       IF NPCgridX = 8 THEN NPCgridX = 1
 Â       IF XYcalculator = NPCspawntile THEN EXIT REPEAT
 Â     END REPEAT

Calculate the NPC's sprite position via its grid coordinates:
Code: [Select]
      NPCspriteY = NPCgridY * 44
 Â     NPCspriteY = NPCspriteY - 39
 Â     NPCspriteX = NPCgridX * 44
 Â     NPCspriteX = NPCspriteX - 39
 Â     NPCmoveY = NPCgridY
 Â     NPCmoveX = NPCgridX
 Â     SHOWBUTTON 3 $enemyname$$ $enemyHP$
 Â     SPRITE 13 NPCspriteX NPCspriteY $NPCsprite$$
 Â     NPCalive = 1

I had to use me ol' noggin quite a bit as the syntax was unexpectedly hard to define. Still though, I'll never make a game without it now as the time it's gonna save is incredible. :)
« Last Edit: January 04, 2009, 05:10:20 PM by Silverwind »
I survived the spammage of 2007

Tireas Dragon


  • GMG Extraordinaire

  • ***


  • Posts: 1626

  • Trying to recover from my shattered screen.
Re: Tides of Fáden (in production)
« Reply #108 on: January 04, 2009, 11:18:37 PM »
Quote
It's undocumented and can by typed <> or ><. I  prefer <>.
I have used that on several occasions. There is also: =>,=< or >=,<= that is the equal to or more than and equal to or less than. It is VERY USEFUL with variables
I must be dreaming (wake up me wake up) How could this have happened. Tireas' cry when he found his computer fallen over in his chair with it's screen shattered.

Silverwind


  • ^ This guy is amazing.

  • ****


  • Posts: 2805

  • For the glory of my maker
Re: Tides of Fáden (in production)
« Reply #109 on: January 05, 2009, 02:24:41 AM »
Yeah, I still tend to stick with > and < due to habit, but I used => and =< a few times in QoM I think.
I survived the spammage of 2007

Silverwind


  • ^ This guy is amazing.

  • ****


  • Posts: 2805

  • For the glory of my maker
Re: Tides of Fáden (in production)
« Reply #110 on: January 07, 2009, 11:48:21 AM »
Seeing as how most of my enemy sprites are Goblinoids, I've decided to spend a few days enlarging my Monster sprite library instead of programming. I started on a Medusa yesterday which is almost finished, but I can't decide which build to make final:



Most of the people I've asked prefer the Right image, but personally I think the face of the Right one looks undead-ish. The Left one seems more serpentine to me. What do you guys think?
I survived the spammage of 2007

EqwanoX


  • Administrator

  • GMG Extraordinaire

  • *****


  • Posts: 1180
Re: Tides of Fáden (in production)
« Reply #111 on: January 07, 2009, 12:18:21 PM »
left

Teruri


  • GMG-er

  • **


  • Posts: 167

  • This personal text couldn\'t be worse
Re: Tides of Fáden (in production)
« Reply #112 on: January 07, 2009, 12:48:23 PM »
Yeah, the eyes on the right one are usefull for skeletons, but nor for medusa.
Max 500; characters remaining: 466

Al Staffieri


  • GMG-er

  • **

  • no avatar

  • Posts: 452

  • I love GameMaker
Re: Tides of Fáden (in production)
« Reply #113 on: January 07, 2009, 01:39:35 PM »
I like the left one better.

Silverwind


  • ^ This guy is amazing.

  • ****


  • Posts: 2805

  • For the glory of my maker
Re: Tides of Fáden (in production)
« Reply #114 on: January 07, 2009, 02:15:16 PM »
The Left image it is then. Thanks guys! :)

Next I'm gonna attempt a Minotaur.
I survived the spammage of 2007

Silverwind


  • ^ This guy is amazing.

  • ****


  • Posts: 2805

  • For the glory of my maker
Re: Tides of Fáden (in production)
« Reply #115 on: January 07, 2009, 05:09:23 PM »
I'm making pretty good progress, here's a few more sprites I did mostly today:



From top-left there's Water Devils, a revamped Drow, (truer to their official appearance) Gremlin, Naga, (possibly Maedar, but they're supposed to be extremely rare so meh, I don't know... perhaps he'll be a boss) Medusa, and last of all Skeletons.

Despite the laughably large heads on the skeletons I'm overjoyed with them, as I've always had trouble drawing skeletons. Now once I get a zombie variation or two I can make an undead dungeon, hurray!

EDIT:

Final edit of the Medusa:



The skin tone is more human.
« Last Edit: January 07, 2009, 05:30:35 PM by Silverwind »
I survived the spammage of 2007

WarHampster


  • GMG Extraordinaire

  • ***


  • Posts: 1501

  • The People's Moderator
    • Arcade of the Absurd
Re: Tides of Fáden (in production)
« Reply #116 on: January 07, 2009, 07:08:33 PM »
What do you make your sprites in again?
« Last Edit: January 07, 2009, 07:08:43 PM by WarHampster »

Silverwind


  • ^ This guy is amazing.

  • ****


  • Posts: 2805

  • For the glory of my maker
Re: Tides of Fáden (in production)
« Reply #117 on: January 08, 2009, 02:29:47 AM »
Any application with a pencil tool and a color palette, but when I'm on my own computer I use Appleworks because the lasso tool ignores white. :)
I survived the spammage of 2007

Silverwind


  • ^ This guy is amazing.

  • ****


  • Posts: 2805

  • For the glory of my maker
Re: Tides of Fáden (in production)
« Reply #118 on: January 09, 2009, 04:14:56 PM »
I returned to programming today. (couldn't keep away) I'm working on more ways to reference variables in order to make stat rearranging less time consuming, as I've noticed that I have a higher interest in the project when I do stuff like that.

I want to make the enemy tables (and a great deal more) editable from a single card in the same way that keydown and timer code now is. It's hard, but I feel I'll get much more done much more fast if I don't have to keep rewriting stuff whenever I change stat progressions and whatnot.
I survived the spammage of 2007

Tireas Dragon


  • GMG Extraordinaire

  • ***


  • Posts: 1626

  • Trying to recover from my shattered screen.
Re: Tides of Fáden (in production)
« Reply #119 on: January 10, 2009, 09:45:49 AM »
Quote
Any application with a pencil tool and a color palette, but when I'm on my own computer I use Appleworks because the lasso tool ignores white. :)
I love appleworks it is so useful. The main reason I like it is because of the lasso ignoring white.
P.S. I like your new sprites.
« Last Edit: January 10, 2009, 09:46:51 AM by Tireas_Dragon »
I must be dreaming (wake up me wake up) How could this have happened. Tireas' cry when he found his computer fallen over in his chair with it's screen shattered.