Search found 1110 matches

by sheamkennedy
Fri Dec 19, 2014 3:25 pm
Forum: Game Discussion
Topic: How do I code a hero to face certain direction on keypress..
Replies: 3
Views: 854

How do I code a hero to face certain direction on keypress..

By default if my hero in the game is facing right and I click the left arrow she will move one tile left. Is there a way I can override this so that when I am facing right and click left the hero will first face left, then commence with walk? An example of this is in Pokemon Red/Blue when you tap a ...
by sheamkennedy
Fri Dec 19, 2014 2:21 pm
Forum: Game Discussion
Topic: Show off your graphics!
Replies: 1625
Views: 335949

@dantedynamite: Whoa! I really like this style. You seem to have a good idea of what you're doing graphics-wise. I especially like your heroes, they seem to have nice natural fluid looking poses.

I guess it comes down to what your game idea is about. Is there any basic story stuff you can share too?
by sheamkennedy
Thu Dec 18, 2014 10:09 pm
Forum: Game Discussion
Topic: How to realign NPC with tile grid after script completes?
Replies: 7
Views: 1136

Just tried it with 4 guards chasing me simultaneously and it works seamlessly. Thanks for idea sharing!
by sheamkennedy
Thu Dec 18, 2014 9:41 pm
Forum: Game Discussion
Topic: How to realign NPC with tile grid after script completes?
Replies: 7
Views: 1136

In the end I took TMC advice to only stop the guard while the it's x and y pixel is divisible by 20. My code is actually pretty short, it looks like this if anyone was interested: while ((npcpixelx(0)/20) && (npcpixely(0)/20&...
by sheamkennedy
Thu Dec 18, 2014 6:49 am
Forum: Game Discussion
Topic: How to realign NPC with tile grid after script completes?
Replies: 7
Views: 1136

That sounds like a pretty reasonable solution. I think I'll make that my project for tomorrow morning. Thanks.
by sheamkennedy
Thu Dec 18, 2014 6:23 am
Forum: Game Discussion
Topic: How to realign NPC with tile grid after script completes?
Replies: 7
Views: 1136

How to realign NPC with tile grid after script completes?

I have my line of sight script up and running which makes the guards chase my hero when they see him in their cone of vision. I have a timer running at the same time which tells the guards to essentially "get tired and stop pursuing the hero." The problem is that this timer can reach it's ...
by sheamkennedy
Thu Dec 18, 2014 3:25 am
Forum: Game Discussion
Topic: Problem using "continue" in script called within plotscript
Replies: 6
Views: 994

Alright good to know. I guess I don't program much outside of this language so I've never run in to this kind of thing before.
by sheamkennedy
Thu Dec 18, 2014 2:10 am
Forum: Game Discussion
Topic: Problem using "continue" in script called within plotscript
Replies: 6
Views: 994

I see. Well perhaps I may just have to combine it in to one big script because my second script has about 20 "continue" functions in series which raises the difficulty of solving it any of these ways. It's okay though, I've attempted to make one big plotscript and it works. Hopefully havin...
by sheamkennedy
Thu Dec 18, 2014 2:00 am
Forum: Game Discussion
Topic: Problem using "continue" in script called within plotscript
Replies: 6
Views: 994

Not quite, mine is a plotscript which calls upon a script like this:

Code: Select all

plotscript, first, begin 
  for(x, 0, 10) do,begin 
    second 
  end 
end 

script, second, begin 
  # do stuff 
  if(condition) then(continue) 
  # do more stuff 
end 

by sheamkennedy
Thu Dec 18, 2014 1:36 am
Forum: Game Discussion
Topic: Problem using "continue" in script called within plotscript
Replies: 6
Views: 994

Problem using "continue" in script called within p

So I have a plotscript which calls upon another script within it. Nothing wrong with that. The problem is that this script is called within a for loop of the plotscript, thus when I use the function "continue" within the script it's giving me the following error: "Continue used outsid...
by sheamkennedy
Wed Dec 17, 2014 2:05 am
Forum: Game Discussion
Topic: The 2014 In Review Contest Game Selection Thread
Replies: 10
Views: 2843

As the owner of Fart I will say that if you want a very simple/fast game to review then go ahead and review that one. The game literally only needs to be played for about 1 minute. It can be played for a longer period of time depending how entertained you are by fart noises...
by sheamkennedy
Tue Dec 16, 2014 8:44 pm
Forum: Game Discussion
Topic: Disposable Heroes
Replies: 11
Views: 1667

Oh, man that would be awesome! haha, having the poor thing drop oil and bolts all over the map till it breaks. I'm not sure I have anywhere to use a system like this at the moment,... but that doesn't mean I can't shoehorn it into a game somehow... hhmmm Yeah I guess it depends on what type of game...
by sheamkennedy
Tue Dec 16, 2014 8:34 pm
Forum: Game Discussion
Topic: Disposable Heroes
Replies: 11
Views: 1667

What would be really cool is if someone made said robot henchmen shop, then scripted in a step counter that makes the robot breakdown/run out of fuel after 1000 steps for instance. Thus instead of leaving your party the robot is simply abandoned. For some reason I was thinking about this all mornin...
by sheamkennedy
Tue Dec 16, 2014 3:38 pm
Forum: Game Discussion
Topic: Hype Up Your Game Thread
Replies: 1513
Views: 361399

I'm liking that white outline you use in your game. Is it intentionally there to make the character more visible when standing in the shadows of the buildings and such? Either way it's very unique.
by sheamkennedy
Mon Dec 15, 2014 9:23 pm
Forum: Game Discussion
Topic: Crash Bug in Nightly
Replies: 12
Views: 2296

YYYYYAAAAAAAAEEEEEHH!

But only after my last Final Exam which begins in 3 hours...