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

#81

:'( :o :'( :o
Me very stupid.
First loop down, not up (bang head bang head)
Now made loop up and everything runs fine. Sorry for your time, me not worthy :-(

Yet :-) that it is solved.

martijn


#82
To be precise:
When on entering the room I call:

Code: ags

  // script for Room: Player enters room (before fadein)
  PlayAmbientSound(1, 4, 100, 0, 0);
  
  character[FF11].x = 160;
  character[FF11].y = 227;


  if (GetGlobalInt(50)==2) { //ff
 
		 }
  if (GetGlobalInt(50)==1) {  //aa
        character[FF11].FaceLocation(160, -1000);
        ChangeCharacterView(FF11, 45);
 
		 }


and then:
Code: ags

 // script for Room: Player enters room (after fadein)
  if (GetGlobalInt(50)==2) { //ff
        character[EGO].loop=0;
        character[FF11].Walk(160, 100 ,eBlock,eWalkableAreas);
				Display("StartMiniGame");  
		 }


strange huh?
#83
Rick,

I imported the module version102. Still I cannot start the game.
I get an introsequence, after that the display: "Press enter to start the game. " But pressing enter does not result in any game starting.
Nothing happens...

any suggestions?
#84
hehe, neither do I.
The caterpillar move straight up.
I'll look into it again in thew weekend and get back with a precise observation.
Thanks for thinking along.

Martijn
#85
Quote
it moves straight up, to the top of the screen, therefore I would expect the engine to use the first view

You're right, I meant first loop of the view.
i change view when the vehicle takes different "outfits", like one headlight, two headlights etc.
#86
it moves straight up, to the top of the screen, therefore I would expect the engine to use the first view
#87
yeah, indeed evrything else runs.
The commented-out-lines are on purpose. I have been trying quite a bit lately ;-)

I'll get back at this later...

Martijn
#88
I hvae a caterpillarvehicle, with many views (one headlight lit, two heqadlights lit, on headlight dimmed, the other bright etc. etc.etc.)
I made a charater for this vehicle, and called it FF11. It has three loops: straight, right and left.

Depending of a GI (nr 50) I set the view of this vehicle called FF11.
Now the right views won't show, no matter what I try.

Any suggestions??

Code: ags

// script for Room: Player enters room (after fadein)
....
Ã,  if (GetGlobalInt(50)==1) {Ã,  //aa
Ã,  Ã,  Ã,  Ã, // ChangeCharacterView(FF11, 45);
Ã,  Ã,  Ã,  Ã,  character[EGO].loop=0;
Ã,  Ã,  Ã,  Ã,  character[FF11].Walk(160, 100,eBlock);
Ã,  Ã,  Ã,  Ã, Display("Here will start the MiniGame");Ã,  

// script for Room: Player enters room (before fadein)

Ã,  if (GetGlobalInt(50)==1) {Ã,  //aa
Ã,  Ã,  Ã,  Ã,  character[FF11].FaceLocation(160, -1000);
Ã,  Ã,  Ã,  Ã,  ChangeCharacterView(FF11, 45);



#89
Rick,

I am not sure that I have understood all discussions on this topic. Is there a workaround now for this MiniGame problem, that I can implement?

Regards, Martijn
#90
Is it due to the restartgame(); problem, mentioned by largopredator elsewhere in this forum?
#91
Quote from: RickJ on Thu 02/02/2006 14:19:39
What vesion of AGS are you using?Ã,  The links I gave you only work with AGS 2.70.Ã,  I will have a new version of everything in a couple of days that works with V2.72.

Rick, thanks for answering. I use AGS 2.71.
The reason i am eager to adjust this version is that I already impoterd many sprites, changed obejct and character interactions, and created  many new functions to work in the script.
I would love to make this "newly adjusted old version" work with AGS27.1.

If it is not possible, I'll have to look into the new code and redo the work,

martijn
#92
Hi Rick,

Nice to work with you again!

I downloaded the beta-versions, but the DQcycle game does not run.
I repaired the const string definitions, but I still cannot run the game.
I do not reahc the gamestate start.

Any suggestions?

Martijn

#93
Thanks for helping.
The errors are solved. Something seems to have gone wrong in the main code though. My version does not reach the GameState = START anymore.

Can I download the original code somewhere? The link mentioned above:
http://www.gaia-spa.com/project/demo/Archive/DQSLOT-S000-001.zip
is dead.

regards,
Martijn
#94
would that be in some dll or so?
(sorry, I start to know the ags scripting language reasonably well, but I still am not an expert on programming :-()
#95
Thanks. Is there a way I can update them myself?
If not, who could help me? Is Rick the great genious behind this?

Martijn
#96
I am sorry to tell that I cannot access the links to download the scripts.

I did so before but lately errors come up in the MiniGame.ISet function (see my previous post).

Martijn
#97
Modules, Plugins & Tools / MiniGame.iSet error
Wed 01/02/2006 13:52:31
I am using a slightly modified SlotMachine script.
Lately I cannot save anymore, because of an error:

Type Mismatch, cannot convert const string to string.

The code is:

   function GameQuit() {
//
// This function is called to terminate the game.
//-------------------------------------------------------------------
   // Mini Game quit Script
   MiniGame.iSet("Credits",GmCredits);         // so save data and ...
   MiniGame.iSet("HighScore",GmHighScore);   // so save data and ...
   MiniGame.Return(false);                     // return to main game 
}


GmCredit is defined as integer.

I cannot understand why this used to work fine before, and now this error.

Any suggestions?
#98
Thanks!
I thought that winsetup made important settings the first time it is run. I must have read that somewhere..
I'm glad it is not crucial.

martijn
#99
I must admint I did not try it yet. I am sorry.
I dare not hope for such a wonderfull feature.

Martijn
#100
General Discussion / Innosetup configuration?
Wed 01/02/2006 12:26:12
I am trying to make Innosetup work for distributing my learning game on electricity.

It work fairly well, but I am a bit confused what to do with winsetup.exe.

When users run the installation file they are presented with the winsetup.exe window, and have to make choices on items they are not familiar with.
is there a way to strat the game directly, without having to go through the winsetup.exe?

Can I automte the winsetup.exe step using Innosetup?

I hope mthere is an easy ansewer to these questions,

regards,
Martjn
SMF spam blocked by CleanTalk