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.


Topics - 小丑遊戲

Pages: [1]
1
Mods / primitive war(原始戰爭)
« on: 8 January 2022, 15:03:22 »
這是之前我做的一個MOD:原始人faction的修改
https://forum.megaglest.org/index.php?topic=10117.0
目前還是只有一個陣營,就是Nomada陣營
但是比起之前,除了將之前的單位重新製作外
還多出了許多單位和建築,(目前還沒有科技研發的設計)
就如下圖所示:

translate:
This is a MOD I made before: modification of the original person faction
https://forum.megaglest.org/index.php?topic=10117.0
There is still only one camp at the moment, the Nomada camp.
But compared to before, in addition to remaking the previous units
There are also many more units and buildings, (there is no design for technology research and development yet)
As shown in the figure below:

這個之後還會再繼續更新,而且會陸續做出共三種陣營

translate:
This will continue to be updated after this, and a total of three camps will be made one after another.

Download:
https://drive.google.com/file/d/1J7hKmVgSf5IJ2MA_te_7MUrccc-Qvx1e/view?usp=sharing





2
MegaGlest / megaglest source code question?Game Panel problem
« on: 21 August 2021, 17:35:26 »
Can I ask questions?
It’s about the Megaglest source code
I modified:
source>glest_game>global>metrics.cpp

