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

#1
Thank you Scorpiorus you're my hero!  :D :D I'll list you in my credits!!
#2
Okay so after a few more days of struggling, this is what the code looks like now, I'm really lost!! Same problem as mentioned before. Cannot drag pieces anymore... help would be appreciated  8)

 // script for room: Repeatedly execute
int correct = 1;

int i = 1; correct = 1;
while (i < 15) {
correct=correct*(GetHotspotAt(GetObjectX(i), GetObjectY(i))==i);
Display("object number %d (correct=%d)", i, correct); //debug
i++;
}


if (correct == 1) {
Display("Puzzle has just been solved!");
// ...
}  
int button_pressed=0, ob=-1;

if (IsButtonDown(LEFT)) {
if (button_pressed==0) {
button_pressed = 1;
ob = GetObjectAt(mouse.x, mouse.y);
}
} else {
button_pressed=0;
if (ob!=-1) {
SetObjectBaseline(ob, 0);
ob=-1;
}
}


if (ob != -1) {
int width = GetGameParameter(GP_SPRITEWIDTH, GetObjectGraphic(ob), 0, 0);
int height = GetGameParameter(GP_SPRITEHEIGHT, GetObjectGraphic(ob), 0, 0);
SetObjectBaseline(ob, game.room_height);
SetObjectPosition(ob, mouse.x-width/2, mouse.y+height/2);
}

#3
Thanks for the help so far,

unfortunately when combining the two scripts in the room script, it doesn't quite work. The first script Scorpiorus gave me works fine for dragging the objects around but when I add the second part which defines which part is over the correct hotspot, I lose the dragging functionality... if needed, I'll include what the script looks like so far, I've been battling for weeks now  :-X  :( :( :(
#4
Thank you!!  ;D the click and drag works perfectly, now just one more question : How do I define a hotspot so that if the right object is dragged onto the right hotspot, the object stays there?
#5
Hey everyone

Just wondering how to make a vox that only contains speech files and not sound effects too? I'm thinking of including an optional, downloadable speech pack for my game, but if you use sound files, it gets compiled into one .vox file which contains both sound fx and speech.  ???
#6
I'm aiming for March 2004 at the very latest...  :)

Rain of Blood
#7
Quote from: superfetus on Sat 29/11/2003 00:31:56
From what I played, the game seemed fun. Some cons: The walk animation was too slow and the music was repetitive. There were some things that seemed a little buggy (I picked up the remote twice). Other than that, it shows promise. I'll be excited to see the finished product.

Thanks for checkin it out, I'll make sure to fix the bugs you mentioned, I'm going to replace the player character animations anyway, it's just a placeholder until I can come up with something better  ;)  8)
#8
Well it's quite large but I wouldn't say it's gigantic...  ???
#10
Thank you! Could you perhaps tell me what the right code would be for having the object move along with the mouse as long as the button is pressed? I've been through so many tutorials and forums but I cannot see what the right code would be for the object to move along with the mouse...  ???
#11
Hey everyone, I'm not sure if this belongs here, but here goes

in my game I have a puzzle where you need to piece together a letter that was torn into several pieces. I started out by making a room with a layout of the completed letter, and then added the torn pieces as objects.

I tried different ways of getting the pieces to move, firstly by scripting it that when the player clicks on a certain piece, the object is turned off and mouse cursor then looks like the object the player clicked on. Then the player has to click on the correct hotspot to move the object into place, and the cursor returns to normal.

Originally what I wanted was the ability to click on an object and move it while holding the mouse button down, eventually having moved all 15 of the pieces into the correct places, the player should have an assembled letter, which would then be added into their inventory.

Can someone help me with scripting this or give me an idea what to do, I have no programming background and can only do basic scripting...
#12
Ok I know I should really do this, but I do have a demo version of my game available and I'm dying for some feedback... it ends very soon after day 2 starts so please keep that in mind. And the player character is a work in progress - it's just a placeholder right now. Rain of Blood v1.2 Demo

It's a 30Mb download so you'll need a fast connection.

Check it out and let me know what you think!!

Once again I state that it is a work in progress, has a couple of bugs and is far from complete but I'm dying for feedback!!  ;D
#13
Here's some new screenshots - I've even been able to make rain possible within the game, as well as night time locations of the same places that were visited during the day...

I used a model from Jedi Knight as a place holder for the player character in all the screen shots - I just took screenshots of a walking animation from all the different angles and imported them, but that's not what the final Player Char is going to look like.





#14
lol! No it's not me, but you will enjoy "interacting" with the dude... I used a pic of Sean Paul for the character.  :D
#15
Hey everyone

I've been working on an Adventure Game this week and have done enough to complete a demo... I'm pretty excited about it, I have a good storyline, etc. I'll upload the demo to a website when I get back to work, it's quite hefty so far at 21MB, but it's not even nearly complete, there is still a LOT of work to be done.

It uses a lot of still photos and I use real photos for backgrounds and inventory objects etc, some of them are modified a little - my aim was mainly to create a detective game in the spirit of the Tex Murphy games by access software - but it is not a clone thereof. My cutscenes are mainly inspired by the comic booky type panels one would see in Max Payne, since I don't have the resourses to do full blown animation and cannot really include FMV movies.  It takes place in today's times and does not feature mutants, etc. I took more of a Sierra \ Lucasarts approach in terms of exploration and inventory - you see your character onscreen in 3rd person when travelling and walking around, but mainly talk to characters in 1st person.

I've even taken some screenshots for your viewing pleasure...











And here is a general description of what it is about  :P

Take on the role of hardened P.I. , Johnny Danger in a mystery that starts out as a routine missing persons case, but turns out to be much bigger and much more dangerous than expected.

Rain of Blood is an action \ comedy \ thriller story with lots of exploration, character interaction and puzzle solving elements in the vein of the adventure games by Sierra, Access Software and Lucasarts entertainment.

Travel to many locations, interview many witnesses and suspects, and solve multiple cases and mysteries that tie in with the overall plot of the game.

Featuring original music, sounds and graphics to immerse the player in the dangerous world of P.I. Johnny Danger.
8)
SMF spam blocked by CleanTalk