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 - JpSoft

#161
I checked the help file and searched here, but i dont found nothing about, so i guess my doubt is to simple, but i cant figure how i can fix it.

On section On_Click y added that when right buttons is clicked then do nothing. (on_click function works perfect, even the wheel support)

But right click still work on GUI´s buttons  ??? How i can solve this? I found a thread about something like this but was 3 years ago and reading the code i assume that it was in a old version (i begin with 2.72)

Thanks for any help

Jp
#162
I just want add that the standard  game pause (set with PauseGame() and also when a pop-up GUI is called) do not work for everything you have in the global script, rep_exec function, so you need to clarify what you want to continue working or include all the function between the parameters = If (IsGamePaused = 0).

I dont know if this is a bug or not, but it could have a wrong results if you have important things in the rep_exec. When i found this detail i had a lot of hours copying-paste code  :(

Jp
#163
The uploaded file is only a pre-release of the game, just to get opinions. All ponits you mention are under review:

- Extensive help (optionally you can turn it off)

- Final map is real-based and BIGGER.

- Objetive is beat the CPU (taking its capital or all the world, depending the game mode.)

- The money cheat is only for testing purposes. Actually, i removed it and added a keys combination to get money (will be removed too for the final version.. or maybe not)

Thanks for the comments and feel free to add whatever else you want add. Soon a new review will be uploaded with more things finished.

Jp

EDIT Actually, im trying to balance the cost of the technologies since the actual cost is too expensive. I just played a +3 hour game against the CPU at top difficult level and i was unable to develop the first one... and i was unable to win  :( Probably i will reduce the costs.
#164
Quote from: Alarconte on Mon 19/05/2008 00:16:56
MMM, When I played I thougth that the Example map is so limited to understand the game withouth playing a lot of boring time Assaulting all the map to finally get in combat.

Any suggetsion? Maybe add more help? I guess you speak spanish so you understood the interactive help-GUI.

Quote from: Alarconte on Mon 19/05/2008 00:16:56
In any case, more than RTS, is militar administration wargame, in real time, but, name it RTS...I don't know.

Of course, is not an Adventure  ;)

Quote from: Alarconte on Mon 19/05/2008 00:16:56
In any case, with the things of the game I see, To be interesting maybe needs more interesting graphics.

We are working on it, adding alpha channels and improving  sprites and buttons. Also, the IA routines reached 4000 lines of code,so you can imagine that we improve it a lot.

Thanks really for the feedback.

Jp
#165
Quote from: Pumaman on Sun 18/05/2008 19:53:54
I think this actually looks reasonable (I still need to fix the non-alpha one) -- but the question is, is this sort of approach suitable for all you guys who use alpha channel GUIs, or would this be fixing one problem only to cause another?

I believe it will fix almost every situation, but of course the whised situation is actually that the programmer can manipulate the alpha channels in the script (as natimari explained)

I solved my GUI in the way natimari explained: i just added an empty alpha channel to all the images for the buttons, imported it "leave as is" and it worked well for me (since my buttons images do not need an alpha channel like natimari´s GUI)

Quote from: naltimari on Sun 18/05/2008 20:14:26
It looks very good to me!! Can't say that it won't cause any problems though... Maybe you should add a drop-down to the GUI panel, asking which method would be used for alpha-blending (backward compatible, additive, differential, etc).

Great idea. Or just add an alternative function called: Alpha_Channel_Method so it could be easily set in the script.

Jp

PS Thanks natimari for your suggestion.
#166
In my opinion the best way is the diferential one too.

Jp
#167
What i learned until now (fixing a trouble like this, you can read that in the begineers forums) is:

- If you do not assign an image to the buttons, the button will ALWAYS show solid; the same to sliders and text inside labels in a translucent GUI.

- When the game is runing in a colour depth less that 32 bits, any alpha channel will be show invisible; it could give terrible results for the GUI. (to fix this, i set GUI background color > 0, so it will be visible in a low colour depth systems, and translucent in 32 bit mode, avoiding you to include extra routines)

I will try the same you did and will let you now.

Jp
#168
I also thinked on that, but im pretty sure there must be another way to solve it.

Jp
#169
Since my computer dont support 32 bit colur (just 24 bits) alpha channels looks 100 transparent in a full screen mode (i tested it in 32 bit PCs and transparencys works great). It minds that a sub-routine must be added to change the sprite in case the colour depth is inadecuate to use solid ones. (i believe i remember something about a function to get the colur depth of the system, maybe Game.GetColourDepth or something)

Anyway, im still testing to get the wished effect im looking for (solid buttons in a translucent GUI)

Thanks for the reference.

Jp
#170
Quote from: Alarconte on Thu 15/05/2008 17:14:50
I have tryed to download the game but rapidshare give me three errors codes.

Fucking Cat crazy codes U_U

Can you change the host? I_I

Please, I want to test your game!!! xD

http://www.megaupload.com/?d=078NR167

This codes are easier...

Jp
#171
Yes, color and borders are set to 0. Also, the sprite was imported "leave as is" (i dont know if this is important, but i believe it is the correct way) The transparency of the GUI was not modified.

What i can´t understand is how the GUI control images looks translucents if they were imported as plain BMPs. Also, i save the image as a PNG without any filter (maybe the trouble is here???? there are too many posibilities to try all them)

NEW: Runing the game in full screen mode, the alpha channels are 100 %transparent  ??? ??? ??? but works fine when run in a window.

Jp (feeling frustrate with alpha-blended images)
#172
Trying to improve the overall appareance of the game interface, we decide to include translucent GUIs instead solid ones.

So, we create this image



You can check it, in case the error is in the image itself.

Then we put it as background image of the GUI, but the GUI controls also become translucents  ??? We tried with everything (since is the first time we work with alpha-channels) but there is no way to make the GUI translucent and the controls solid.

We create all the images with Photofiltre Studio. I posted this here since i believe is a script issue that could be solved (hopefully).

Thanks

Jp

PS If i posted this in the wrong place, just feel free to move it wherever it must be placed
#173
Some updated screenies:







Some job was done to improve the main backgorund appareance and still working on it. Now adding alpha blended sprites and GUIs (even with some troubles we are fixing now) A lot of sounds and music also added to create a better environment (almost all it ripped from comercial games  ::) until we change it) Adding flags to let the player choose different countries (Spain, Venezuela and USA until now; soon Germany, England, France and Canada)

