Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Anselme

#1
Hi everyone, I have finaly finished the demo version of my first game, and it can be downloaded for free, it represents about one quart of the game: https://anselme.itch.io/virus-monster-infection
#3
Hi everyone, I have finished my first video game: Virus Monster Infection. I have made a video to show how it looks in the game, I will put very soon a link to the trial version that I will put on github.

https://www.youtube.com/watch?v=3wgTe9RfPFc
#4
Yeah I understand, but when I say RTS I mean that the number of units that you can create will be limited to, let's say, 90 units in one campaign game or a 1vs1, and you cannot create them again, and thus they will be strong units, and the map will be only 8 times taller and larger than the screen size, so it will not be so huge like in age of empires. I know that there are better engines than AGS but I am not so good at coding everything from A to Z, so I prefer the mixing simple softwares like AGS, combining graphic interface and code.
So I give now some tricks for the people who would like to make at least "simple" RTS games in AGS:

Open a "BASS" type project
create a character and give him a view of an invisible sprite.png
Control the camera with keyboards:
global script.asc

44.function repeatedly_execute()
45.{
46.Game.Camera.SetAt(cChar181.x, cChar181.y);
47.  if (IsKeyPressed(eKeyW))
48.{
49.  cChar181.Move(cChar181.x, cChar181.y -10, eBlock, eAnywhere);
50.}
51.
52.  if (IsKeyPressed(eKeyS))
53.{
54.  cChar181.Move(cChar181.x, cChar181.y +10, eBlock, eAnywhere);
55.}
56.
57.  if (IsKeyPressed(eKeyA))
58.{
59.  cChar181.Move(cChar181.x -10, cChar181.y, eBlock, eAnywhere);
60.}
61.
62.  if (IsKeyPressed(eKeyD))
63.{
64.  cChar181.Move(cChar181.x +10, cChar181.y, eBlock, eAnywhere);
65.}
66.}

And to select and deselect a character, function anyclick on character and then -> cChar12.SetAsPlayer();

And for the life of your city center just make a GUI bar like I did in the video with the life bar, dont forget in the properties of the button to put: clickable = false; clip image = true, in order that when the life bar goes down or up, it actualizes itself on the screen. Make a lifebar for your main city center and one another for the enemy's city center.
Create a an invisible lifebar for every unit, use left click to move, use right click to attack, or build buildings.
Set a timer in order that every 3 or 4 minuts an enemy unit appears in the enemy's camp and comes to attack you, and draw a large region around the enemy's camp, and then in the events, when "walks on region", then the enymy units follow your units (cEnemy1.FollowCharacter(player));
With these bases anybody who knows AGS well can make RTS games with AGS.
#5
Thanks so much for the sources I will study it little by little, because I am focusing on making my game, I also downloaded the 3D project from EriOo about 3D maths in AGS, for now what I know is that I have enough knowledge to create adventure games, RPGs and RTS with AGS, I will take my time to study the multiplayer option and eventually 3D maths, like rotating the camera when the player moves on the sides, that's feasable.
Thank you so much!
#6
Yes of course no problem, here is a link to a website with the TCP-IP plugin, and also a lot of other plugins allowing snow or fire and rain effects, or lightning effects too in AGS: https://americangirlscouts.org/agsresources/plugins.html

If you have the knowledge of how to code at least a chat room in AGS that would be super great.
#7
Hi everybody, I am new on the forum, however I learned AGS since 2 months, and I have already made some videos to show how to make a life bar, how to shoot at an enemy, and how to allow 3D isometric in AGS with artificial intelligence.
Shooting test with life bar: https://www.youtube.com/watch?v=kK-BI_QBynI&t=1s
AI with 3D isometric: https://www.youtube.com/watch?v=cwznx4pXowA&t=1s

So in fact my new game "Virus Monster Infection" will be ready in a few days, and it will not be a multiplayer game. Somehow, for other games, I have already the TCP-IP plugin, but I have an important question, I mean, even if it just allows to talk in a chat room between 2 persons in their respective home, that's already enough, it's better than nothing to be able to do that.
So my question is: Once we have put the TCP-IP plugin in the AGS main folder, what code do we have exactly to write in the global script, and in a room please, that would be super useful for me. I am planning to create RTS games with AGS.
SMF spam blocked by CleanTalk