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

#1
Hi everyone,
Im currently working on a project where I am displaying the player stats within a text box within a GUI.
The thing is when I test the game they all end with an underscore.

eg

Spaceship level   12 _       

I have got this code in my Global Script like so
Code: ags

 function repeatedly_execute_always()

ShipCurrLvl.Text = String.Format ("%d",Ship.lvl);


Is there a way of removing the underscore?
I think I might have to use labels instead, is this correct ?

Please and thank you. 
#2
Hi Guys and Gals,

I am trying to work out how to use RegionGetAtRoomXY properly.

currently I have made a test function like this (as it is written in the help file) within the rooms script.

Code: ags

function SeaRegionCheck()
  {
    if (Region.GetAtRoomXY(cBoat.x, cBoat.y) == region[0])
  {
  Display("The player is not currently standing on a region.");
  }
  }



And within the rooms script under repeatedly execute I have a simple

Code: ags

function room_repeatedly_execute()
{
  SeaRegionCheck();
}


When I test my "game", I move cBoat outside of region 1 no display is created. 

Question, can I use this within the room script or does it need to be specified within the Global Script.

*Note.. I have tried to change the cBoat.x and y  to player.x and y and this does nothing also.
*Further Note.. The function is created prior to the Repeatedly execute section.

Any help would my greatly appreciated.
:)
#3
Hello all, (my brain isn't at full speed yet as I haven't had my breakfast..  naughty me..)
I'm stuck trying to work out how to set the maximum value of a variable I have created.
Its probably so easy to do that this needs to be in a new section of the forums labelled Scripting For Power Newbs..   However I cant find an answer anywhere in the help file or in the forums.

Please help 

currently I have

Code: ags
 
int myint = 100 ; 


My guess is that it will be something like

Code: ags

int myint = 50 (max = 100(min = 0 )); 


How far off the mark am I?  I noticed that I cant set max and mins on global variables using the designated screen in the global variable menu.
(unless I overlooked it :-D)
#4
(( Insert reference shots here ))

It's the end of another eventful year with plenty of ups and downs, ins and outs and overs and unders.. it's that time where everyone decides where they will see in the new year and with whom. Will it be a quiet night in or will you be living it large and partying hard with..

THE AGS PARTY ANIMALS..

Design a human, animal or alien party goer and animate it if you can.

Rules.


  • no colour restrictions
  • sprite size must not exceed 400 x 400 pixels
  • the reveller in question cannot be an inanimate object
  • bonus points issued for animations by me

Entries will be taken until 12 noon 14th Jan GMT

Good luck all
#5
So I've been messing about with the buildings on this picture for a few hours and I cant seem to make my mind up on which is better or indeed correct.
The lighter or the darker buildings in the distance. 
what do you think folks?
Should I go in between the two colours maybe?

 
#6
THE TIME TRAVELLERS






For this sprite jam you must create a time traveller.. AND his/her/its method of transportation using the following constraints.

- The sprites must contain no more than 24 colours, 3D models are allowed, so long as the texture map contains no more than 24 colours.
- The sprite must be AGS Ready!
- BEWARE Think outside the box for this one as ANYONE SUBMITTING AN UNORIGINAL CHARACTER WILL LOSE HALF OF THEIR VOTES!!! 
I kid, I kid

Winners will receive one of the following trophies!


EXTRA CREDIT!!   Animate your entry for this trophy!
#7
So I have been practising a Kyrandia art style.
Apart from more trees, what would you say about this image??

#8
The Rumpus Room / real life situation help!!!!
Fri 20/05/2016 22:29:10
I'm drunk and standing at a bus stop  !! There is 10 minutes until bus   ... What should I do
#9
Critics' Lounge / My little beach
Thu 05/05/2016 00:20:33
I've been doing some practice lately and I want some opinions on my shading and colour use.
Am I doing too much in terms of dithering  ??
#10
Just wondered if anyone has seen this before. A friend of mine came across it and I thought I'd pass it on to you guys :-D
Online MIDI Sequencer
currently you can use it to create simple midi tracks and export them. 
you don't even need a keyboard... 
#11
Hey everyone..

Are you bored??? Why not pass the time with ...
AGS Rock, Paper, Scissors

Any feedback would be greatly appreciated :)

No Screenshots but you will see why lol

*Debug Removed
#12
Hey

I'm trying to build a Rock, Paper, Scissors game with AGS however I have come across a problem while trying to set the string for my " computerPlayer "   can someone take a look at this and see what I'm doing wrong.

