Glen
Glen
Posts

128

Following

25

Followers

22

This user leads a boring life.

Joined on April 5, 2007, 3:31 PM Visited on May 27, 2019, 6:01 PM
Badges

Glen posted on May 03, 2016 at 7:12 PM

Is the 64D Minecraft Server still a thing?

I felt like playing Minecraft the other day and missed playing on the server. The link to it on the website shows a 404 error, so I assume it's not being hosted anymore. This makes me sad.

Glen posted on February 16, 2015 at 5:32 PM

PlayTech buys YoYo Games for £10m

"Game and multimedia software company Playtech said Monday it will acquire Yoyo Games Limited, developer of the popular cross-platform game dev tool GameMaker Studio."

"Playtech said it would buy Yoyo for $16.4 million, with a possible additional $5.25 million paid out."

Sources:

http://www.develop-online.net/opinions/playtech-buys-gamemaker-creator-yoyo-games-for-10m/0203202
http://www.gamasutra.com/view/news/236574/GameMaker_Studio_creator_acquired_for_164_million.php

Never heard of PlayTech. Does anyone see this being beneficial to Game Maker or not?

Glen posted on October 12, 2014 at 10:39 PM

A*Pathfinding with some extra features

So, I've been re-writing an old A*Pathfinding script from the gm6 days. I've converted it to GM:Studio and added some new features that it lacked in the past and that current available scripts don't have implemented.

Situation:

Object determines path and begins moving along the calculated path. What happens when suddenly an object moves into your path?

Two things usually happen in A* algorithms. The script may generate fixed paths that do not change until the object has reached it's destination or something collides with the object. Others might recalculate the best path immediately.

But, what if the object that crossed your path continues to move and is no longer on your original "shortest path"? There's no reason to continue along your adjusted path if it isn't the shortest path to your destination. In games, I don't feel like the AI should always know the best option in the event of an unexpected change. I've added a range of view to the ai. If the object detects a new change within the original path and is within it's "range" it can decide to make the best decision. The same goes for when the original change reverses. If the object is now moving away from the unexpected change and is still within it's range, it can decide to go back to the original path if that change no longer effects it's goal.

I also added terrain penalties and boosts. But, I decided not to consider them in the A* path process. Once again, I feel like the ai should not know everything about the playing field. And so the effects are applied as the object moves over them.

My main goal with the changes was to make the pathfinding object make decisions based on an experienced situation. Make choices based on what is happening in front of you, avoid being a "know it all", and reuse what has worked for you in the past. This is somewhat how humans act.

Here's an example of what I have so far. I color coded all the sprites.

white: walls
green: path
red: movable walls. use arrow keys.
aqua: player
yellow: target
blue: slow down terrain
pink: speed up terrain
orange: player decision range

The players object restarts it's position when it reaches it's goal. Use the red walls to block it's path and observe behavior.

Link: http://files.64digits.com/Glen/pathfinding.exe