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

Topics - Aviva

#1
I am trying to make my idle view animted. I used the following code:

Code: ags
  cEgo.SetIdleView(2, 0);


In the view itself it works perfectly when I click on "Animate", but when I run the game, the idle view is stuck on the first frame.
#2
I made theme music for the main menu of my game Drained. It's a distopian RPG about a young woman (20) that lives in a world that has run out of oil and where other resources are under a great threat of running out. She is the daughter of a high ranked government offical and has never seen anything else than the safety of the bunker they live in. As the government seizes the remaining resources from civilians, a war between the people and the government breaks out. The bunker gets overrun by rebels and the family of the protagonist has to flee. On their way to a safer location, they get attacked by another group. The protagonist is rendered unconciousness and is taken by the rebels. When she wakes up, she finds herself at an unknown location, here parents are nowhere to be seen and she has no clue how she got there. That is where the player starts the game.

My intention with this theme is to induce a feeling of fear and loneliness, as the protagonist will be wandering through a desolate world alone. The people she'll meet are scary to her and she needs to find a way to adapt to this world by overcoming her feelings. It's either getting by or going insane.

Concept Drained Main Theme - Soundcloud

All feedback is welcome.

#3
Hey people!

I am trying to organize my scripts and find Import/Export very useful functions to do this. However, since nesting is not allowed in AGS, I am a bit lost on how to import script without making them functions themselves.

This is what I have now to export code:

Code: ags
function variableChecker() {
  export variableChecker;


but because I have this function in that script:

Code: ags
function uiMainInventory_OnClick(GUIControl *control, MouseButton button)
{


AGS does not allow me to import it. How do you guys handle this and what are best practices when it comes to organizing scripts in AGS?

Thanks in advance :)
#4
Hey people!

I am looking for a way to use an inventory item on a GUI element. The goal is to make the user select an inventory object and use it as a weapon against enemies. Any ideas?

#5
Hey people!

I am trying to create a modular resource system to easily implement resources through seperate files. Is there a way to code an “include” function of sort so that the game will read stored data from the specified file. A bit like how you construct classes. Any ideas on how I can approach this?

Thanks in advance.
#6
Hey people!

I'm trying to use pure isometric movement for my characters. So I basically want to get rid of everything that is not moving diagonally. I tried the code below while disabling eModeWalkto, but that doesn't seem to work. Any ideas on how I can do this?

Thanks in advance.

Code: ags
  if (keycode == eKeyS && keycode == eKeyS && player.Moving) player.Loop = 4;
  if (keycode == eKeyW && keycode == eKeyD && player.Moving) player.Loop = 5;
  if (keycode == eKeyS && keycode == eKeyA && player.Moving) player.Loop = 6;
  if (keycode == eKeyW && keycode == eKeyA && player.Moving) player.Loop = 7;


#7
Critics' Lounge / World map art
Mon 10/07/2017 14:12:44


I am wondering what you guys think of the world map that I created for my game. Does is look okay? It's suppose to look medievalish and weathered. I am also still struggling with the color palette. Any tips for improvement?
SMF spam blocked by CleanTalk