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

#161
(I know nothing about history of the Pharohs so this is a random guess.)

He is a she?
#162
Quote from: WiseFrog on Tue 04/05/2021 07:40:34
Now I just have to find how to do it not take so long to get to the new number and only take about 3 or 4 seconds for example

As KhrisMUC pointed out you can actually add or subtract more than 1 in each game loop, but you'll need to do additional checks (for example, if you add/subtract 5 each time and don't check the result, then say if at some instance realMoney = 8 and dispMoney = 7 then dispMoney will annonyingly fructuate between 7 and 12 indefinitely). The check would be easy. I just put out the simplest possible codes as a start:
Code: ags

int dispMoney, realMoney;

function repeatedly_execute_always()
{
  // ... (anything else you have in this function)

  if (dispMoney < realMoney)
  {
    dispMoney+=5;
    if (dispMoney > realMoney) dispMoney = realMoney;
  }
  else if (dispMoney > realMoney)
  {
    dispMoney-=5;
    if (dispMoney < realMoney) dispMoney = realMoney;
  }  
  lblMoney.Text = String.Format("%d", dispMoney);
}

#163
Use another variable to be displayed in the label.
This is just an rough idea and could be silly looking but could be a start so that more elegant solution can be implemented in the future:

Say, you use the variable realmonie for the actual amount of money the player is holding, and dispmonie another variable for use in the label. Initially set dispmonie to the same value as realmonie.
When you need to give money to the player/use money just update realmonie directly.
In repeatedly_execute_always() of the global script add the following lines:
Code: ags

if (dispmonie < realmonie) dispmonie++;
else if (dispmonie > realmonie) dispmonie--;
#164
Hehe. Great entry, though seeing him wear long trousers somewhat ruined the suspension. Works more creepily even better if he wears shorts.
#165
One requirement is, though:
Quote from: Misj' on Wed 14/04/2021 21:47:55
1. draw your very own two characters of a fictional buddy cop movie game.
It appeared to me that the characters were just photoshopped with errr... photos, so they don't fit the rules anyway.
If the characters were really drawn , sorry for being skeptical.

There used to be an activity here that involved photoshopping, and was once really popular too. Unfortunately it has seen fallen to obscurity.
#166
They used high pressure water guns/cannons/faucets to fend off their enemies?
#167
ZOrder doesn't exist for DynamicSprites, but that's because you need to assign the sprite to an entity such as an object, a character, an overlay or even an element of a GUI, where the sprite's order follows that entity.

So, you may try to make a GUI of high order with a single sprite on it, which could be changed in game to whatever dynamic sprite you're like to display and cover up the other GUIs.
#168
AFAIK, the keyword 'function' is the same as 'int', so the returned value can only be int.
I'm not sure whether String can be used as return type, but try 'String GetString()' instead. and see whether it works.
#169
Quote from: milkanannan on Sun 04/04/2021 05:25:29
DUTCH RUDDER
Repurposing the windmills into giant throwing stars, destroy one whole troop in its way in each throw? Their use of clean energy angered nuclear powered Godzilla, making him throw these stuff around.
Spoiler
It's questionable to have throwing stars when Godzilla is already around though.  :grin:
[close]
#170
Yes probably. Maybe some of the global mods too. At least I don't have this option.

For the Game Maker: Studio part, note the colon there? I guess it meant the game was made with a game maker called Studio. Maybe the name Adventure Game Studio somehow (mis)led someone to think it's an adventure game maker called Studio?
#171
Stranga had made a game used AGS, but he had just added four new games on 24th March.
For Ashina I didn't see what engine was used in the itch.io page but I take your word for it but arjon just confirmed it's made with AGS.
For My Sister it's stated in the game's itch.io page that it was indeed made with AGS.
For the remaining two, I don't know.

Turned out I can disable individual games (probably all moderators can do this too) and I have disabled Ashina (which turned out to be a mistake now). I'll ask to restore it.
#172
Can you give some examples of these possible offenders?
#173
The Rumpus Room / Re: What grinds my gears!
Thu 01/04/2021 02:25:37
Regarding Superman not necessarily equates to bad stories, I think this is a good read.
#174
The Rumpus Room / Re: Name the Game
Wed 31/03/2021 08:43:39
Well... I just cheated and looked at the release list of gameboy games and searched for "SNK".
Turned out they only published one game on that system(according to that list) and that's it, so I'll skip this.
#175
Usual practice in game design is NOT to use the graphics representation as what's present in specific location of the game field. Just track whatever you place on the grid with a data structure, e.g. an array (too bad I think AGS doesn't support 2D arrays yet so you need to simulate them).

Edit:
I think this very old thread is still relevant here.
#176
Are you sure the function is properly linked to the "Any click on hotspot" event in the interaction (the 'lightning' icon) tab of the Hotspot's properties?
#177
The Rumpus Room / Re: Guess the TV show
Mon 15/03/2021 03:09:31
It's so obvious that I intended to pass on that.
The title I posted was already the real name the show's called here though (it's what we got in Chinese, in English it still went by its original name).
#178
The Rumpus Room / Re: Guess the TV show
Mon 15/03/2021 01:57:51
The F-Files.  :grin:

Spoiler
Yeah, that's too easy. Also, The F-Files is the actual translated name used here (I think the reason is obvious...).
[close]
#179
The Rumpus Room / Re: Exciting exotic animals
Sat 13/03/2021 05:15:18
It's a piranha evolved after eating people!
#180
It's awesome when you use this guy's paintings as cover art of games (no, not Darkseed).
SMF spam blocked by CleanTalk