Charas-Project

  • Home
  • Help
  • Search
  • Calendar
  • Login
  • Register
*
Please login or register.

Login with username, password and session length
 

News:

New forum theme up and running!



  • Charas-Project »
  • Game Creation »
  • Requests »
  • request - coding help
« previous next »
  • Print
Pages: [1]

Author Topic: request - coding help  (Read 1539 times)

Offline Shadowless1

  • _
  • Acolyte
  • *
  • Posts: 495
request - coding help
« on: December 08, 2005, 03:38:40 PM »
hi nathan here i need help with some coding for a kind of mini-game in my game.
i have a looping bridge background contantly moving left and there will be obsticals like boxes, i need the box to move by itself but also at teh same time if it touches the hero/character in control revove one variable/life
please could someone help me wit this

thanks in advance.

(here is a screenshot of the scene)
Logged
<img src="http://i38.tinypic.com/1628lmr.gif">
<img src="http://i4.tinypic.com/25rctmo.gif"><img src="http://i2.tinypic.com/25rcu4y.png">
<img src="http://i5.tinypic.com/25rcuhx.jpg"><img src="http://i5.tinypic.com/25rcux3.gif">

Offline Shady Ultima

  • Rock Star
  • Exemplar
  • *
  • Posts: 1,277
(No subject)
« Reply #1 on: December 08, 2005, 07:27:51 PM »
I can probably help you with that, just hit me up on msn and give me a lil more info.
Logged
Circle of 13 - Demo coming soon. Keep up to date with the development
http://www.charas-project.net/forum/index.php?topic=26245.0

Offline Meiscool-2

  • Sage
  • *
  • Posts: 7,030
  • If you support n00bs, you support communism.
(No subject)
« Reply #2 on: December 08, 2005, 08:02:58 PM »
You need X and Y varibles for each and every box. You can do this one of two ways. So, if SU doesn't tell you, just ask me how it's done.
Logged
Most Recent:

________________________
Old Stuff:

Offline Shadowless1

  • _
  • Acolyte
  • *
  • Posts: 495
(No subject)
« Reply #3 on: December 09, 2005, 04:47:25 PM »
ok thanks please post yours Meiscool and send me your on msn ShadyUltima and ill see which is easiest

thanks in advance.
Logged
<img src="http://i38.tinypic.com/1628lmr.gif">
<img src="http://i4.tinypic.com/25rctmo.gif"><img src="http://i2.tinypic.com/25rcu4y.png">
<img src="http://i5.tinypic.com/25rcuhx.jpg"><img src="http://i5.tinypic.com/25rcux3.gif">

Offline Meiscool-2

  • Sage
  • *
  • Posts: 7,030
  • If you support n00bs, you support communism.
(No subject)
« Reply #4 on: December 09, 2005, 04:57:33 PM »
The easiest way is to make an event that moves the box, and make the box event be on touch. You can also do that is custom movement too.
Logged
Most Recent:

________________________
Old Stuff:

  • Print
Pages: [1]
« previous next »
  • Charas-Project »
  • Game Creation »
  • Requests »
  • request - coding help
 

  • SMF 2.0.10 | SMF © 2015, Simple Machines
  • XHTML
  • 2O11
  • RSS
  • WAP2
  • Simple Machines Forum