I am trying to set a selection based on the outcome of Random   you might see what I mean here


Code: AGS
computerChoice = Random(2);

if ( computerChoice == 0) {
computerChoice = "paper";}
else if ( computerChoice == 1) {
computerChoice = "rock";}
else {
computerChoice = "scissors";}


}


I also have a Global variable for computerChoice set as an int
Thanks in advance
#13
SinSin here, part time forum lurker full time procastinator.

Today I was sat at my desk with that question
"How the heck do I learn AGS scripting without going back to college"
and so I set about typing into google things such as " What language should I learn to create asteroids?" also using that ever so popular phrase "FREE"

Immediatly I came across the site www.codecademy.com and as a noob to scripting (yes I have been lurking since 2005 ) I though hey its worth a shot.

This website sets about the task of teaching you how to write in languages including HTML, Java,Python and PHP and continues into teaching you how to build API's.

So far I have started doing the JavaScripts course and have successfully finished its first chapter (and earned a few badges too).
I was wondering if anyone else has come across this little site and even if you haven't would you say that it is a beneficial website for users of AGS??

I understand that AGS has its own syntax but even for me (again a noob who has only ever built GUI's again and again) its plain to see that its all the same stuff ...ish

What say you??
#14
Ok so I am somewhat a bit of a lurker when it comes down to AGS. I'm constantly dabbling with bits and pieces and coming up with nothing ((apart from a demo I did a few years back)

I know I can make a game but every time I sit down to create something I find myself procastinating and scribbling on GIMP or GrafxGale and nothing ever comes out of it (albeit some interesting ideas)
I feel like if I work in a team I will not behave correctly or focus at the job in hand.
but if I work alone I will have a better idea of the scale of the job at hand. also if I compete in a mags game I will constantly tell myself that everything I'm doing is crap and concede defeat..

So set me something to do..  give me a character to design, a medial task ..or plot, and a genre.
example
    Character    Guybrush Threepwood Pirate wannabe
    Task         Get water from well
    Genre        Horror

But not a known character please

#15
What do you think peeps ??
Click here!!
#16
Critics' Lounge / Logo design for my website
Fri 24/08/2012 18:20:34
Yes its a little cheesy but what the hey.
I've been playing with this idea for my logo for the best part of the day. I'll be the first to admit that I'm not the greatest graphic artist but does this look clear enough to you peeps.  I have just thrown myself into GIMP 2.8 and am getting to know all its functions.
anyway the Company name is SinSinStudio (as you might have gathered) I really haven't given myself a brief at all here but I'm aiming for very simple yet slightly eerie looking.
[imgzoom]http://skoddeheim_sinsin@sinsinstudio.agser.me/sinlogo1.png[/imgzoom]
#17
General Discussion / Sky broadband issues
Mon 14/05/2012 10:02:38
Anyone from the UK got Sky broadband with a Sagem router ? if so have you had problems with low connection speeds
Im supposed to have " up to 20 mb connection" but im only gettin 5mb and thats an improvement from the 0.8 I was gettin yesterday

They say they are sending an engineer round but I could be charged £150 if the problem is found to be anything other than thier products

Squeaky bum time!!
#18
General Discussion / AGS Kart
Sun 22/04/2012 21:33:22
So I've been wondering if we can achieve a kart racing game with AGS?
This topic was raised in 2006 so I wondering have there been any substantial developments which would make this possible?   
I was thinking      ===> SNES Mario kart <===      styling with inportable players.

Come on whizz kids is it do-able ? 
#19
So I'v been on the AGS forums now for a while (5 years give or take ) and I have still yet to make something half decent,
The problem is writing an original game, I was wondering if anyone else has been through this stage.
See Im a bit of a what I like to call "Lone Gamer" wanting to make a game by myself all the coding, art, music and puzzles but i never seem to be able to get past the initial first few days without being completely defeatist and rubbishing all my ideas, yet after all this time I still sit at my laptop threatening to create a masterpiece.
Things like Facebook and youtube tend to throw me clean off the scent of creativity.
Why cant I focus? why do I hate my own work?
God this feels like therapy now.

Still has anyone got tips on getting on with it ...   or do I actually need a shrink   
#20
Can anyone think of anything to improve this image or is it enough , Its for the initial sequence of my game and will be on show for about 5 seconds, so i dont think i should go too deep with it
SMF spam blocked by CleanTalk