godotgarden / ant-game Goto Github PK
View Code? Open in Web Editor NEWExplore the ant world. Made with Godot.
License: MIT License
Explore the ant world. Made with Godot.
License: MIT License
Perhaps the world should start as a great unknown. As the ant explores, the world environment can open up to its senses. As a start, consider how to add a vision component to the game, where the world is unveiled as the ant walks around.
Right now, the game world is somewhat bland. Lets give the ant some nice scenery to explore by creating some modular game sprites, such as:
The ant should get hungry over time. It will need to find some food around the map. Add the following:
The following tutorial may help:
When the ant moves around, the pheremone trail sometimes moves to the left or right of the ant sprite. Try to get the pheremone trail to always start at the tail of the ant.
It seems that the ant may like to explore more than a single screen. So, it would be reasonable that a camera should follow the ant, otherwise the player may quickly get bored. Add a camera system to follow the ant around as it explores a larger world.
No day would be complete without the ant bumping into something. This could be a small stone, a mushroom, etc.. Add a couple of environment objects for the ant to bump into.
The pheromone trail currently 'evaporates' each node after a certain amount of time. It might be a nice touch if the nodes would 'fizzle' or 'float' up right before they disappear.
Lets give the ant some interesting terrain tiles to explore. Just basic tiles for now, so the ant feels at home.
There is probably some lifespan of a pheremone trail, i.e. it would evaporate over some time. Determine how long a pheremone trail segment should stick around, and how to make it evaporate.
OK, so the ant kind of just floats around right now. For all we know, it could be a petrified zombie ghost ant, mindlessly consuming green gobs of goo (food). Lets put some swing into the ant's steps with a basic movement animation!
Shh. What was that? It's oh so quiet...
Lets add a little bit of an ambience to the game world, perhaps with a location-based game sound or even some music!
The ant may need more ways to interact with its environment than walking around and eating. For example, it may want to
Consider how to create an action system and UI to allow players to choose actions for the ant in relation to the game environment.
Ants need to drink. Water. So, lets add a thirst component to the game.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.