Game
Tide
10 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

Where do these posts get views from?

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

Chiaki Nanami!

Runestones: from concept to in-game model🗿

Quantum precognition is one of the most powerful cards. End game cards & equipment. Demo/alpha build boss is no match for this deck.

Heya! I wanted to show some gameplay progress i made so far. I hope you like it ^^

Back in my art school days I used to ride the 710 COPSA line from Parque Del Plata to Montevideo almost everyday. This is the Marcopolo Viaggio G4 Mercedes Benz model from the late 80s, one of the older bus models that was running on the line.

Hi everyone! I started to create some environment props for my new video game, here is a cozy house in the forest. I'm planning to switch from Unity to Unreal... Let's see what new challenges I have to face. Made in Blender and Substance Painter.

Call it 'wrong turn'!🚫 The feeling of running into a house with only one exit🚪, and being doomed to die. #pixelart #pixelartist #pixelartwork #art #pixel #indiegame #IndieGameDev #indieartist

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?