Game
Tide
11 years ago

Java learning progress - NEW GAME!


I have made good progress with learning java and i am now creating a small text based game. i may or may not impliment a UI when the bulk of it is finished. if i do, i might upload it to gamejolt (it will likely be wordy, like current versions of tide are. probably less wordy than that. I might make some static images).

the game is heavily based of a text based game i made before tide (you could call it a remake). this game placed the player in controll of a small band of units, where you could search for food, look for a fight, recruit units, or move to another area. you could only take so many actions before you had to move on.

i made it on a holiday, when i forgot to bring medevil 2 total war along with me (stratergy game). i spent about 2 days on it and stayed up till midnight untill it was completed (i was also playing other games in between proramming and doing holiday stuff).

so far i have completed the following:

  1. A class that takes in a chance (20% , 42% etc) and outputs True or False.

  2. Using prementioned class, A class that takes in 2 numbers (army sizes) and outputs True of False (if the player won) and 2 numbers (remainder army sizes). basicly, its what runs the battles.

The battles work like the following (subject to change):

each unit in the players army gets chanced with 50% (will change with prehaps skill and/or gear). if True is returned, they kill an enemy unit. If false is returned, they are killed by the enemy.

once one army reaches 0, the winner is decided (the army with 0 units looses). each killed unit then gets a 25% chance to survive (they were injured and not killed). this means if your army looses, you don’t loose all your units.

because the program iterates over every unit and runs about 20 lines of code on each one, exsessively large battles will take some time to process. 1000 on both sides is perfectly fine, but 1000000 (1 million) takes a few seconds.

if anyone has any system that they think may work better, please comment.

if you have any ideas for this game, comment also.

if you think i should make a GUI whan it’s done and upload it to gamejot….. you know what to do by now.



0 comments

Loading...

Next up

Not tide related. Using maya and might put it into unity.

Where do these posts get views from?

Another house i made long time ago.

Have a good Boi

Finished a project I've been working on over the last few days!

Modeled and textured in Blender.

#3dart #lowpoly #npbr #fantasy #hut

Protege el conocimiento, salva la historia. Guardian of Lore es un platformer 2D en el que debes luchar para mantener viva la memoria de la mitología latinoamericana. El juego llegará a Steam el 18 de mayo: https://steam.pm/app/1211740 #ScreenshotSaturday

Updated the chest in the maze, adding sound, particles and better animation. But what's in the chest?

In the quest for accessibility, I'm adding Resurrection Shrines for players on the 'novice' end of the platforming spectrum.

In order to unlock the power of a Shrine, you must collect 3 'Souls' from your dead corpses! (the floating blue orbs)

Spaaaace~

These are background sprites I've created for a game I'm working on at school ^w^ Click on the post to see how the sprites connect. You won't regret it! (personally, I think it's pretty heheh)

Drawn in Piskel using my mouse. Whaddya think?

An infected room from the second part of Cybel ! Are you up for some cleansing?