void Metrics::reloadData(int resWidth, int resHeight) {

    minimapX= 128;
   minimapY= 10;
   minimapW= 128;
   minimapH= 128;

   displayX= 270;
   displayY= 10;
   displayW= 128;
   displayH= 482;   

source>glest_game>graphics>renderer.cpp

void Renderer::renderDisplay() {

      //   單位名字字串
      renderTextShadow3D(
         display->getTitle().c_str(),
         coreData.getDisplayFont3D(),
         display->getColor(),
         metrics.getDisplayX() + 40,
         metrics.getDisplayY() + metrics.getDisplayH() - 360);

      //   單位基本資訊文字字串
      renderTextShadow3D(
         display->getText().c_str(),
         coreData.getDisplayFont3D(),
         display->getColor(),
         metrics.getDisplayX() +128,
         metrics.getDisplayY() + metrics.getDisplayH() -360);

      //   單位指令資訊文字字串
      renderTextShadow3D(
         display->getInfoText().c_str(),
         coreData.getDisplayFont3D(),
         display->getColor(),
         metrics.getDisplayX()+512,
         metrics.getDisplayY() + Display::infoStringY);

      //   進度條
      if(display->getProgressBar() != -1) {
         renderProgressBar3D(
            display->getProgressBar(),
            metrics.getDisplayX(),
            metrics.getDisplayY() + metrics.getDisplayH()-50,
            coreData.getDisplayFontSmall3D(), 175);
      }
   }
   else {

      //   單位名字字串
      renderTextShadow3D(
         display->getTitle().c_str(),
         coreData.getDisplayFont3D(),
         display->getColor(),
         metrics.getDisplayX()+40,
         metrics.getDisplayY() + metrics.getDisplayH() - 360);

      //   單位基本資訊文字字串
      renderTextShadow3D(
         display->getText().c_str(),
         coreData.getDisplayFont3D(),
         display->getColor(),
         metrics.getDisplayX() +128,
         metrics.getDisplayY() + metrics.getDisplayH() -360);

      //   單位指令資訊文字字串
      renderTextShadow3D(
         display->getInfoText().c_str(),
         coreData.getDisplayFont3D(),
         display->getColor(),
         metrics.getDisplayX()+512,
         metrics.getDisplayY()+Display::infoStringY);

      //   進度條
      if(display->getProgressBar() != -1) {
         renderProgressBar3D(
            display->getProgressBar(),
            metrics.getDisplayX(),
            metrics.getDisplayY() + metrics.getDisplayH()-50,
            coreData.getDisplayFontSmall3D(), 175);
      }
   }

   //   單位圖標
   glEnable(GL_TEXTURE_2D);

   glColor3f(1.f, 1.f, 1.f);
   for(int i=0; i<Display::upCellCount; ++i){
      if(display->getUpImage(i)!=NULL){
         renderQuad(
            metrics.getDisplayX() + display->computeUpX(i),
            metrics.getDisplayY() + display->computeUpY(i)-360,
            display->getUpImageSize(), display->getUpImageSize(), display->getUpImage(i));
      }
   }

    //   單位指令圖標
   for(int i=0; i<Display::downCellCount; ++i){
      if(display->getDownImage(i)!=NULL){
         Vec3f c=display->getDownImageColor(i);
         glColor3f(c.x,c.y,c.z );

         //   dy = 10
         int x= metrics.getDisplayX()+display->computeDownX(i)+300;
         int y= metrics.getDisplayY()+display->computeDownY(i)-160;
         int size= Display::imageSize;

         //   向下選定位置
         if(display->getDownSelectedPos()==i){
            x-= 3;
            y-= 3;
            size+= 6;
         }

         renderQuad(x, y, size, size, display->getDownImage(i));
      }
   }

   //   單位指令圖標位置
   int downPos= display->getDownSelectedPos();
   if(downPos!=Display::invalidPos){
      const Texture2D *texture= display->getDownImage(downPos);
      if(texture!=NULL){
         int x= metrics.getDisplayX()+display->computeDownX(downPos)+303;
         int y= metrics.getDisplayY()+display->computeDownY(downPos)-163;
         int size= Display::imageSize+6;
         renderQuad(x, y, size, size, display->getDownImage(downPos));
      }
    }

The result is like the picture below
The location of the trigger option remains the same.
Which block of code should I start with?




3
MegaGlest / megaglest source code question?
« on: 7 August 2021, 09:43:49 »
問一個程序問題,那個遊戲中的小地圖,我想把它改到底部,要從minimap.cpp的哪個部分著手啊?
Ask a question about the program, the minimap in the game, I want to change it to the bottom, which part of minimap.cpp should I start with?


4
Mods / 原始人faction
« on: 15 June 2021, 11:41:31 »
這個MOD直接上一張圖來



裡面的單位有
原始人
狼牙棒兵種

主營帳
戰鬥營帳
牧場

引用以下非原創的音樂網址:
https://opengameart.org/content/crystal-cave-mysterious-ambience-seamless-loop

下載鏈結:
https://drive.google.com/file/d/1n5H7Jmhy13yYmPO5paZrDZQiq66TDMeK/view?usp=sharing


5
Off topic / Glest Story(格雷斯特故事)
« on: 16 August 2020, 14:33:44 »
original

Quote
寫這個故事啟發的由來
源自於看到這個開源遊戲
其開源的遊戲特性吸引了我
但是也有著的不足一面
就是沒有這遊戲所搭配的故事
更沒有遊戲的戰役
所以我就開始著手寫了這個故事的架構
讓這個遊戲能有更完整的世界觀
故事內容從第二頁開始看

注:
我來自台灣
所以我寫這篇故事的時
也只能用中文編寫
如果外國的網友真的想要了解故事裡面的內容
可能還要請你們用翻譯工具去理解
這點非常抱歉

Google translation

Quote
The origin of writing this story
From seeing this open source game
Its open source game features attracted me
But it also has a disadvantage
There is no story with this game
Battle without games
So I started writing the structure of this story by hand
Let this game have a more complete world view
The content of the story starts from the second page

Note:
I come from taiwan
So when I write this story
Can only be written in Chinese
If foreign netizens really want to understand the content of the story
I may also ask you to use translation tools to understand
Sorry for that

6
MegaGlest / How to compile GAE source code?
« on: 15 July 2019, 16:14:01 »

7
MegaGlest / Is there a latest update?
« on: 11 February 2019, 09:32:51 »
There is no latest version, it can be played in the windows10 system immediately after installation, and without any other installation and repair.

8
Bug reports / windows 10 MegaGlest 3.13.0 news news bug
« on: 10 February 2019, 16:21:11 »
https://www.youtube.com/watch?v=hMm6C3_Oof8

我用筆記型電腦玩的。
系統是windows10 1809版本
處理器是Intel(R) Core(TW) i5-6200U CPU @ 2.30GHz 2.40 GHz

I am playing with a laptop.
The system is windows10 1809 version
The processor is Intel(R) Core(TW) i5-6200U CPU @ 2.30GHz 2.40 GHz

9
Bug reports / MegaGlest 3.13.0 windows 10 BUG。
« on: 15 January 2019, 16:55:09 »
I used this version of Windows 10 to play this version. When entering the game screen, the mouse does not move. So you can't play it. Is there any way to solve it?

I am a Taiwanese player, because the latest version of MegaGlest can't play, so I am playing Glest's old game.

This is my live play channel:
https://www.youtube.com/channel/UCBRmtpP_OU3httBFYyyFfTw?view_as=subscriber

Pages: [1]
anything