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

#181
lol thanks - i got it working ... which in a way sucks cus my buddy was helping me with this and he had to use probably like 50 lines of code that does the same thing ur 2 lines do. thanks man
#182
Quote from: Crimson Wizard on Fri 09/04/2010 00:13:30
I honestly can't guess what may be wrong in your code... anyway, that is the code I used in my own game a while ago (and it worked perfectly):

Code: ags

oWave1.X = oWave1.X + 1;
if (oWave1.X == 0) oWave1.X = -76;


NOTE: initial position of oWave was -2.
So, it go from -2 to 0, then to -76 and from -76 to 0 and then repeated last move forever.

just to make sure ... this code will move the object from one location (say: left side of screen) to another location (say: right side) and when it gets to second location it goes back to starting locations and repeats this process over and over again?
#183
like i said -I'm using 800x600 resolution and the object does move. what happens is (like i stated in the original post) the object moves but when it gets to the desired coordinates it does not take it back to the starting coordinates. It's like the code is reading the part where i tell the object to move but not the part where i say "when it gets here, take it back to where it started"

NOTE:

The code i posted originally is just how i thought it might could be coded ... but if theres another method of coding please let me know.  Again i'm going for i need objects to move from left to right continuously - in a looping manner, like on frogger.
#184
Quote from: Gilbet V7000a on Thu 08/04/2010 06:41:07
Yeah, put it in rep-exec[_always](). Also, you don't need to issue a Move() every game loop. Try this:
Code: ags

  if (oRock.X == 645) {
  oRock.SetPosition(5, 535);
}
  else if (oRock.x == 5){
    oRock.Move(645, 535, 2, eNoBlock, eAnywhere);
  }


Also, make sure that the object could indeed reach x-coordinate 645 considering the room's size and the game's res.

yes it can reach that coordiante - i'm using a 800x600 resolution. But i'm sorry to say that code did not work - and i put it in RepExec (i also corrected your second "x" to caps as it would crash with it lower case)
#185
Okay ... i need help. I've done everything i can to figure this out but nothing seems to be working.

I need to have objects that scroll horizontally in a straight line (from left to right).  Once the object reaches the right side i need it to reappear back on the left side and then scroll back to the right ... once it reaches the right side repeat ... over and over again. forever. think of it as obstacles in frogger if you will

I tried what i thought would be a simple process just doing something like:

Code: ags

  if (Object.GetAtScreenXY(645, 535) == oRock) {
  object[0].SetPosition(5, 535);
}
  else {
    object[0].Move(645, 535, 2, eNoBlock, eAnywhere);
  }


but it doesnt work - it's like the games not reading the "if" part. only the "else" part as the object moves across the screen but when it gets to the final coordinates (645,535) it doesn't return to the starting position (5, 535) like the script says to ... what's the issue? Btw, this code is put in my room code (after fade in)
#186
where exactly does that go into the scripting?
#187
Is it possible to change the color of the outline on a font?
#188
the guy leans to the front almost perfectly - but he never leans backwards ... i think maybe he should lean back a a little too - this would add to the wobblyness.
#189
I posted this in our Star Trek Adventures: Year One thread of AGS Games in Production but I thought i'd post it here to see what you guys thought of it ... comments appreciated.

#191
I like number one personally.
#192
Just wanted to let everyone see the latest progress updates:

#193
I enjoyed being involved in last months mags as the composer for Aeronuts ... and since christmas music is very fun for me i would be willing to help someone who needs a composer for this months competition.  Just PM me ... first come fist serve ...

good luck guys ... im excited to see these games.
#194
**Spot Reserved**
#195
Completed Game Announcements / Re: AeroNuts
Mon 30/11/2009 22:53:53
@ Ben304 and OneDollar

thank you guys for your  comments towards my music. I'm just happy abstauber asked me to compose for him.
#196
Quote from: Ben304 on Sat 28/11/2009 07:18:54
In response to PM:

- When I go for my first run of blocking ......  Setting pressure sensitivity to 'size' (as well as opacity when shading) gives pretty much all the brush ........


how do u do that?
#197
@Ben304

your link is broken. :/
#198
this is my latest attempt ... i still think it needs A LOT of work ...

#199
Quote from: Ben304 on Sat 28/11/2009 02:21:47
Pretty sure I linked you to these in a PM some time ago, Drew, but in case I didnt:

http://www.itchstudios.com/psg/main.php?id=ps55paint

http://www.itchstudios.com/psg/art_tut.htm

This has some good advice on using Photoshop to blend and stuff

And on the subject of speedpaintings, have a crappy one from me (I just remembered why I hate doing faces, too) :D

Ben304
those pages look kind of familiar so i think you may have linked me to them ... but that was when i was in iraq so i probably didnt get a lot of time to look at them ... now that im back home im trying to find more time to learn this stuff ...

i understand that this is a quick speed painting and still requires a lot of detail ... but if i could get to this point then i would be so happy ... lol good job ... thanks for resending me those pages - ill read ...

ANYONE ELSE ... if you have any suggestions im always open to hear them - every little bit of advice helps i suppose.

thanks.
#200
Quote from: Chicky on Fri 27/11/2009 22:28:49
Search for Photoshop speed paints on youtube, should help you with colouring a fair bit.

This is pretty awesome: http://www.youtube.com/watch?v=QjcHhjt6bYo

Edit: Your sketch is pretty good btw!

thanks for the link but im afraid a speed painting video isnt helping me very much ... i know enough about art to know how to paint ... its using photoshop to do it and how the tools work and all that and setting is mainly what gets me ... i dunno ... i just think i need a really detailed -something - to get me started so i think the speed painting is the opposite to what i need ... thanks anyway though.
SMF spam blocked by CleanTalk