So i'm thinking making a game like Master of Orion. but different. I want to learn how i would make some of this stuff. For instants i use the swing API when i want a button. However if you've played the game you'll noticed that putting a button on the map wont work. It also will push me to a bit but i think have a few ways to get around that.
Anyways i'm going to try to finish NC tonight. What i need to do is put a AI is plug in a AI; get the boss room to work; and add a character screen and add end battle scene.
Master of Orion is awesome. Well, MoO2 is the best.
ReplyDeleteIs there some way you can catch mouse clicks and say "Received a mouse click at 100,200 on the window"?
Just like you to note that i did reply. However i forgot to hit reply so it's in a new comment. Anyways i'm dead tired beyond my ability to spell like a normal human so i'm going to bed.
DeleteNeat idea... already thought about it and that's what i'm going to try to do.
ReplyDeleteSo what i'm thinking of doing is having a array with some type of object with 4 numbers. The numbers will be a box and when you click anywhere with in the box you will select the star or what ever object i decide to use.
The problem i see with this is 1 it doesn't sound efficient at all and 2 what if some one resizes the screen?
1 i think is possibly a pointless worry.
2 I can either set up some math code that figures out where the star's new location is. or just lock the screen so players can't change screen size after start up.
I'm tired, i'm really trying to be coherent and keep seeing grammatical errors; so with that in mind, i'm going to bed.
Also am I the only one that gets annoyed with civ game where you can only produce one type thing at a time? I mean really? If i was them i'd be pumping at least 2 ships with all the factories that are on the planet.