We uploaded the Pre-release version if anyone want help with coments/sugerences. It is totally playable but with some limitations:

- There is no finish: We are updating the mode: Standard (just conquer the enemy capital) or Conquest (control every city in the game)
- You start with 900K of gold  ;D (good for beta testers)
- Level selection not working yet (AI plays at level 1)
- Is totally in spanish but there is no much you need understand (anyway, help GUI is fully functional)
- Only 3 flags to select
- Units are not animated yet (and some views still looks bad)
- Water units not included yet (its the next step)

You can download it here:

http://rapidshare.com/files/115053936/AGS_Wars.rar

Since we are adding a lot of things that were not projected at the begining of the game, the final release date will delay until end of this month (hopefully)

Jp

#174
Thanks, it works fine

Jp
#175
Any new about this project? I believe i could help with programing if necessary (delphi 7.0). Also, a CharMaker for AGames in 2D looks like nothing difficult to create with some time (i believe it could be easier than the walkcycle generator, and once you have the character you only need create the animations). Maybe the chars will looks the same style, but will be better than the one i can create  ;D

Jpsoft
#176
Quote from: GarageGothic on Mon 05/05/2008 00:59:29
This project might be of interest to you, if it gets completed.

Yes, it looks like what i have in mind.  ;D Thanks for the reference.

Jp
#177
Im trying to create a function to allow the NPC´s interact with room regions in the same way as the player character but i dont found an specific way so i just change the player character for any NPC is in the room and check if it is in any region.

Are there any other way? This solution slow down the game a lot  :(

jpsoft
#178
All the game engine works with this sentence:

in Rep_Exec:

second_loops++;
if (second_loops == 39) seconds++;

I fixed the trouble just adding this

if (iIsGamePaused == 0) second_loops++;

Thanks monkey for your colaboration. I were very stuck with this since i believed that the popup GUIs pauses ALL the game

Jp
#179
Adventure Related Talk & Chat / Easy BG desig
Sun 04/05/2008 21:18:57
I dont know if someone else post about this before...

What about create a program to create BG´s very easy. The program could load patterns and then the user just need add colour, textures and more stuff. Even it could have predefined objects (as chairs, doors, etc) so create BGs will be easy even for people like me  ::)

Something similar could be created to allow easy design 2D characters with good graphical quality.

Most parts i can imagine are very easy to program (in delphi) even qhen i dont have drawing skills to start, but for sure if this program exists much more people will be ready to create their own AG.

Jp
#180
Or you can edit the default font in the way that a unusefull char (®, for example) represent the char you want. Any font have around 20 chars that are almost never used and you can replace it.

Then, in the game you only need include ® in a place of the specified char.
For example, i replaced ® with ñ
Now, in the game editor, i must write

Display ("Los ca®ones de Navarone");

And the game will display "Los Cañones de Navarone";

(You can use SCI Studio to edit SCI fonts.)

Hope this helps

Jp
SMF spam blocked by CleanTalk